|
@@ -429,7 +429,6 @@
|
|
|
<icon class="iconfont firerock-iconInsertLine addNode" @click="showNodeDialog(0)"></icon>
|
|
|
<icon class="iconfont firerock-iconright"></icon>
|
|
|
<span v-for="(item, index) in dataArray" :key="item.seq" >
|
|
|
-
|
|
|
<el-button type="primary" v-if="item.auditorType == 1 && user.userNameNeedTranslate == 1" @click="editNodeDialog(index, item)">
|
|
|
<!-- {{item.auditDeptName}} -->
|
|
|
<ww-open-data type='departmentName' :openid='item.auditDeptName'></ww-open-data>
|
|
@@ -472,7 +471,7 @@
|
|
|
<el-cascader filterable ref="deptCascader" v-model="curDeptId" :placeholder="$t('defaultText.pleaseChoose')" style="width: 100%" @change="chooseDept"
|
|
|
:options="soption" :props="{ checkStrictly: true,expandTrigger: 'hover' }" :show-all-levels="false" clearable v-show="user.userNameNeedTranslate != 1"></el-cascader>
|
|
|
|
|
|
- <vueCascader :size="'small'" :widthStr="'200'" :clearable="true" :userName="true" :subject="soption" :radios="true" :distinction="'1'" @vueCasader="vueCasader" v-if="user.userNameNeedTranslate == 1"></vueCascader>
|
|
|
+ <vueCascader :size="'small'" :widthStr="'200'" :clearable="true" :userName="true" :subjectId="this.selectedAuuid" :subject="soption" :radios="true" :distinction="'1'" @vueCasader="vueCasader" v-if="user.userNameNeedTranslate == 1"></vueCascader>
|
|
|
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -925,6 +924,7 @@ export default {
|
|
|
curWorkflowList:{},
|
|
|
denyReasonVisible : false,
|
|
|
auditLogList:[],
|
|
|
+ selectedAuuid: ''
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -1433,8 +1433,10 @@ export default {
|
|
|
this.isAdd = false;
|
|
|
this.sindex = index;
|
|
|
this.curUserId = item.userId;
|
|
|
- this.dialogVisible = true;
|
|
|
this.curDeptId = item.auditDeptId;
|
|
|
+ this.selectedAuuid = item.userId || item.auditDeptId
|
|
|
+ console.log(this.selectedAuuid, '看看数据类')
|
|
|
+ this.dialogVisible = true;
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: res.msg,
|
|
@@ -1490,8 +1492,13 @@ export default {
|
|
|
|
|
|
} else {
|
|
|
//编辑
|
|
|
- this.dataArray[this.sindex].auditDeptId = node.value;
|
|
|
- this.dataArray[this.sindex].auditDeptName = node.label;
|
|
|
+ if(node.type == 'dep') {
|
|
|
+ this.dataArray[this.sindex].auditDeptId = node.value;
|
|
|
+ this.dataArray[this.sindex].auditDeptName = node.label;
|
|
|
+ } else {
|
|
|
+ this.dataArray[this.sindex].userId = node.value;
|
|
|
+ this.dataArray[this.sindex].userName = node.label;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
deleteNode() {
|