From f8ef4a612205b6f5210d873a102b2248dfba4ead Mon Sep 17 00:00:00 2001 From: wk Date: 星期五, 09 八月 2024 13:48:03 +0800 Subject: [PATCH] feat:头像更改 --- pages/quality-inspection-page/salt-total-sampling/salt-total-sampling-form/salt-total-sampling-form.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/pages/quality-inspection-page/salt-total-sampling/salt-total-sampling-form/salt-total-sampling-form.vue b/pages/quality-inspection-page/salt-total-sampling/salt-total-sampling-form/salt-total-sampling-form.vue index 597277b..c29e91f 100644 --- a/pages/quality-inspection-page/salt-total-sampling/salt-total-sampling-form/salt-total-sampling-form.vue +++ b/pages/quality-inspection-page/salt-total-sampling/salt-total-sampling-form/salt-total-sampling-form.vue @@ -27,6 +27,7 @@ > <jp-select-plus :isLineFeed="false" + isLoading isSearch color="#497bfb" placeholder="璇烽�夋嫨" @@ -176,12 +177,12 @@ message: '璇峰~鍐欐壒鍙�', trigger: ['blur', 'change'] }], - // customerId:[{ - // type: 'string', - // required: true, - // message: '璇烽�夋嫨渚涘簲鍟�', - // trigger: ['blur', 'change'] - // }], + customerId:[{ + type: 'string', + required: true, + message: '璇烽�夋嫨渚涘簲鍟�', + trigger: ['blur', 'change'] + }], bunkerName:[{ type: 'string', required: true, @@ -210,7 +211,6 @@ this.$nextTick(() => { this.modelForm = Object.assign({},JSON.parse(opt.params)) console.log(this.modelForm,'鎺ユ敹鍒颁笂涓〉闈紶杩囨潵鐨勫弬鏁�===') - if(this.modelForm.samplingTime) { this.modelForm.samplingTime = dayjs(this.modelForm.samplingTime).format('YYYY-MM-DD HH:mm') } @@ -221,6 +221,8 @@ this.deptId = uni.getStorageSync('userInfo').deptIds this.getClaimCustomerList() this.$store.dispatch('getSamplingPerson') + + // console.log(getStatus('roleType'),'roleType-----') // console.log(getStatus('customerId'),'customerId-----') // console.log(getStatus('userInfo'),'userInfo-----') @@ -229,10 +231,10 @@ }, methods: { getClaimCustomerList() { //渚涘簲鍟嗗垪琛� type 绫诲瀷 0/澶栭儴 1/鍐呴儴(鍖栭獙鍗曠殑灞炰簬澶栭儴瀹㈡埛) personnelType 0/瀹㈡埛 1/渚涘簲鍟� - this.$reqGet('getClaimCustomerPageList',{current: 1, size:999, personnelType:1, type:0}).then(res => { + this.$reqGet('getClaimCustomerPageList',{personnelType:1,type:0,deptId:this.deptId}).then(res => { console.log(res,'渚涘簲鍟嗛偅涓�=====') if(res.code == 0) { - this.customerIdList = res.data.records.map(item => { + this.customerIdList = res.data.map(item => { return { code:item.id, name: item.name -- Gitblit v1.9.1