修改任务清单的编辑
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user