|
@@ -36,6 +36,7 @@ export const taskMixin = {
|
|
|
materialDialogVisible: false,
|
|
materialDialogVisible: false,
|
|
|
setStepDialogVisible: false,
|
|
setStepDialogVisible: false,
|
|
|
stepDialogVisible: false,
|
|
stepDialogVisible: false,
|
|
|
|
|
+ detailDialogVisible: false,
|
|
|
documentDialogVisible: false,
|
|
documentDialogVisible: false,
|
|
|
},
|
|
},
|
|
|
loading: {
|
|
loading: {
|
|
@@ -555,11 +556,14 @@ export const taskMixin = {
|
|
|
(this.taskData && (this.taskData.projectId || this.taskData.id)) ||
|
|
(this.taskData && (this.taskData.projectId || this.taskData.id)) ||
|
|
|
''
|
|
''
|
|
|
if (!pid) return
|
|
if (!pid) return
|
|
|
|
|
+ // 查看/编辑权限类型区分,未传会导致列表为空
|
|
|
|
|
+ const permissionType = this.isView ? '0' : '1'
|
|
|
getCostProjectDocumentPageList({
|
|
getCostProjectDocumentPageList({
|
|
|
pageNum: this.documentData.pagination.currentPage,
|
|
pageNum: this.documentData.pagination.currentPage,
|
|
|
pageSize: this.documentData.pagination.pageSize,
|
|
pageSize: this.documentData.pagination.pageSize,
|
|
|
projectId: pid,
|
|
projectId: pid,
|
|
|
documentName: data ? data.documentName : '',
|
|
documentName: data ? data.documentName : '',
|
|
|
|
|
+ permissionType,
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
let records = res.value.value.records
|
|
let records = res.value.value.records
|
|
|
this.documentData.list = records.filter((item) => {
|
|
this.documentData.list = records.filter((item) => {
|
|
@@ -602,6 +606,11 @@ export const taskMixin = {
|
|
|
this.surveyData.pagination.pageSize = pageSize
|
|
this.surveyData.pagination.pageSize = pageSize
|
|
|
this.getSurveyData()
|
|
this.getSurveyData()
|
|
|
break
|
|
break
|
|
|
|
|
+ case 'auditNotice':
|
|
|
|
|
+ this.documentData.pagination.currentPage = currentPage
|
|
|
|
|
+ this.documentData.pagination.pageSize = pageSize
|
|
|
|
|
+ this.getDocumentData()
|
|
|
|
|
+ break
|
|
|
default:
|
|
default:
|
|
|
break
|
|
break
|
|
|
}
|
|
}
|