| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" width="90px" fixed="right"> |
| | | <el-table-column label="操作" align="center" width="120px" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | fixed="right" |
| | |
| | | <div v-else>{{ scope.row.proAdvice }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | prop="conclusion" |
| | | label="异常" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column align="center" prop="" label=" 参考范围"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.project != null"> |
| | |
| | | <el-button type="primary" @click="proposalChange" |
| | | >生成建议</el-button |
| | | > |
| | | |
| | | </div> |
| | | |
| | | |
| | | <el-form |
| | | ref="numberValidateForm" |
| | | label-width="80px" |
| | |
| | | :data="statusList" |
| | | style="width: 100%" |
| | | :header-cell-style="{ background: '#e6a23c' }" |
| | | :stripe="true" |
| | | |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | |
| | | data() { |
| | | return { |
| | | // 更新总检建议 |
| | | |
| | | initialTotalCheckAdvice: "", |
| | | initialState: "", |
| | | preObj: {}, |
| | |
| | | this.yichangList = res.data; |
| | | this.getExpends(); |
| | | if (!this.yichangList) { |
| | | this.$message({ |
| | | _this.$message({ |
| | | type: "warning ", |
| | | message: "暂无异常报告", |
| | | }); |
| | |
| | | }, |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.startTime = [ |
| | | /* this.startTime = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | ]; */ |
| | | this.getList(); |
| | | }); |
| | | }, |
| | |
| | | if (this.tjproject == "0") { |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | | this.changedate = response.data; |
| | | |
| | | this.changedate.forEach((item) => { |
| | | this.textarea1 = item.checkAdvice; |
| | | }); |
| | |
| | | }; |
| | | }, |
| | | redxiangmu({ row }) { |
| | | if (row.type == 0) { |
| | | if (row.type != 1) { |
| | | // 变颜色的条件 |
| | | return { |
| | | color: "red", // 这个return的就是样式 可以是color 也可以是backgroundColor |
| | | backgroundColor: '#AAD8DF !important', // 这个return的就是样式 可以是color 也可以是backgroundColor |
| | | // color: "#AAD8DF ", |
| | | }; |
| | | } |
| | | }, |