|
@@ -110,7 +110,7 @@
|
|
<view class="title">
|
|
<view class="title">
|
|
问题描述
|
|
问题描述
|
|
</view>
|
|
</view>
|
|
- <textarea v-model="item.des" placeholder="请填写问题描述" disabled="true" ></textarea>
|
|
|
|
|
|
+ <textarea maxlength="-1" v-model="item.des" placeholder="请填写问题描述" disabled="true" ></textarea>
|
|
</view>
|
|
</view>
|
|
<view class="cu-form-group margin-top" style="border-bottom: 3px solid #eee;" v-if="item.des8">
|
|
<view class="cu-form-group margin-top" style="border-bottom: 3px solid #eee;" v-if="item.des8">
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -203,7 +203,7 @@
|
|
placeholder=" 请选择"
|
|
placeholder=" 请选择"
|
|
title="请选择交办单位"
|
|
title="请选择交办单位"
|
|
clearable
|
|
clearable
|
|
- v-model="item.checkUserList"
|
|
|
|
|
|
+ v-model="item.showCheckUserList"
|
|
@search="searchEvent"
|
|
@search="searchEvent"
|
|
@change="selectChange2"
|
|
@change="selectChange2"
|
|
></zqs-select>
|
|
></zqs-select>
|
|
@@ -221,14 +221,14 @@
|
|
<view class="title">
|
|
<view class="title">
|
|
交办要求
|
|
交办要求
|
|
</view>
|
|
</view>
|
|
- <textarea v-model="item.delyj" placeholder="请填写交办要求" ></textarea>
|
|
|
|
|
|
+ <textarea maxlength="-1" v-model="item.delyj" placeholder="请填写交办要求" ></textarea>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="cu-form-group margin-top" v-if="(roleIds=='1910175386924417025'||roleIds=='1915280292672946177'||roleIds=='1910175949166673921')&&!item.showjbdw">
|
|
<view class="cu-form-group margin-top" v-if="(roleIds=='1910175386924417025'||roleIds=='1915280292672946177'||roleIds=='1910175949166673921')&&!item.showjbdw">
|
|
<view class="title">
|
|
<view class="title">
|
|
处理建议
|
|
处理建议
|
|
</view>
|
|
</view>
|
|
- <textarea v-model="item.delyj" placeholder="请填写处理建议" :disabled="!item.cansubmit" ></textarea>
|
|
|
|
|
|
+ <textarea maxlength="-1" v-model="item.delyj" placeholder="请填写处理建议" :disabled="!item.cansubmit" ></textarea>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<!-- <view class="cu-form-group2 margin-top" style="border-bottom: 3px solid #eee;">
|
|
<!-- <view class="cu-form-group2 margin-top" style="border-bottom: 3px solid #eee;">
|
|
@@ -315,7 +315,7 @@
|
|
<view class="title">
|
|
<view class="title">
|
|
说明
|
|
说明
|
|
</view>
|
|
</view>
|
|
- <textarea v-model="item.delyj" placeholder="请填写说明" ></textarea>
|
|
|
|
|
|
+ <textarea maxlength="-1" v-model="item.delyj" placeholder="请填写说明" ></textarea>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -422,7 +422,7 @@
|
|
computed: {
|
|
computed: {
|
|
// 动态计算选中的 label
|
|
// 动态计算选中的 label
|
|
selectedLabels() {
|
|
selectedLabels() {
|
|
- return this.item.checkUserList
|
|
|
|
|
|
+ return this.item.showCheckUserList
|
|
.map((value) => {
|
|
.map((value) => {
|
|
const item = this.pickerData.find((option) => option.value === value);
|
|
const item = this.pickerData.find((option) => option.value === value);
|
|
return item ? item.label : value; // 如果找不到,返回 value
|
|
return item ? item.label : value; // 如果找不到,返回 value
|
|
@@ -472,8 +472,8 @@
|
|
|
|
|
|
|
|
|
|
//判断是否显示提交,暂存按钮
|
|
//判断是否显示提交,暂存按钮
|
|
-
|
|
|
|
- if(data2.data.states=='1'&&data2.data.des1.includes($auth.getUserInfo().loginName)){
|
|
|
|
|
|
+ //状态为提交且待办人中有当前账号的 ,2025-7-3 添加或者账号是大走访办公室
|
|
|
|
+ if(data2.data.states=='1'&&(data2.data.des1.includes($auth.getUserInfo().loginName)||$auth.getUserInfo().loginName=='dazoufang')){
|
|
this.cansubmit=true;
|
|
this.cansubmit=true;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -490,7 +490,7 @@
|
|
//当前登录人
|
|
//当前登录人
|
|
if (data2.data.dzfQuestionDetilDTOList[i].oplist[j].createBy.id === this.uid) {
|
|
if (data2.data.dzfQuestionDetilDTOList[i].oplist[j].createBy.id === this.uid) {
|
|
//问题处理
|
|
//问题处理
|
|
- console.log("问题:"+data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType)
|
|
|
|
|
|
+
|
|
|
|
|
|
if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='3'){
|
|
if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='3'){
|
|
//挂钩干部
|
|
//挂钩干部
|
|
@@ -551,6 +551,7 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
|
|
//办结时间就是显示最后一条处理意见的办结时间
|
|
//办结时间就是显示最后一条处理意见的办结时间
|
|
if(data2.data.dzfQuestionDetilDTOList[i].oplist[opsize-1].des5!=undefined&&data2.data.dzfQuestionDetilDTOList[i].oplist[opsize-1].des5!=''){
|
|
if(data2.data.dzfQuestionDetilDTOList[i].oplist[opsize-1].des5!=undefined&&data2.data.dzfQuestionDetilDTOList[i].oplist[opsize-1].des5!=''){
|
|
@@ -570,7 +571,19 @@
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- data2.data.dzfQuestionDetilDTOList[i].checkUserList=[];
|
|
|
|
|
|
+ data2.data.dzfQuestionDetilDTOList[i].checkUserList="";
|
|
|
|
+ data2.data.dzfQuestionDetilDTOList[i].showCheckUserList=[];
|
|
|
|
+
|
|
|
|
+ //2025-7-3 添加是大走访时都能添加修改交办单位
|
|
|
|
+ //当前问题没有办结,即可修改
|
|
|
|
+ if(data2.data.dzfQuestionDetilDTOList[i].states!='0'&&data2.data.dzfQuestionDetilDTOList[i].states!=undefined&&this.roleIds=='1910175386924417025'){
|
|
|
|
+ console.log("问题:"+data2.data.dzfQuestionDetilDTOList[i].states)
|
|
|
|
+ data2.data.dzfQuestionDetilDTOList[i].showjbdw2=false;
|
|
|
|
+ data2.data.dzfQuestionDetilDTOList[i].showjbdw=true;
|
|
|
|
+
|
|
|
|
+ data2.data.dzfQuestionDetilDTOList[i].showCheckUserList=data2.data.dzfQuestionDetilDTOList[i].des1.split(',');
|
|
|
|
+ }
|
|
|
|
+
|
|
data2.data.dzfQuestionDetilDTOList[i].picLists=[];
|
|
data2.data.dzfQuestionDetilDTOList[i].picLists=[];
|
|
data2.data.dzfQuestionDetilDTOList[i].picLists2=[];
|
|
data2.data.dzfQuestionDetilDTOList[i].picLists2=[];
|
|
data2.data.dzfQuestionDetilDTOList[i].picUrl=[];
|
|
data2.data.dzfQuestionDetilDTOList[i].picUrl=[];
|
|
@@ -617,6 +630,7 @@
|
|
selectChange2() {
|
|
selectChange2() {
|
|
// 此处为点击的事件
|
|
// 此处为点击的事件
|
|
this.pickerData=this.pickerDataOld;
|
|
this.pickerData=this.pickerDataOld;
|
|
|
|
+ console.log(this.questionList[0].showCheckUserList);
|
|
},
|
|
},
|
|
searchEvent(val) {
|
|
searchEvent(val) {
|
|
this.pickerData=this.filteredItems(val);
|
|
this.pickerData=this.filteredItems(val);
|
|
@@ -932,7 +946,7 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
save(){
|
|
save(){
|
|
- console.log("交办单位:"+this.checkUserList)
|
|
|
|
|
|
+ //console.log("交办单位:"+this.checkUserList)
|
|
|
|
|
|
// this.inputForm.des10="";
|
|
// this.inputForm.des10="";
|
|
// this.inputForm.dzfQuestionDetilDTOList=this.questionList;
|
|
// this.inputForm.dzfQuestionDetilDTOList=this.questionList;
|
|
@@ -979,16 +993,16 @@
|
|
//将交办单位的名称带出
|
|
//将交办单位的名称带出
|
|
for (let i = 0; i < this.questionList.length; i++) {
|
|
for (let i = 0; i < this.questionList.length; i++) {
|
|
|
|
|
|
- if (this.questionList[i].checkUserList != []) {
|
|
|
|
|
|
+ if (this.questionList[i].showCheckUserList != []) {
|
|
|
|
|
|
- this.questionList[i].checkUserListName=this.questionList[i].checkUserList.map((value) => {
|
|
|
|
|
|
+ this.questionList[i].checkUserListName=this.questionList[i].showCheckUserList.map((value) => {
|
|
const item = this.pickerData.find((option) => option.value === value);
|
|
const item = this.pickerData.find((option) => option.value === value);
|
|
return item ? item.label : value; // 如果找不到,返回 value
|
|
return item ? item.label : value; // 如果找不到,返回 value
|
|
})
|
|
})
|
|
.join(",");
|
|
.join(",");
|
|
|
|
|
|
}
|
|
}
|
|
- this.questionList[i].checkUserList=this.questionList[i].checkUserList.join(",");
|
|
|
|
|
|
+ this.questionList[i].checkUserList=this.questionList[i].showCheckUserList.join(",");
|
|
|
|
|
|
|
|
|
|
//附件处理
|
|
//附件处理
|