|
@@ -171,10 +171,10 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
- <el-button type="success" v-if="queryParams.caoZuoType==0" @click="handleAdd">减分</el-button>
|
|
|
|
|
|
+ <el-button type="success" v-if="queryParams.caoZuoType==0" @click="handleAdd">减分录入</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
- <el-button type="success" v-if="queryParams.caoZuoType==1" @click="handleAdd">加分</el-button>
|
|
|
|
|
|
+ <el-button type="success" v-if="queryParams.caoZuoType==1" @click="handleAdd">加分录入</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<!-- <el-col :span="1.5">
|
|
<!-- <el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
@@ -256,7 +256,7 @@
|
|
>{{scope.row.currentState}}</div>
|
|
>{{scope.row.currentState}}</div>
|
|
<div
|
|
<div
|
|
style="color:#3498db;"
|
|
style="color:#3498db;"
|
|
- v-if="scope.row.currentState=='待验收'"
|
|
|
|
|
|
+ v-if="scope.row.currentState=='待验收'"
|
|
>{{scope.row.currentState}}</div>
|
|
>{{scope.row.currentState}}</div>
|
|
<div
|
|
<div
|
|
style="color:#38d764;"
|
|
style="color:#38d764;"
|
|
@@ -374,7 +374,12 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>-->
|
|
</el-form-item>-->
|
|
<el-form-item label="类型" prop="inspectionType">
|
|
<el-form-item label="类型" prop="inspectionType">
|
|
- <el-select v-model="form.inspectionType" :disabled="disabled" clearable placeholder="请选择类型">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="form.inspectionType"
|
|
|
|
+ :disabled="disabled"
|
|
|
|
+ clearable
|
|
|
|
+ placeholder="请选择类型"
|
|
|
|
+ >
|
|
<el-option
|
|
<el-option
|
|
v-for="dict in inspectionType"
|
|
v-for="dict in inspectionType"
|
|
:key="dict.dictValue"
|
|
:key="dict.dictValue"
|
|
@@ -402,11 +407,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="分值" prop="score" v-if="jiannum==0">
|
|
<el-form-item label="分值" prop="score" v-if="jiannum==0">
|
|
<!-- <el-input v-model="form.score" type="number" @blur="scoreblur" :disabled="disabled" placeholder="请输入分值" /> -->
|
|
<!-- <el-input v-model="form.score" type="number" @blur="scoreblur" :disabled="disabled" placeholder="请输入分值" /> -->
|
|
- <el-input-number
|
|
|
|
- v-model="form.score"
|
|
|
|
- controls-position="right"
|
|
|
|
- :min="0"
|
|
|
|
- ></el-input-number>
|
|
|
|
|
|
+ <el-input-number v-model="form.score" controls-position="right" :min="0"></el-input-number>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="整改时间" prop="rectificationTime" v-if="queryParams.caoZuoType==0">
|
|
<el-form-item label="整改时间" prop="rectificationTime" v-if="queryParams.caoZuoType==0">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
@@ -467,11 +468,21 @@
|
|
<div class="jiben" v-if="queryParams.caoZuoType==0">存在问题</div>
|
|
<div class="jiben" v-if="queryParams.caoZuoType==0">存在问题</div>
|
|
<div class="jiben" v-if="queryParams.caoZuoType==1">加分事由</div>
|
|
<div class="jiben" v-if="queryParams.caoZuoType==1">加分事由</div>
|
|
<el-form-item label prop="question">
|
|
<el-form-item label prop="question">
|
|
- <el-input v-model="form.question" :disabled="disabled" type="textarea" placeholder="请输入内容" />
|
|
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.question"
|
|
|
|
+ :disabled="disabled"
|
|
|
|
+ type="textarea"
|
|
|
|
+ placeholder="请输入内容"
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<div class="jiben" v-if="jiannum!=0">整改措施</div>
|
|
<div class="jiben" v-if="jiannum!=0">整改措施</div>
|
|
<el-form-item label prop="correctiveAction" v-if="jiannum!=0">
|
|
<el-form-item label prop="correctiveAction" v-if="jiannum!=0">
|
|
- <el-input v-model="form.correctiveAction" :disabled="disabled" type="textarea" placeholder="请输入内容" />
|
|
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.correctiveAction"
|
|
|
|
+ :disabled="disabled"
|
|
|
|
+ type="textarea"
|
|
|
|
+ placeholder="请输入内容"
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<div class="jiben" v-if="jiannum!=0">图片举证</div>
|
|
<div class="jiben" v-if="jiannum!=0">图片举证</div>
|
|
<el-form-item label prop="pictureProof" v-if="jiannum!=0">
|
|
<el-form-item label prop="pictureProof" v-if="jiannum!=0">
|
|
@@ -485,7 +496,12 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<div class="jiben" v-if="btnnum==1">未通过原因</div>
|
|
<div class="jiben" v-if="btnnum==1">未通过原因</div>
|
|
<el-form-item label prop="score" v-if="btnnum==1">
|
|
<el-form-item label prop="score" v-if="btnnum==1">
|
|
- <el-input v-model="form.reasonReturn" :disabled="disabled" type="textarea" placeholder="请输入未通过原因" />
|
|
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.reasonReturn"
|
|
|
|
+ :disabled="disabled"
|
|
|
|
+ type="textarea"
|
|
|
|
+ placeholder="请输入未通过原因"
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -511,7 +527,8 @@ import {
|
|
listPeople,
|
|
listPeople,
|
|
editquestion,
|
|
editquestion,
|
|
editissuccess,
|
|
editissuccess,
|
|
- editisfalse
|
|
|
|
|
|
+ editisfalse,
|
|
|
|
+ bumenlist
|
|
} from "@/api/bdglregular/regularinfo";
|
|
} from "@/api/bdglregular/regularinfo";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -599,12 +616,10 @@ export default {
|
|
//区分减分、增改
|
|
//区分减分、增改
|
|
jiannum: null,
|
|
jiannum: null,
|
|
btnnum: null,
|
|
btnnum: null,
|
|
- disabled:false,
|
|
|
|
-
|
|
|
|
|
|
+ disabled: false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.getList();
|
|
|
|
//部门数据
|
|
//部门数据
|
|
getDept().then(res => {
|
|
getDept().then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -621,6 +636,17 @@ export default {
|
|
this.getDicts("inspectionType").then(response => {
|
|
this.getDicts("inspectionType").then(response => {
|
|
this.inspectionType = response.data;
|
|
this.inspectionType = response.data;
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ if (this.$route.query.id) {
|
|
|
|
+ bumenlist(this.$route.query.id).then(res => {
|
|
|
|
+ console.log(1)
|
|
|
|
+ this.regularinfoList = res.rows;
|
|
|
|
+ this.total = res.total;
|
|
|
|
+ this.loading = false;
|
|
|
|
+ });
|
|
|
|
+ }else{
|
|
|
|
+ this.getList();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
/** 查询经常性检查列表 */
|
|
/** 查询经常性检查列表 */
|
|
@@ -707,7 +733,7 @@ export default {
|
|
this.reset();
|
|
this.reset();
|
|
const id = row.id || this.ids;
|
|
const id = row.id || this.ids;
|
|
getRegularinfo(id).then(response => {
|
|
getRegularinfo(id).then(response => {
|
|
- this.disabled=true;
|
|
|
|
|
|
+ this.disabled = true;
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改经常性检查";
|
|
this.title = "修改经常性检查";
|
|
@@ -814,10 +840,10 @@ export default {
|
|
caoZuoTypefun() {
|
|
caoZuoTypefun() {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
- scoreblur(){
|
|
|
|
- if(this.form.score<0){
|
|
|
|
- this.form.score=null;
|
|
|
|
- }
|
|
|
|
|
|
+ scoreblur() {
|
|
|
|
+ if (this.form.score < 0) {
|
|
|
|
+ this.form.score = null;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|