|
@@ -180,6 +180,7 @@
|
|
v-if="queryParams.caoZuoType == 0"
|
|
v-if="queryParams.caoZuoType == 0"
|
|
style="background: #1d96ff"
|
|
style="background: #1d96ff"
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
|
|
+ v-hasPermi="['bdglregular:regularinfo:jian']"
|
|
>减分录入</el-button
|
|
>减分录入</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -188,6 +189,7 @@
|
|
type="success"
|
|
type="success"
|
|
v-if="queryParams.caoZuoType == 1"
|
|
v-if="queryParams.caoZuoType == 1"
|
|
style="background: #1d96ff"
|
|
style="background: #1d96ff"
|
|
|
|
+ v-hasPermi="['bdglregular:regularinfo:jia']"
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
>加分录入</el-button
|
|
>加分录入</el-button
|
|
>
|
|
>
|
|
@@ -251,14 +253,14 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- <el-table-column label="单位检查_id" align="center" prop="unitCheckId" /> -->
|
|
<!-- <el-table-column label="单位检查_id" align="center" prop="unitCheckId" /> -->
|
|
- <el-table-column label="检查单位" align="center" prop="unitCheck" />
|
|
|
|
|
|
+ <el-table-column label="检查单位" align="center" prop="unitCheck" width="150" />
|
|
<el-table-column
|
|
<el-table-column
|
|
label="检查时间"
|
|
label="检查时间"
|
|
align="center"
|
|
align="center"
|
|
prop="inspectionTime"
|
|
prop="inspectionTime"
|
|
width="150px"
|
|
width="150px"
|
|
/>
|
|
/>
|
|
- <el-table-column label="检查地点" align="center" prop="inspectionSite" />
|
|
|
|
|
|
+ <el-table-column width="250" show-overflow-tooltip label="检查地点" align="center" prop="inspectionSite" />
|
|
<el-table-column
|
|
<el-table-column
|
|
label="分值"
|
|
label="分值"
|
|
align="center"
|
|
align="center"
|
|
@@ -330,6 +332,8 @@
|
|
label="操作"
|
|
label="操作"
|
|
align="center"
|
|
align="center"
|
|
class-name="small-padding fixed-width"
|
|
class-name="small-padding fixed-width"
|
|
|
|
+ width="250"
|
|
|
|
+ fixed="right"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -355,8 +359,10 @@
|
|
"
|
|
"
|
|
>审批</el-button
|
|
>审批</el-button
|
|
>
|
|
>
|
|
|
|
+ <!-- v-if="scope.row.unitCheckId==this.danWies" -->
|
|
|
|
+ <!-- bdglregular:regularinfo:query -->
|
|
<el-button
|
|
<el-button
|
|
- v-if=""
|
|
|
|
|
|
+ v-if="scope.row.currentState=='待处理'&&scope.row.isShenPi==0"
|
|
size="btu"
|
|
size="btu"
|
|
type="text"
|
|
type="text"
|
|
@click="handleAdds(scope.row)"
|
|
@click="handleAdds(scope.row)"
|
|
@@ -809,7 +815,7 @@ export default {
|
|
},
|
|
},
|
|
// 用户
|
|
// 用户
|
|
user:{},
|
|
user:{},
|
|
- danWie:"",
|
|
|
|
|
|
+ // danWies:0,
|
|
yongHu:"",
|
|
yongHu:"",
|
|
// 表单参数
|
|
// 表单参数
|
|
form: {},
|
|
form: {},
|
|
@@ -855,6 +861,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ // this.danWiess()
|
|
this.queryParams = {
|
|
this.queryParams = {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
@@ -878,11 +885,7 @@ export default {
|
|
documentProof: null,
|
|
documentProof: null,
|
|
caoZuoType: 0,
|
|
caoZuoType: 0,
|
|
};
|
|
};
|
|
- getUserProfile().then((response) => {
|
|
|
|
- this.user = response.data;
|
|
|
|
- this.danWie = response.data.dept.deptName;
|
|
|
|
- this.yongHu = response.data.nickName;
|
|
|
|
- });
|
|
|
|
|
|
+ // this.danWiess()
|
|
//部门数据
|
|
//部门数据
|
|
getDept().then((res) => {
|
|
getDept().then((res) => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -957,13 +960,24 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
// listRegularinfos
|
|
// listRegularinfos
|
|
- console.log(to.query.obj);
|
|
|
|
|
|
+ // console.log(to.query.obj);
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
console.log(0);
|
|
console.log(0);
|
|
|
|
+ // this.danWiess()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ danWiess(){
|
|
|
|
+ // 获取当前用户接口
|
|
|
|
+ getUserProfile().then((response) => {
|
|
|
|
+ this.user = response.data;
|
|
|
|
+ console.log(this.user)
|
|
|
|
+ // console.log(response.data.dept.deptId+"这是")
|
|
|
|
+ // if(response)
|
|
|
|
+ this.danWies = response.data.dept.deptId;
|
|
|
|
+ });
|
|
|
|
+ },
|
|
/** 查询经常性检查列表 */
|
|
/** 查询经常性检查列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -1093,12 +1107,12 @@ export default {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.open1 = true;
|
|
this.open1 = true;
|
|
this.title = "修改经常性检查";
|
|
this.title = "修改经常性检查";
|
|
- this.jiannum = 1;
|
|
|
|
- this.btnnum = null;
|
|
|
|
- if (this.form.currentState == "未通过") {
|
|
|
|
- this.currentState = 1;
|
|
|
|
- this.curr = true;
|
|
|
|
- }
|
|
|
|
|
|
+ // this.jiannum = 1;
|
|
|
|
+ // this.btnnum = null;
|
|
|
|
+ // if (this.form.currentState == "未通过") {
|
|
|
|
+ // this.currentState = 1;
|
|
|
|
+ // this.curr = true;
|
|
|
|
+ // }
|
|
});
|
|
});
|
|
},
|
|
},
|
|
/** 审批按钮操作 */
|
|
/** 审批按钮操作 */
|
|
@@ -1157,7 +1171,7 @@ export default {
|
|
|
|
|
|
if (this.form.id != null) {
|
|
if (this.form.id != null) {
|
|
this.form.caoZuoType = this.queryParams.caoZuoType;
|
|
this.form.caoZuoType = this.queryParams.caoZuoType;
|
|
- editquestion(this.form).then((response) => {
|
|
|
|
|
|
+ updateRegularinfo(this.form).then((response) => {
|
|
this.$modal.msgSuccess("修改成功");
|
|
this.$modal.msgSuccess("修改成功");
|
|
this.open = false;
|
|
this.open = false;
|
|
this.open1 = false;
|
|
this.open1 = false;
|