wy 11 месяцев назад
Родитель
Сommit
5214b4bb84
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      src/views/component/device/deviceDialog.vue

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

@@ -779,7 +779,7 @@ export default {
         stateList: {
             type: Object,
             default: function () {
-                return { '停用': '停用', '报废': '报废', '合格': '合格' }
+                return { '停用': '停用', '报废': '报废', '正常': '正常' }
             }
         }
     },
@@ -798,12 +798,12 @@ export default {
             filter: [{
                 descVal: '1',
                 includeSub: true,
-                old: 'position',
-                partyId: this.$store.getters.userInfo.employee.positions,
+                old: 'org',
+                partyId: this.$store.getters.userInfo.employee.org,
                 partyName: '',
                 scriptContent: '',
                 type: 'user',
-                userType: 'position'
+                userType: 'org'
             }],
             isFirstyiXiaoRiQi: true,
             isFirstbianZhiBuMen: true,
@@ -963,7 +963,7 @@ export default {
             handler (val, old) {
                 if (!old) return
                 if (val === '否') {
-                    this.form.sheBeiZhuangTa = '合格'
+                    this.form.sheBeiZhuangTa = '正常'
                 } else if (val === '是') {
                     this.form.caiGouHeTong = ''
                     this.form.sheBeiZhuangTa = '限用'
@@ -1267,7 +1267,7 @@ export default {
                 this.form.bianZhiShiJian = dayjs().format('YYYY-MM-DD HH:mm')
                 this.form.shiFouGuoShen = '已完成'
                 this.form.sheBeiLeiXing = '检验系统'
-                this.form.sheBeiZhuangTa = '合格'
+                this.form.sheBeiZhuangTa = '正常'
                 this.form.shiFouXiaoZhun = '是'
                 this.form.jianKongYiJu = '否'
                 this.form.shiFouWeiHu = '是'