|
@@ -177,7 +177,7 @@ const open = async (row: any, productInfo: any) => {
|
|
showDialog.value = true;
|
|
showDialog.value = true;
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
system.org.getList({ status: 1 }).then((res: any) => {
|
|
system.org.getList({ status: 1 }).then((res: any) => {
|
|
- res.forEach((item) => {
|
|
|
|
|
|
+ res.forEach((item:any) => {
|
|
item.id = item.id.toString();
|
|
item.id = item.id.toString();
|
|
});
|
|
});
|
|
orgData.value = res || [];
|
|
orgData.value = res || [];
|
|
@@ -200,7 +200,7 @@ const open = async (row: any, productInfo: any) => {
|
|
|
|
|
|
//获取部门
|
|
//获取部门
|
|
api.dept.getList({ status: -1 }).then((res: any) => {
|
|
api.dept.getList({ status: -1 }).then((res: any) => {
|
|
- res.forEach((item) => {
|
|
|
|
|
|
+ res.forEach((item:any) => {
|
|
item.deptId = item.deptId.toString();
|
|
item.deptId = item.deptId.toString();
|
|
});
|
|
});
|
|
deptData.value = res || [];
|
|
deptData.value = res || [];
|
|
@@ -222,10 +222,7 @@ const open = async (row: any, productInfo: any) => {
|
|
//获取档案属性
|
|
//获取档案属性
|
|
api.dev_asset_metadata.getList({ productKey: productInfo.key, pageSize: 50, pageNum: 1, status: -1, total: 0 }).then((res: any) => {
|
|
api.dev_asset_metadata.getList({ productKey: productInfo.key, pageSize: 50, pageNum: 1, status: -1, total: 0 }).then((res: any) => {
|
|
const sortedArray = res.Data.sort((a, b) => a.id - b.id);
|
|
const sortedArray = res.Data.sort((a, b) => a.id - b.id);
|
|
-
|
|
|
|
-
|
|
|
|
Datalist.value = sortedArray || [];
|
|
Datalist.value = sortedArray || [];
|
|
- formData.productKey = productInfo.key
|
|
|
|
});
|
|
});
|
|
}
|
|
}
|
|
});
|
|
});
|