测试问题修改

master
zhangdi 11 months ago
parent d1eaa2720b
commit 8e3df787cf
  1. 8
      src/views/businessManagement/inspection/repair.vue
  2. 2
      src/views/businessManagement/inspection/task.vue

@ -81,8 +81,8 @@
<el-table-column prop="isRepair" align="center" label="是否维修" v-if="errorForm.repairStatus >= 3"> <el-table-column prop="isRepair" align="center" label="是否维修" v-if="errorForm.repairStatus >= 3">
<template slot-scope="scope"> <template slot-scope="scope">
<el-radio-group v-model="scope.row.isRepair" fill="red"> <el-radio-group v-model="scope.row.isRepair" fill="red">
<el-radio :disabled="viewType == 'view' || viewType == 'evaluate'" :label="1"></el-radio> <el-radio :disabled="viewType == 'view' || viewType == 'evaluate'||dataTypes != 1" :label="1"></el-radio>
<el-radio :disabled="viewType == 'view' || viewType == 'evaluate'" class="error_radio" <el-radio :disabled="viewType == 'view' || viewType == 'evaluate'||dataTypes != 1" class="error_radio"
:label="0"></el-radio> :label="0"></el-radio>
</el-radio-group> </el-radio-group>
</template> </template>
@ -568,7 +568,7 @@ export default {
}, },
methods: { methods: {
tableRowClassName({ row, rowIndex }) { tableRowClassName({ row, rowIndex }) {
if (row.isRepair == 0 && this.dataTypes == 1) { // if (row.repairStatus >= 4&&row.isRepair == 0 && this.dataTypes == 1) { //
return 'highlight-row'; return 'highlight-row';
} }
return ''; return '';
@ -983,7 +983,7 @@ export default {
if (this.nameImg != '') { if (this.nameImg != '') {
const formData = new FormData(); const formData = new FormData();
formData.append('file', this.base64toFile(this.nameImg)); formData.append('file', this.base64toFile(this.nameImg));
if(this.errorForm.isOkValidity==''||this.errorForm.isOkQuality==''||this.errorForm.isOkSecure==''){ if(this.errorForm.isOkValidity===''||this.errorForm.isOkQuality===''||this.errorForm.isOkSecure===''){
this.$message.error('请填写满意度') this.$message.error('请填写满意度')
return false return false
} }

@ -806,7 +806,7 @@ export default {
this.fileList = [] this.fileList = []
getDetail({ id: row.id }).then(res => { getDetail({ id: row.id }).then(res => {
this.addForm = res.data.data this.addForm = res.data.data
getRepairPeople({ isRepair: this.role_id == '1839537055389515777' ? true : false }).then(res => { getRepairPeople().then(res => {
this.repairPersonList = res.data.data this.repairPersonList = res.data.data
}) })
// getDeepData({parentId:res.data.data.deptId}).then(result =>{ // getDeepData({parentId:res.data.data.deptId}).then(result =>{

Loading…
Cancel
Save