@@ -115,7 +121,7 @@
-
+
修改
@@ -125,8 +131,10 @@
v-hasPermi="['manage:proProjectInfoSubdeptsUsers:remove']">离场
进场
+ 重新生成文件
重新签名
+ v-hasPermi="['manage:proProjectInfoSubdeptsUsers:edit']">文件重新签名
@@ -494,8 +502,8 @@ function getList() {
loading.value = true;
queryParams.value.comId = userStore.currentComId;
queryParams.value.projectId = userStore.currentPrjId;
+ queryParams.value.activeTags = "finished";
listProProjectInfoSubdeptsUsers(queryParams.value).then(response => {
-
proProjectInfoSubdeptsUsersList.value = (response.rows || []).map(d => {
d.info = tryToJson(d.userInfos || "{}")
d.user = d.user || {};
@@ -504,7 +512,6 @@ function getList() {
d.info.birthDayStr = birthDay;
d.info.age = dayjs(new Date()).diff(d.info.birthDay, 'year');
}
-
return d;
});
total.value = response.total;
@@ -575,7 +582,7 @@ function doSubDeptChange(type) {
return;
}
}
- listProProjectInfoSubdeptsGroup({ subDeptId: type == "query" ? queryParams.value.subDeptId : form.value.subDeptId, pageNum: 1, pageSize: 100 }).then(d => {
+ listProProjectInfoSubdeptsGroup({ subDeptId: type == "query" ? queryParams.value.subDeptId : form.value.subDeptId, pageNum: 1, pageSize: 100, activeTags: "finished" }).then(d => {
if (type == "query") {
data.queryDeptGroups = d.rows || [];
} else {
@@ -658,7 +665,7 @@ function handleSelectionChange(selection) {
}
function loadSubDepts(cb) {
- listProProjectInfoSubdepts({ projectId: userStore.currentPrjId, pageNum: 1, pageSize: 100 }).then(d => {
+ listProProjectInfoSubdepts({ projectId: userStore.currentPrjId, pageNum: 1, pageSize: 100, activeTags: "finished" }).then(d => {
data.subdepts = d.rows || [];
if (data.subdepts.length > 0) {
setTimeout(() => {
@@ -785,6 +792,15 @@ function handleFileSign(row){
});
}
+function handleFileSign_0(row){
+ fileSign(row.id).then(res =>{
+ if(res.code==200){
+ proxy.$modal.msgSuccess("重新生成文件成功");
+ getList();
+ }
+ });
+}
+
function getWorkType(wt) {
if (wt) {
let tmps = user_work_type.value.filter(d => d.value == wt);