Browse Source

2025.03.24 文档收集系统 - 所有文档增加删除操作(仅上传人)

java8
jiayang yue 10 months ago
parent
commit
bf36a1d87d
  1. 16
      src/views/modules/eam/eamProjectPartInfo.vue

16
src/views/modules/eam/eamProjectPartInfo.vue

@ -424,6 +424,8 @@
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"
@click="copyFile(scope.row)">复制</a>
<a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a>
<a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name"
@click="massProductionDocumentDelete(scope.row)">删除</a>
</template>
</el-table-column>
<el-table-column label="序号" type="index" align="center" :index="indexMethod">
@ -1347,6 +1349,8 @@
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"
@click="copyFile(scope.row)">复制</a>
<a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a>
<a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name"
@click="massProductionDocumentDelete(scope.row)">删除</a>
</template>
</el-table-column>
<el-table-column label="序号" type="index" align="center" :index="indexMethod">
@ -5035,6 +5039,7 @@ import {updateColumnSize} from "../../../api/table";
site: row.site,
username: this.$store.state.user.name,
buNo: row.buNo,
proofingId: row.proofingId,
proofingNo: row.proofingNo,
projectId: row.projectId,
projectNo: row.projectNo,
@ -5059,7 +5064,11 @@ import {updateColumnSize} from "../../../api/table";
type: 'warning'
})
}else {
this.$confirm('是否删除该转量产阶段文档的文件?', '提示', {
let name = '转量产阶段'
if (row.proofingId !== -1) {
name = '打样'
}
this.$confirm('是否删除该' + name +'文档的文件?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
@ -5071,8 +5080,7 @@ import {updateColumnSize} from "../../../api/table";
type: 'success'
})
//
this.getProjectOtherDocument()
this.getProofDocument()
this.refreshCurrentTabTable()
}
//
else {
@ -6248,6 +6256,8 @@ import {updateColumnSize} from "../../../api/table";
this.getProjectOtherDocument();
}
if (this.activeName === 'allDocument' || this.activeModalTab === 'allDocument') {
this.getRowProjectInfo();
this.getProjectOtherDocument();
this.searchProjectAllDocumentList()
this.searchConfirmatorList()
}

Loading…
Cancel
Save