commit
This commit is contained in:
@@ -279,7 +279,6 @@
|
||||
}
|
||||
this.form.responUserList = idList;
|
||||
this.form.responUserListName = nameList;
|
||||
|
||||
},
|
||||
choiceZRR() {
|
||||
this.nodeList = [];
|
||||
|
||||
@@ -50,6 +50,16 @@
|
||||
- -
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="审批领导" prop="user7" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.user7"
|
||||
style="display: none;"
|
||||
clearable
|
||||
></el-input>
|
||||
<van-cell-group>
|
||||
<van-field v-model="form.user7Name" readonly @click.native="choiceZRR"/>
|
||||
</van-cell-group>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form>
|
||||
<ProcessTitle>
|
||||
@@ -179,6 +189,13 @@
|
||||
<van-dialog v-model="itermsConditionsFlag" title="条款内容" @confirm="dialogOk">
|
||||
<div v-html="itermsConditionsTitle"></div>
|
||||
</van-dialog>
|
||||
<phone-role
|
||||
check-more
|
||||
role-title="选择审批领导"
|
||||
:is-show-phone.sync="modalshowflag"
|
||||
@checkedRole="checkedRole2"
|
||||
:result-list="nodeList"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -230,6 +247,8 @@
|
||||
textType: '',
|
||||
modelList: [],
|
||||
modelNameList: '',
|
||||
user7: '',
|
||||
user7Name: '',
|
||||
},
|
||||
formRules: {
|
||||
responUserList: [
|
||||
@@ -246,6 +265,29 @@
|
||||
ProcessTitle
|
||||
},
|
||||
methods: {
|
||||
checkedRole2(data) {
|
||||
var idList = "";
|
||||
var nameList = "";
|
||||
if (data.length) {
|
||||
data.forEach(item => {
|
||||
if (nameList.length > 0) {
|
||||
nameList += ",";
|
||||
idList += ",";
|
||||
}
|
||||
idList += item.id;
|
||||
nameList += item.name;
|
||||
});
|
||||
}
|
||||
this.form.user7 = idList;
|
||||
this.form.user7Name = nameList;
|
||||
},
|
||||
choiceZRR() {
|
||||
this.nodeList = [];
|
||||
if (this.form.user7.length > 0) {
|
||||
this.nodeList = this.form.user7.split(",");
|
||||
}
|
||||
this.modalshowflag = true;
|
||||
},
|
||||
dialogOk () {
|
||||
this.itermsConditionsFlag = false
|
||||
},
|
||||
@@ -362,20 +404,22 @@
|
||||
},
|
||||
handleSubmit() {
|
||||
this.isSubmit = true;
|
||||
var json = this.json;
|
||||
json.hqFlag = '0';
|
||||
json.commentText = this.commentText;
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success("提交成功");
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false;
|
||||
});
|
||||
var json = this.json;
|
||||
json.hqFlag = '0';
|
||||
json.user7 = this.form.user7;
|
||||
json.user7Name = this.form.user7Name;
|
||||
json.commentText = this.commentText;
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success("提交成功");
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false;
|
||||
});
|
||||
},
|
||||
handleSubmitNo() {
|
||||
if (this.commentText) {
|
||||
|
||||
Reference in New Issue
Block a user