|
|
|
@ -32,7 +32,15 @@
|
|
|
|
|
:key="key"
|
|
|
|
|
>
|
|
|
|
|
{{
|
|
|
|
|
key == "district" ? componendDistrict(resData[key]) : resData[key]
|
|
|
|
|
key == "district"
|
|
|
|
|
? componendDistrict(resData[key])
|
|
|
|
|
: key == "status"
|
|
|
|
|
? fStatus(resData[key])
|
|
|
|
|
: key == "checkStatus"
|
|
|
|
|
? fcheckStatus(resData[key])
|
|
|
|
|
: key == "checkAgeing"
|
|
|
|
|
? fcheckAgeing(resData[key])
|
|
|
|
|
: resData[key]
|
|
|
|
|
}}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
@ -56,6 +64,12 @@ export default {
|
|
|
|
|
行政区划: "district",
|
|
|
|
|
计划年份: "plannedYear",
|
|
|
|
|
计划月份: "plannedMonth",
|
|
|
|
|
执法地区: "lawAreas",
|
|
|
|
|
执法级别: "lawLevel",
|
|
|
|
|
执法层级: "lawHierarchy",
|
|
|
|
|
状态: "status",
|
|
|
|
|
检查状态: "checkStatus",
|
|
|
|
|
检查失效: "checkAgeing",
|
|
|
|
|
发布时间: "createTime",
|
|
|
|
|
备注: "remark",
|
|
|
|
|
},
|
|
|
|
@ -68,6 +82,7 @@ export default {
|
|
|
|
|
openDialog(row) {
|
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
row["createTime"] = this.$moment(row.createTime).format("yyyy-MM-DD");
|
|
|
|
|
this.ObjectIndex = this.objInd1;
|
|
|
|
|
this.resData = row;
|
|
|
|
|
// console.log(row);
|
|
|
|
@ -75,6 +90,24 @@ export default {
|
|
|
|
|
closeDialog() {
|
|
|
|
|
this.dialogVisible = false;
|
|
|
|
|
},
|
|
|
|
|
fStatus(e) {
|
|
|
|
|
return e == 1 ? "正式" : e == 0 ? "草稿" : "";
|
|
|
|
|
},
|
|
|
|
|
fcheckStatus(e) {
|
|
|
|
|
return e == 1 ? "已检查" : "未检查";
|
|
|
|
|
},
|
|
|
|
|
fcheckAgeing(e) {
|
|
|
|
|
switch (e) {
|
|
|
|
|
case 1:
|
|
|
|
|
return "当月";
|
|
|
|
|
case 2:
|
|
|
|
|
return "提前";
|
|
|
|
|
case 3:
|
|
|
|
|
return "滞后";
|
|
|
|
|
default:
|
|
|
|
|
return "/";
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 匹配行政区划
|
|
|
|
|
componendDistrict(district) {
|
|
|
|
|
let fullName;
|
|
|
|
|