|
|
@ -26,8 +26,7 @@ export async function getPictureTypeList(): Promise<any> {
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izpicturetype`,
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izpicturetype`,
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -73,7 +72,7 @@ export async function getTFList() {
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -145,7 +144,7 @@ export async function getIztaskrromList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -161,7 +160,7 @@ export async function getIztaskstatusList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -191,7 +190,7 @@ export async function getIzfirmList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -207,7 +206,7 @@ export async function getIzproductnameList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -223,7 +222,7 @@ export async function getizcustomnameList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -237,7 +236,7 @@ export async function getIzCustomtypeList(): Promise<any> {
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -253,7 +252,7 @@ export async function getIzcustomlevel(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -269,7 +268,7 @@ export async function getIzprojecttypeList(enabled: string) {
|
|
|
|
params: { enabled },
|
|
|
|
params: { enabled },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
const list = res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
return list
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -298,8 +297,7 @@ export async function getRejectList() {
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const list = res.data[0].distionaryList
|
|
|
|
return res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
return list
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -312,7 +310,7 @@ export async function getBackList() {
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
return res.data[0].distionaryList
|
|
|
|
return res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -365,7 +363,7 @@ export async function getRelationTypeList() {
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
return res.data[0].distionaryList
|
|
|
|
return res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -377,7 +375,7 @@ export async function getizstatusList() {
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izstatus`,
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izstatus`,
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return res.data[0].distionaryList
|
|
|
|
return res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -389,5 +387,5 @@ export async function getizApprovalStatusList() {
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izApprovalStatus`,
|
|
|
|
url: `/static/admin/web/distionary/bytypecode/izApprovalStatus`,
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return res.data[0].distionaryList
|
|
|
|
return res.data&&res.data.length?res.data[0].distionaryList:[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|