diff --git a/public/index.html b/public/index.html index 80814b9..160a37f 100644 --- a/public/index.html +++ b/public/index.html @@ -221,4 +221,6 @@ + + diff --git a/src/components/Business/Dept/DeptInput.vue b/src/components/Business/Dept/DeptInput.vue index cef5bed..ac0f15f 100644 --- a/src/components/Business/Dept/DeptInput.vue +++ b/src/components/Business/Dept/DeptInput.vue @@ -73,6 +73,13 @@ export default { type: String, default: 'dialog', }, - } + }, + watch: { + value: { + handler(newVal) { + console.log('接收到新的value值:', newVal); + } + } + }, } diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 37682eb..55214fb 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -94,7 +94,6 @@ v-hasPermi="['system:dept:add']" >新增 - + @@ -241,7 +240,7 @@ export default { reset() { this.form = { deptId: undefined, - parentId: undefined, + parentId: 0, deptName: undefined, orderNum: 0, leader: undefined, diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 433d6fd..17028ba 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -2,7 +2,7 @@
- + - + - + @@ -396,7 +396,6 @@ export default { columns: [ {key: 'userId', visible: false, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'nickName', visible: true, label: '姓名', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, - {key: 'deptId', visible: true, label: '部门', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'userName', visible: true, label: '登录账号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'status', visible: true, label: '账号状态', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'remark', visible: true, label: '备注', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, diff --git a/vue.config.js b/vue.config.js index bb4faf7..126b8c9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -127,5 +127,10 @@ module.exports = { }) config.optimization.runtimeChunk('single') }) + + config.plugin('html').tap(args => { + args[0].version = new Date().getTime() + return args + }) } }