|
@@ -430,6 +430,7 @@
|
|
<icon class="iconfont firerock-iconInsertLine addNode" @click="showNodeDialog(0)"></icon>
|
|
<icon class="iconfont firerock-iconInsertLine addNode" @click="showNodeDialog(0)"></icon>
|
|
<icon class="iconfont firerock-iconright"></icon>
|
|
<icon class="iconfont firerock-iconright"></icon>
|
|
<span v-for="(item, index) in dataArray" :key="item.seq" >
|
|
<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)">
|
|
<el-button type="primary" v-if="item.auditorType == 1 && user.userNameNeedTranslate == 1" @click="editNodeDialog(index, item)">
|
|
<!-- {{item.auditDeptName}} -->
|
|
<!-- {{item.auditDeptName}} -->
|
|
<ww-open-data type='departmentName' :openid='item.auditDeptName'></ww-open-data>
|
|
<ww-open-data type='departmentName' :openid='item.auditDeptName'></ww-open-data>
|
|
@@ -438,6 +439,7 @@
|
|
<!-- {{item.userName}} -->
|
|
<!-- {{item.userName}} -->
|
|
<ww-open-data type='userName' :openid='item.userName'></ww-open-data>
|
|
<ww-open-data type='userName' :openid='item.userName'></ww-open-data>
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+
|
|
<el-button type="primary" v-if="item.auditorType == 1 && user.userNameNeedTranslate != 1" @click="editNodeDialog(index, item)">
|
|
<el-button type="primary" v-if="item.auditorType == 1 && user.userNameNeedTranslate != 1" @click="editNodeDialog(index, item)">
|
|
{{item.auditDeptName}}
|
|
{{item.auditDeptName}}
|
|
</el-button>
|
|
</el-button>
|
|
@@ -472,7 +474,7 @@
|
|
<el-cascader filterable ref="deptCascader" v-model="curDeptId" :placeholder="$t('defaultText.pleaseChoose')" style="width: 100%" @change="chooseDept"
|
|
<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>
|
|
: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" :subjectId="this.selectedAuuid" :subject="soption" :radios="true" :distinction="'1'" @vueCasader="vueCasader" v-if="user.userNameNeedTranslate == 1"></vueCascader>
|
|
|
|
|
|
+ <vueCascader :size="'small'" :widthStr="'200'" :clearable="true" :userName="true" :fistRadio="true" :subjectId="this.selectedAuuid" :subject="soption" :radios="true" :distinction="'1'" @vueCasader="vueCasader" v-if="user.userNameNeedTranslate == 1"></vueCascader>
|
|
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
@@ -953,7 +955,6 @@ export default {
|
|
this.getUsers() // 获取人员信息
|
|
this.getUsers() // 获取人员信息
|
|
this.getDepartment();
|
|
this.getDepartment();
|
|
this.getAl();
|
|
this.getAl();
|
|
- this.getApproverList();
|
|
|
|
this.getAuditWorkflow();
|
|
this.getAuditWorkflow();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1207,35 +1208,6 @@ export default {
|
|
this.getVacationList(1)
|
|
this.getVacationList(1)
|
|
},
|
|
},
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- getApproverList(){
|
|
|
|
- this.http.post('/project/getMyParticiPMList',{
|
|
|
|
- },res => {
|
|
|
|
- if(res.code == 'ok'){
|
|
|
|
- this.approverList = res.data
|
|
|
|
- if(this.approverList.length == 0){
|
|
|
|
- this.$message({
|
|
|
|
- message: this.$t('configureanapprover'),
|
|
|
|
- type: 'warning'
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- // console.log('list',res.data);
|
|
|
|
- }else {
|
|
|
|
- this.$message({
|
|
|
|
- message: res.msg,
|
|
|
|
- type: 'error'
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- },error => {
|
|
|
|
- this.$message({
|
|
|
|
- message: error,
|
|
|
|
- type: 'error'
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
changeAltime(e){
|
|
changeAltime(e){
|
|
if(e == 0 && this.AlchangeP.length == 0){
|
|
if(e == 0 && this.AlchangeP.length == 0){
|
|
this.$message(this.$t('selecttheitemsyouwanttobatchset'))
|
|
this.$message(this.$t('selecttheitemsyouwanttobatchset'))
|
|
@@ -1482,7 +1454,7 @@ export default {
|
|
nodes = {userId: node.value, userName: node.label, auditorType: 2};
|
|
nodes = {userId: node.value, userName: node.label, auditorType: 2};
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- if(node.managerId) {
|
|
|
|
|
|
+ if(node.type == 'dep') {
|
|
nodes = {auditDeptId: node.value, auditDeptName: node.label, auditorType: 1};
|
|
nodes = {auditDeptId: node.value, auditDeptName: node.label, auditorType: 1};
|
|
} else {
|
|
} else {
|
|
nodes = {userId: node.value, userName: node.label, auditorType: 2};
|
|
nodes = {userId: node.value, userName: node.label, auditorType: 2};
|