Ver código fonte

选择器增加过滤初始条件

luoaoxuan 1 ano atrás
pai
commit
03e19340e0

+ 1 - 1
src/views/component/device/deviceDialog.vue

@@ -739,7 +739,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/component/device/index.vue

@@ -370,7 +370,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/component/device/maintenanceStaticAll.vue

@@ -195,7 +195,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/component/formTemplate/index.vue

@@ -217,7 +217,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/component/shiftHandover/earlyHandover.vue

@@ -319,7 +319,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/platform/risk/riskV2.vue

@@ -278,7 +278,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/system/fasc/defaultSettingDialog.vue

@@ -225,7 +225,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/system/fasc/facilityEnvConfig.vue

@@ -289,7 +289,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',

+ 1 - 1
src/views/system/fasc/fecDialog.vue

@@ -243,7 +243,7 @@ export default {
                 descVal: '2',
                 includeSub: true,
                 old: 'position',
-                partyId: '',
+                partyId: this.$store.getters.userInfo.employee.positions,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',