From a99a56ba1c73a68cb21a407f796bdf1a44312a14 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Tue, 27 Apr 2021 15:09:33 +0800
Subject: [PATCH] xiala
---
client/.env.development | 4 +-
client/src/router/index.js | 7 +
.../src/views/qualityinspect/inspectItem.vue | 265 ++++++++++++++++++
.../src/views/qualityinspect/inspectTable.vue | 4 +-
client/src/views/qualityinspect/mytaskdo.vue | 21 +-
5 files changed, 287 insertions(+), 14 deletions(-)
create mode 100644 client/src/views/qualityinspect/inspectItem.vue
diff --git a/client/.env.development b/client/.env.development
index 571fd93..0800595 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -2,8 +2,8 @@
ENV = 'development'
# base api
-VUE_APP_BASE_API = 'http://10.0.11.127:8000/api'
-#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
+#VUE_APP_BASE_API = 'http://10.0.11.127:8000/api'
+VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
diff --git a/client/src/router/index.js b/client/src/router/index.js
index 50d17fc..cb85c48 100644
--- a/client/src/router/index.js
+++ b/client/src/router/index.js
@@ -159,6 +159,13 @@ export const asyncRoutes = [
meta: { title: '质量巡查', icon: 'inspect', perms: ['qualityinspect'] },
alwaysShow: true,
children: [
+
+ {
+ path: 'item',
+ name: 'InspectItem',
+ component: () => import('@/views/qualityinspect/inspectItem.vue'),
+ meta: { title: '检查项', perms: ['qualityinspect_view'] }
+ },
{
path: 'table',
name: 'InspectTable',
diff --git a/client/src/views/qualityinspect/inspectItem.vue b/client/src/views/qualityinspect/inspectItem.vue
new file mode 100644
index 0000000..968643b
--- /dev/null
+++ b/client/src/views/qualityinspect/inspectItem.vue
@@ -0,0 +1,265 @@
+
+