修改任务清单的编辑

This commit is contained in:
qq787203167
2022-05-07 14:11:29 +08:00
parent ba8d83259b
commit 5b0d7cb46d
2 changed files with 7 additions and 7 deletions
@@ -40,12 +40,12 @@
/> />
</div> </div>
</div> </div>
<div class="drawer-bootom-button"> <div class="drawer-bootom-button">
<a-button @click="handleCancel" type="danger" style="margin-right: 16px">{{$t('cancel')}}</a-button> <a-button @click="handleCancel" type="danger" style="margin-right: 16px">{{$t('cancel')}}</a-button>
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button> <a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>
</div> </div>
</a-drawer> </a-drawer>
</div> </div>
</template> </template>
@@ -1075,16 +1075,16 @@
}) })
}, },
addProcess(val) { addProcess(val) {
let num = 2 // let num = 2
for (let i = 0; i < 3; i++) { // for (let i = 0; i < 3; i++) {
setTimeout(() => { // setTimeout(() => {
this.startProcessDesign(val, num) this.startProcessDesign(val, num)
}, 500) // }, 500)
} // }
}, },
startProcessDesign(value, num) { startProcessDesign(value, num) {
let query = { let query = {
type: num, type: 2,
msg: JSON.stringify(value).replace(/\"/g, '\'') msg: JSON.stringify(value).replace(/\"/g, '\'')
} }
postAction('/workFlow/startProcess', query).then((res) => { postAction('/workFlow/startProcess', query).then((res) => {