|
@@ -134,14 +134,14 @@
|
|
<!--<dict-tag :options="dict.type.t_sec_sub_chap_standard" :value="scope.row.standard"/>-->
|
|
<!--<dict-tag :options="dict.type.t_sec_sub_chap_standard" :value="scope.row.standard"/>-->
|
|
<!--</template>-->
|
|
<!--</template>-->
|
|
<!--</el-table-column>-->
|
|
<!--</el-table-column>-->
|
|
- <el-table-column label="完成情况" align="center" prop="completionStatus">
|
|
|
|
|
|
+ <el-table-column label="负责人" align="center" prop="personInChargeName" />
|
|
|
|
+ <el-table-column label="审核人" align="center" prop="reviewerName" />
|
|
|
|
+ <el-table-column label="备注" align="center" prop="remarks" width="150" />
|
|
|
|
+ <el-table-column label="完成情况" align="center" prop="completionStatus" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<dict-tag :options="dict.type.t_sec_sub_chap_completion_status" :value="scope.row.completionStatus"/>
|
|
<dict-tag :options="dict.type.t_sec_sub_chap_completion_status" :value="scope.row.completionStatus"/>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="负责人" align="center" prop="personInChargeName" />
|
|
|
|
- <el-table-column label="审核人" align="center" prop="reviewerName" />
|
|
|
|
- <el-table-column label="备注" align="center" prop="remarks" width="150" />
|
|
|
|
<el-table-column label="标准附件" align="center" width="100" fixed="right">
|
|
<el-table-column label="标准附件" align="center" width="100" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button icon="el-icon-folder" style="color:#6e96fa;" circle @click="handleDoc(scope.row , 'questionnaire-standard')"></el-button>
|
|
<el-button icon="el-icon-folder" style="color:#6e96fa;" circle @click="handleDoc(scope.row , 'questionnaire-standard')"></el-button>
|
|
@@ -166,11 +166,20 @@
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
@click="handleDelete(scope.row)"
|
|
@click="handleDelete(scope.row)"
|
|
>删除</el-button>
|
|
>删除</el-button>
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleOpenitem(scope.row)"
|
|
|
|
- >开项</el-button>
|
|
|
|
|
|
+ <span v-if="scope.row.openitemStatus != '2'">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleOpenitem(scope.row)"
|
|
|
|
+ >开项</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-if="scope.row.openitemStatus == '2'">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ style="color: red; cursor: default;"
|
|
|
|
+ >开项中</el-button>
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -670,8 +679,6 @@ export default {
|
|
if (auditId != null) {
|
|
if (auditId != null) {
|
|
this.queryParams.auditId = auditId;
|
|
this.queryParams.auditId = auditId;
|
|
}
|
|
}
|
|
- console.log(this.queryParams.chapterId)
|
|
|
|
- console.log(this.queryParams.auditId)
|
|
|
|
listQuestionnaire(this.queryParams).then(response => {
|
|
listQuestionnaire(this.queryParams).then(response => {
|
|
this.questionnaireList = response.rows;
|
|
this.questionnaireList = response.rows;
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
@@ -731,6 +738,7 @@ export default {
|
|
},
|
|
},
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
|
|
+ console.log(row)
|
|
this.reset();
|
|
this.reset();
|
|
const id = row.id || this.ids
|
|
const id = row.id || this.ids
|
|
getQuestionnaire(id).then(response => {
|
|
getQuestionnaire(id).then(response => {
|