update workflow
This commit is contained in:
parent
ac49ecd663
commit
7daa163b55
1 changed files with 4 additions and 1 deletions
|
|
@ -43,6 +43,9 @@ const modalSelectPerson = ref<boolean>(false);
|
|||
const modalApprove = ref<boolean>(false);
|
||||
const typeSelectPerson = ref<string>("");
|
||||
|
||||
//รายการระบบที่ต้องการ disable step 3
|
||||
const displayArray = <string[]>["REGISTRY_PROFILE"];
|
||||
|
||||
async function fetchCheckState() {
|
||||
await http
|
||||
.post(config.API.workflow + `check-user-now`, {
|
||||
|
|
@ -233,7 +236,7 @@ defineExpose({
|
|||
<div v-if="permission.isChangeState && state === index + 1">
|
||||
<q-btn
|
||||
:disable="
|
||||
props.sysName === 'REGISTRY_PROFILE'
|
||||
props.sysName && displayArray?.includes(props.sysName)
|
||||
? state === itemState.length - 1
|
||||
? !isCheckData
|
||||
: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue