-
-
-
-
-
-
-
-
- {{ $t('query') }}
-
-
- {{ $t('export') }}
-
-
-
-
-
-
-
-
-
-
- {{ `${scope.row.requestTime}ms` }}
-
-
-
-
- {{ $t('logOperation.status0') }}
- {{ $t('logOperation.status1') }}
-
-
-
-
-
-
-
-
+
diff --git a/src/views/modules/sys/menu-add-or-update.vue b/src/views/modules/sys/menu-add-or-update.vue
index 104b3b8..049e9fe 100644
--- a/src/views/modules/sys/menu-add-or-update.vue
+++ b/src/views/modules/sys/menu-add-or-update.vue
@@ -1,5 +1,4 @@
-
@@ -53,19 +52,20 @@
-
- {{ $t('cancel') }}
- {{ $t('confirm') }}
-
-
diff --git a/src/views/modules/sys/params-add-or-update.vue b/src/views/modules/sys/params-add-or-update.vue
index df61ea8..62310c4 100644
--- a/src/views/modules/sys/params-add-or-update.vue
+++ b/src/views/modules/sys/params-add-or-update.vue
@@ -1,5 +1,11 @@
+
-
@@ -11,18 +17,19 @@
-
- {{ $t('cancel') }}
- {{ $t('confirm') }}
-
-
diff --git a/src/views/modules/sys/role-add-or-update.vue b/src/views/modules/sys/role-add-or-update.vue
index 9e25109..8447774 100644
--- a/src/views/modules/sys/role-add-or-update.vue
+++ b/src/views/modules/sys/role-add-or-update.vue
@@ -1,5 +1,4 @@
-
@@ -34,18 +33,19 @@
-
- {{ $t('cancel') }}
- {{ $t('confirm') }}
-
-
diff --git a/src/views/modules/sys/user-add-or-update.vue b/src/views/modules/sys/user-add-or-update.vue
index b76c369..cd7d83b 100644
--- a/src/views/modules/sys/user-add-or-update.vue
+++ b/src/views/modules/sys/user-add-or-update.vue
@@ -1,6 +1,5 @@
-
-
+
@@ -37,19 +36,20 @@
-
- {{ $t('cancel') }}
- {{ $t('confirm') }}
-
-
diff --git a/src/views/spc-basic/components/unitList-add.vue b/src/views/spc-basic/components/unitList-add.vue
deleted file mode 100644
index 0cb51b2..0000000
--- a/src/views/spc-basic/components/unitList-add.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/spc-basic/query-form.vue b/src/views/spc-basic/query-form.vue
deleted file mode 100644
index 65c605f..0000000
--- a/src/views/spc-basic/query-form.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
-
- 新增
-
-
-
- 导出
-
-
-
-
-
-
-
diff --git a/src/views/spc-basic/unitList.vue b/src/views/spc-basic/unitList.vue
deleted file mode 100644
index f039ded..0000000
--- a/src/views/spc-basic/unitList.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{
- scope.row.type === 2 ? "不可计数" : "可计数"
- }}
-
-
-
-
- {{
- scope.row.status === 0 ? "不可用" : "可用"
- }}
-
-
-
-
-
-
-
-
-
-
- 确定要改变状态吗?
-
- 取消
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/vue.config.js b/vue.config.js
index 2c785d5..208151c 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,13 +1,20 @@
/**
* 配置参考: https://cli.vuejs.org/zh/config/
*/
+const path = require('path')
+function resolve(dir) {
+ return path.join(__dirname, dir)
+}
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
- chainWebpack: config => {
- const svgRule = config.module.rule('svg')
- svgRule.uses.clear()
- svgRule
+ chainWebpack: (config) => {
+ config.module.rule('svg').exclude.add(resolve('src/icons')).end()
+
+ config.module
+ .rule('icons')
.test(/\.svg$/)
+ .include.add(resolve('src/icons'))
+ .end()
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
},