|
@@ -171,10 +171,20 @@
|
|
</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" style="background:rgb(255 106 0)" @click="handleAdd">减分录入</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="success"
|
|
|
|
+ v-if="queryParams.caoZuoType==0"
|
|
|
|
+ style="background:rgb(255 106 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" style="background: rgb(2 255 2)" @click="handleAdd">加分录入</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="success"
|
|
|
|
+ v-if="queryParams.caoZuoType==1"
|
|
|
|
+ style="background: rgb(3 157 3)"
|
|
|
|
+ @click="handleAdd"
|
|
|
|
+ >加分录入</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<!-- <el-col :span="1.5">
|
|
<!-- <el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
@@ -268,7 +278,7 @@
|
|
>{{scope.row.currentState}}</div>
|
|
>{{scope.row.currentState}}</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="事由" align="center" prop="question" />
|
|
|
|
|
|
+ <el-table-column label="事由" show-overflow-tooltip align="center" prop="question" />
|
|
<el-table-column
|
|
<el-table-column
|
|
label="整改时间"
|
|
label="整改时间"
|
|
align="center"
|
|
align="center"
|
|
@@ -297,11 +307,7 @@
|
|
@click="shenpifun(scope.row)"
|
|
@click="shenpifun(scope.row)"
|
|
v-if="queryParams.caoZuoType==0&&scope.row.isShenPi==0&&scope.row.currentState=='待验收'"
|
|
v-if="queryParams.caoZuoType==0&&scope.row.isShenPi==0&&scope.row.currentState=='待验收'"
|
|
>审批</el-button>
|
|
>审批</el-button>
|
|
- <el-button
|
|
|
|
- size="btd"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
|
- >删除</el-button>
|
|
|
|
|
|
+ <el-button size="btd" type="text" @click="handleDelete(scope.row)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -491,11 +497,11 @@
|
|
<fileUpload v-model="form.documentProof" />
|
|
<fileUpload v-model="form.documentProof" />
|
|
<!-- <el-input v-model="form.documentProof" placeholder="请输入文件举证" /> -->
|
|
<!-- <el-input v-model="form.documentProof" placeholder="请输入文件举证" /> -->
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <div class="jiben" v-if="btnnum==1">未通过原因</div>
|
|
|
|
- <el-form-item label prop="score" v-if="btnnum==1">
|
|
|
|
|
|
+ <div class="jiben" v-if="currentState==1">未通过原因</div>
|
|
|
|
+ <el-form-item label prop="score" v-if="currentState==1">
|
|
<el-input
|
|
<el-input
|
|
v-model="form.reasonReturn"
|
|
v-model="form.reasonReturn"
|
|
- :disabled="disabled"
|
|
|
|
|
|
+ :disabled="disabled||curr"
|
|
type="textarea"
|
|
type="textarea"
|
|
placeholder="请输入未通过原因"
|
|
placeholder="请输入未通过原因"
|
|
/>
|
|
/>
|
|
@@ -613,7 +619,9 @@ export default {
|
|
//区分减分、增改
|
|
//区分减分、增改
|
|
jiannum: null,
|
|
jiannum: null,
|
|
btnnum: null,
|
|
btnnum: null,
|
|
- disabled: false
|
|
|
|
|
|
+ disabled: false,
|
|
|
|
+ currentState:null,
|
|
|
|
+ curr:null,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -633,15 +641,15 @@ 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) {
|
|
if (this.$route.query.id) {
|
|
bumenlist(this.$route.query.id).then(res => {
|
|
bumenlist(this.$route.query.id).then(res => {
|
|
- console.log(1)
|
|
|
|
|
|
+ console.log(1);
|
|
this.regularinfoList = res.rows;
|
|
this.regularinfoList = res.rows;
|
|
this.total = res.total;
|
|
this.total = res.total;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.getList();
|
|
this.getList();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -723,6 +731,10 @@ export default {
|
|
this.title = "修改经常性检查";
|
|
this.title = "修改经常性检查";
|
|
this.jiannum = 1;
|
|
this.jiannum = 1;
|
|
this.btnnum = null;
|
|
this.btnnum = null;
|
|
|
|
+ if (this.form.currentState == "未通过") {
|
|
|
|
+ this.currentState = 1;
|
|
|
|
+ this.curr=true
|
|
|
|
+ }
|
|
});
|
|
});
|
|
},
|
|
},
|
|
/** 审批按钮操作 */
|
|
/** 审批按钮操作 */
|
|
@@ -752,6 +764,9 @@ export default {
|
|
zhenggaifun() {
|
|
zhenggaifun() {
|
|
this.jiannum = 0;
|
|
this.jiannum = 0;
|
|
this.btnnum = 1;
|
|
this.btnnum = 1;
|
|
|
|
+ this.disabled = false;
|
|
|
|
+ this.currentState=1;
|
|
|
|
+ this.curr=false;
|
|
// this.reset();
|
|
// this.reset();
|
|
// editissuccess().then(res => {
|
|
// editissuccess().then(res => {
|
|
// if (res.code == 200) {
|
|
// if (res.code == 200) {
|
|
@@ -902,7 +917,7 @@ export default {
|
|
color: #1c86e1;
|
|
color: #1c86e1;
|
|
}
|
|
}
|
|
.el-select-dropdown__item {
|
|
.el-select-dropdown__item {
|
|
- color: #fff;
|
|
|
|
|
|
+ color: #000;
|
|
}
|
|
}
|
|
.el-tree {
|
|
.el-tree {
|
|
background-color: #00365f;
|
|
background-color: #00365f;
|