|
|
@@ -135,7 +135,7 @@
|
|
|
|
|
|
|
|
|
<!-- 挂钩干部 -->
|
|
|
- <view class="cu-form-group margin-top" v-if="roleIds=='1915280292672946177'" >
|
|
|
+ <view class="cu-form-group margin-top" v-if="roleIds.includes('1915280292672946177')" >
|
|
|
<view class="title">
|
|
|
问题处理
|
|
|
</view>
|
|
|
@@ -149,7 +149,7 @@
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
<!-- 大走访办公室 -->
|
|
|
- <view class="cu-form-group margin-top" v-if="roleIds=='1910175386924417025'" >
|
|
|
+ <view class="cu-form-group margin-top" v-if="roleIds.includes('1910175386924417025')" >
|
|
|
<view class="title">
|
|
|
问题处理
|
|
|
</view>
|
|
|
@@ -164,7 +164,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 交办部门 -->
|
|
|
- <view class="cu-form-group margin-top" v-if="roleIds=='1910175949166673921'" >
|
|
|
+ <view class="cu-form-group margin-top" v-if="roleIds.includes('1910175949166673921')" >
|
|
|
<view class="title">
|
|
|
问题处理
|
|
|
</view>
|
|
|
@@ -179,7 +179,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 挂钩干部或大走访办公室或交办部门 -->
|
|
|
- <view class="cu-form-group margin-top" v-if="roleIds=='1910175386924417025'||roleIds=='1915280292672946177'||roleIds=='1910175949166673921'" >
|
|
|
+ <view class="cu-form-group margin-top" v-if="roleIds.includes('1910175386924417025')||roleIds.includes('1915280292672946177')||roleIds.includes('1910175949166673921')" >
|
|
|
<view class="title">
|
|
|
预计办结时间
|
|
|
</view>
|
|
|
@@ -217,14 +217,14 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view class="cu-form-group margin-top" v-if="(roleIds=='1910175386924417025'||roleIds=='1915280292672946177')&&item.showjbdw">
|
|
|
+ <view class="cu-form-group margin-top" v-if="(roleIds.includes('1910175386924417025')||roleIds.includes('1915280292672946177'))&&item.showjbdw">
|
|
|
<view class="title">
|
|
|
交办要求
|
|
|
</view>
|
|
|
<textarea maxlength="-1" v-model="item.delyj" placeholder="请填写交办要求" ></textarea>
|
|
|
</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.includes('1910175386924417025')||roleIds.includes('1915280292672946177')||roleIds.includes('1910175949166673921'))&&!item.showjbdw">
|
|
|
<view class="title">
|
|
|
处理建议
|
|
|
</view>
|
|
|
@@ -247,7 +247,7 @@
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
- <view class="cu-form-group margin-top" style="border-bottom: 3px solid #eee;" v-if="roleIds=='1910175386924417025'||roleIds=='1915280292672946177'||roleIds=='1910175949166673921'">
|
|
|
+ <view class="cu-form-group margin-top" style="border-bottom: 3px solid #eee;" v-if="roleIds.includes('1910175386924417025')||roleIds.includes('1915280292672946177')||roleIds.includes('1910175949166673921')">
|
|
|
<uni-file-picker style="margin-bottom: 10px;" limit="9" ref="picFile" v-model="item.picLists"
|
|
|
fileMediatype="all" mode="grid" title="附件上传" :auto-upload="autoUpload" @select="(e) => select(e, index2)"
|
|
|
@progress="progress" @success="success" @fail="fail" @change="onChange" @delete="(e) => deleteFile(e, index2)"
|
|
|
@@ -333,14 +333,14 @@
|
|
|
|
|
|
<view style="height: 40rpx;"></view>
|
|
|
|
|
|
- <view class="flexC" v-if="roleIds=='1910175386924417025'&&!cansubmit">
|
|
|
- <button v-if="roleIds=='1910175386924417025'" @click="del" class="bt1 block margin-tb-sm lg bg-red">删除</button>
|
|
|
+ <view class="flexC" v-if="roleIds.includes('1910175386924417025')&&!cansubmit">
|
|
|
+ <button v-if="roleIds.includes('1910175386924417025')" @click="del" class="bt1 block margin-tb-sm lg bg-red">删除</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="flexC" v-if="cansubmit">
|
|
|
- <button v-if="roleIds=='38a14f1f42ed424eab4cb5d489596b0d'" @click="save" class="bt1 block margin-tb-sm lg">暂存</button>
|
|
|
- <button v-if="roleIds=='1910175386924417025'" @click="del" class="bt1 block margin-tb-sm lg bg-red">删除</button>
|
|
|
+ <button v-if="roleIds.includes('38a14f1f42ed424eab4cb5d489596b0d')" @click="save" class="bt1 block margin-tb-sm lg">暂存</button>
|
|
|
+ <button v-if="roleIds.includes('1910175386924417025')" @click="del" class="bt1 block margin-tb-sm lg bg-red">删除</button>
|
|
|
<button form-type="submit" class="bt1 cu-btn block bg-blue margin-tb-sm lg">提交</button>
|
|
|
</view>
|
|
|
|
|
|
@@ -494,7 +494,7 @@
|
|
|
|
|
|
if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='3'){
|
|
|
//挂钩干部
|
|
|
- if(this.roleIds=='1915280292672946177'){
|
|
|
+ if(this.roleIds.includes('1915280292672946177')){
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=2
|
|
|
//交办部门
|
|
|
}else{
|
|
|
@@ -507,7 +507,7 @@
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=1
|
|
|
}else if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='5'){
|
|
|
//挂钩干部
|
|
|
- if(this.roleIds=='1915280292672946177'){
|
|
|
+ if(this.roleIds.includes('1915280292672946177')){
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=0
|
|
|
//交办部门
|
|
|
}else{
|
|
|
@@ -515,7 +515,7 @@
|
|
|
}
|
|
|
}else if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='6'){
|
|
|
//挂钩干部
|
|
|
- if(this.roleIds=='1915280292672946177'){
|
|
|
+ if(this.roleIds.includes('1915280292672946177')){
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=3
|
|
|
//交办部门
|
|
|
}else{
|
|
|
@@ -523,7 +523,7 @@
|
|
|
}
|
|
|
}else if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='7'){
|
|
|
//挂钩干部
|
|
|
- if(this.roleIds=='1915280292672946177'){
|
|
|
+ if(this.roleIds.includes('1915280292672946177')){
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=4
|
|
|
//交办部门
|
|
|
}else{
|
|
|
@@ -531,7 +531,7 @@
|
|
|
}
|
|
|
}else if(data2.data.dzfQuestionDetilDTOList[i].oplist[j].opType=='8'){
|
|
|
//挂钩干部
|
|
|
- if(this.roleIds=='1915280292672946177'){
|
|
|
+ if(this.roleIds.includes('1915280292672946177')){
|
|
|
data2.data.dzfQuestionDetilDTOList[i].current=5
|
|
|
//交办部门
|
|
|
}else{
|
|
|
@@ -576,7 +576,7 @@
|
|
|
|
|
|
//2025-7-3 添加是大走访时都能添加修改交办单位
|
|
|
//当前问题没有办结,即可修改
|
|
|
- if(data2.data.dzfQuestionDetilDTOList[i].states!='0'&&data2.data.dzfQuestionDetilDTOList[i].states!=undefined&&this.roleIds=='1910175386924417025'){
|
|
|
+ if(data2.data.dzfQuestionDetilDTOList[i].states!='0'&&data2.data.dzfQuestionDetilDTOList[i].states!=undefined&&this.roleIds.includes('1910175386924417025')){
|
|
|
console.log("问题:"+data2.data.dzfQuestionDetilDTOList[i].states)
|
|
|
data2.data.dzfQuestionDetilDTOList[i].showjbdw2=false;
|
|
|
data2.data.dzfQuestionDetilDTOList[i].showjbdw=true;
|
|
|
@@ -651,7 +651,7 @@
|
|
|
},
|
|
|
radioChange: function(evt,index2) {
|
|
|
//大走访办公室角色时
|
|
|
- if(this.roleIds=='1910175386924417025'){
|
|
|
+ if(this.roleIds.includes('1910175386924417025')){
|
|
|
if(evt.detail.value=='办结'){
|
|
|
this.questionList[index2].showjbdw=false;
|
|
|
this.questionList[index2].delyj="";
|
|
|
@@ -671,7 +671,7 @@
|
|
|
}
|
|
|
}
|
|
|
//挂钩干部
|
|
|
- }else if(this.roleIds=='1915280292672946177'){
|
|
|
+ }else if(this.roleIds.includes('1915280292672946177')){
|
|
|
|
|
|
console.log("选择:"+evt.detail.value);
|
|
|
for (let i = 0; i < this.dels.length; i++) {
|
|
|
@@ -681,7 +681,7 @@
|
|
|
}
|
|
|
}
|
|
|
//交办部门
|
|
|
- }else if(this.roleIds=='1910175949166673921'){
|
|
|
+ }else if(this.roleIds.includes('1910175949166673921')){
|
|
|
|
|
|
console.log("选择:"+evt.detail.value);
|
|
|
for (let i = 0; i < this.dels3.length; i++) {
|