|
|
@ -36,11 +36,11 @@ function showModal(id) {
|
|
|
|
async function getDetail(id) {
|
|
|
|
async function getDetail(id) {
|
|
|
|
// const userInfo = storage.get(CURRENT_USER);
|
|
|
|
// const userInfo = storage.get(CURRENT_USER);
|
|
|
|
// const nodeType = userInfo.nodeType;
|
|
|
|
// const nodeType = userInfo.nodeType;
|
|
|
|
// id = "264626184091111068";
|
|
|
|
// id = "264627119490116380";
|
|
|
|
const res = await aiApprovaltools({ taskid: id });
|
|
|
|
const res = await aiApprovaltools({ taskid: id });
|
|
|
|
if (res.code === "OK") {
|
|
|
|
if (res.code === "OK") {
|
|
|
|
state.detail = res.data;
|
|
|
|
state.detail = res.data;
|
|
|
|
if(Number(res.data.similarComplete) > 0){
|
|
|
|
if(Number(res.data.pendingApprovaCount) > 0){
|
|
|
|
show.value = true;
|
|
|
|
show.value = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|