fix: base wf获取下拉选项

This commit is contained in:
caoqianming 2024-08-01 16:07:28 +08:00
parent 51ef980600
commit f8b974cacb
1 changed files with 11 additions and 7 deletions

View File

@ -524,6 +524,10 @@ export default {
mounted() { mounted() {
this.id = sessionStorage.getItem("jinYuWorkflowId"); this.id = sessionStorage.getItem("jinYuWorkflowId");
this.getList(); this.getList();
this.getUsers();
this.getRole();
this.getPost();
this.getField();
}, },
methods: { methods: {
// //
@ -557,13 +561,13 @@ export default {
handleAdd() { handleAdd() {
this.type = "add"; this.type = "add";
this.dialogVisible = true; this.dialogVisible = true;
if(this.dialogInitNum === 0){ // if(this.dialogInitNum === 0){
this.getUsers(); // this.getUsers();
this.getRole(); // this.getRole();
this.getPost(); // this.getPost();
this.getField(); // this.getField();
this.dialogInitNum++; // this.dialogInitNum++;
} // }
}, },
async submitHandle() { async submitHandle() {
let that = this; let that = this;