From 0c0349656554c94d72e40834ecc04bc0769fce87 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 26 Dec 2024 18:59:15 +0800 Subject: [PATCH] =?UTF-8?q?YT-1843pda=E8=B4=A3=E4=BB=BB=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=BA=94=E6=98=AF=20=E8=B4=A3=E4=BB=BB=E6=98=8E=E7=BB=86?= =?UTF-8?q?=EF=BC=8C=E7=8E=B0=E6=98=BE=E7=A4=BA=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/dept/dept.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/mycomponents/dept/dept.vue b/src/mycomponents/dept/dept.vue index 7b5a1d80..6cade982 100644 --- a/src/mycomponents/dept/dept.vue +++ b/src/mycomponents/dept/dept.vue @@ -68,7 +68,7 @@ </view> </view> <view class="item"> - <view class="label">明细:</view> + <view class="label">责任明细:</view> <view class="value duty-details-value"> <!-- <uni-data-select v-model="dutyDetails" :localdata="dutyDetailList" @change="change" placement='top' :clear="true"></uni-data-select> @@ -78,7 +78,7 @@ <view class="value1"> <view class="" style="line-height: 70rpx;width: 100%;" @click="showDetail"> <span v-if='chooseDetailItem.label'>{{chooseDetailItem.label}}</span> - <span v-else style="color: rgb(192, 196, 204);">请选择明细</span> + <span v-else style="color: rgb(192, 196, 204);">请选择责任明细</span> </view> <u-icon name="arrow-down" color="#acacac" size="24" v-if='!chooseDetailItem.label'></u-icon> <u-icon name="close-circle-fill" color="#acacac" size="36" @click="clearDetail" v-else></u-icon> @@ -136,10 +136,10 @@ dutyDeptList: [],//部门显示列表 showDeptList:false,//是否显示部门列表 chooseDeptItem:{},//选择的部门数据 - // 明细字段 - detailList:[],//明细列表 - showDetailList:false,//是否显示明细列表 - chooseDetailItem:{},//选择的明细数据 + // 责任明细字段 + detailList:[],//责任明细列表 + showDetailList:false,//是否显示责任明细列表 + chooseDetailItem:{},//选择的责任明细数据 } }, created() { @@ -160,7 +160,7 @@ this.dutyDeptList = res.data }) }, - //获取明细列表 + //获取责任明细列表 getDetailList() { this.detailList = getDirectoryInfo('duty_details') this.detailList.forEach(item => item.text = item.label) @@ -215,18 +215,18 @@ this.chooseDeptItem ={} this.showDeptList = false }, - // 点击明细显示明细列表 + // 点击责任明细显示明细列表 showDetail(){ this.showDutyList = false this.showDeptList = false this.showDetailList = true }, - // 选择明细回显 + // 选择责任明细回显 chooseDetail(item){ this.chooseDetailItem =item this.showDetailList = false }, - // 清除明细按钮 + // 清除责任明细按钮 clearDetail(){ this.chooseDetailItem = {} this.showDetailList = false @@ -246,7 +246,7 @@ return } if(!obj.dutyDetails){ - this.$refs.comMessage.showMessage('请选择明细') + this.$refs.comMessage.showMessage('请选择责任明细') return } console.log(obj)