Commit d0d7be7c by 史敦盼

督查问题整改修改

1 parent 78cc68f4
...@@ -117,3 +117,10 @@ export const architectureFollowsReviewEnum = [ ...@@ -117,3 +117,10 @@ export const architectureFollowsReviewEnum = [
value: 'SECURITY_ARCHITECTURE_CONFORMANCE_SUPERVISE', value: 'SECURITY_ARCHITECTURE_CONFORMANCE_SUPERVISE',
}, },
] ]
export const rectificationState = [
{ label: '待整改', value: 0 },
{ label: '已整改', value: 1 },
{ label: '整改未通过', value: 2 },
{ label: '已关闭', value: 3 },
]
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
element: 'el-input', // 指定elementui组件 element: 'el-input', // 指定elementui组件
placeholder: '请选择', // elementui组件属性 placeholder: '请选择', // elementui组件属性
span: 12, span: 12,
readonly: true,
// rules: [{ required: true, trigger: 'blur', message: '不能为空' }], // rules: [{ required: true, trigger: 'blur', message: '不能为空' }],
}, },
{ {
...@@ -65,6 +66,7 @@ export default { ...@@ -65,6 +66,7 @@ export default {
element: 'el-select', // 指定elementui组件 element: 'el-select', // 指定elementui组件
placeholder: '请选择', // elementui组件属性 placeholder: '请选择', // elementui组件属性
span: 12, span: 12,
disabled: true,
}, },
{ {
label: '通报时间', // label文字 label: '通报时间', // label文字
...@@ -74,6 +76,7 @@ export default { ...@@ -74,6 +76,7 @@ export default {
element: 'el-date-picker', // 指定elementui组件 element: 'el-date-picker', // 指定elementui组件
placeholder: '请选择', // elementui组件属性 placeholder: '请选择', // elementui组件属性
span: 12, span: 12,
readonly: true,
}, },
{ {
label: '项目评分', // label文字 label: '项目评分', // label文字
...@@ -82,6 +85,7 @@ export default { ...@@ -82,6 +85,7 @@ export default {
span: 12, span: 12,
colors: ['#99A9BF', '#F7BA2A', '#FF9900'], colors: ['#99A9BF', '#F7BA2A', '#FF9900'],
allowHalf: true, allowHalf: true,
disabled: true,
}, },
{ {
label: '通报内容', // label文字 label: '通报内容', // label文字
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Autor: pan * @Autor: pan
* @Date: 2024-03-26 10:53:48 * @Date: 2024-03-26 10:53:48
* @LastEditors: pan * @LastEditors: pan
* @LastEditTime: 2024-03-27 10:09:56 * @LastEditTime: 2024-03-28 15:21:56
--> -->
<template> <template>
<div class="searchTable"> <div class="searchTable">
...@@ -49,6 +49,7 @@ import Edit from './Edit.vue' ...@@ -49,6 +49,7 @@ import Edit from './Edit.vue'
import { updReportManage, delReportManage } from '@/api/index.js' import { updReportManage, delReportManage } from '@/api/index.js'
import { querySupervisionNotifyManagement } from '@/api/interface' import { querySupervisionNotifyManagement } from '@/api/interface'
import { approvalStatusOptions } from '@/utils/dictionary' import { approvalStatusOptions } from '@/utils/dictionary'
import { stateCode } from '@/utils/architectureInspectionDis'
export default { export default {
name: 'supervisionNotifyManagement', name: 'supervisionNotifyManagement',
components: { components: {
...@@ -92,7 +93,13 @@ export default { ...@@ -92,7 +93,13 @@ export default {
width: '160px', width: '160px',
prop: 'reportTime', prop: 'reportTime',
}, },
{ label: '版本号', width: '100px', prop: 'version' }, {
label: '状态',
width: '100px',
prop: 'state',
collectionType: true,
options: stateCode,
},
{ label: '修改意见', prop: 'opinion', width: '220px' }, { label: '修改意见', prop: 'opinion', width: '220px' },
{ {
label: '操作', label: '操作',
......
...@@ -33,9 +33,8 @@ export default { ...@@ -33,9 +33,8 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
rowData: { id: {
type: Object, type: Number,
default: () => {},
}, },
}, },
data() { data() {
...@@ -80,6 +79,7 @@ export default { ...@@ -80,6 +79,7 @@ export default {
const params = { const params = {
...formInfo, ...formInfo,
state: 3, state: 3,
id: this.id,
} }
updRectifyReform(params).then((res) => { updRectifyReform(params).then((res) => {
if (res.code === 200) { if (res.code === 200) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Autor: pan * @Autor: pan
* @Date: 2024-03-26 10:53:48 * @Date: 2024-03-26 10:53:48
* @LastEditors: pan * @LastEditors: pan
* @LastEditTime: 2024-03-27 09:57:57 * @LastEditTime: 2024-03-28 15:26:49
--> -->
<template> <template>
<div class="searchTable"> <div class="searchTable">
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
</table-config> </table-config>
</template> </template>
</list-page> </list-page>
<CloseProblem @querySearch="querySearch" :visible.sync="visible" /> <CloseProblem
:id="rowId"
@querySearch="querySearch"
:visible.sync="visible"
/>
</div> </div>
</template> </template>
...@@ -37,7 +41,7 @@ import CloseProblem from './CloseProblem.vue' ...@@ -37,7 +41,7 @@ import CloseProblem from './CloseProblem.vue'
import { updRectifyReform } from '@/api/index.js' import { updRectifyReform } from '@/api/index.js'
import { querySupervisionProblem } from '@/api/interface' import { querySupervisionProblem } from '@/api/interface'
import { whether } from '@/utils/dictionary' import { whether, rectificationState } from '@/utils/dictionary'
export default { export default {
name: 'supervisionProblemEdit', name: 'supervisionProblemEdit',
components: { components: {
...@@ -55,6 +59,7 @@ export default { ...@@ -55,6 +59,7 @@ export default {
queryParam: {}, queryParam: {},
}, },
visible: false, visible: false,
rowId: null,
} }
}, },
computed: { computed: {
...@@ -85,7 +90,12 @@ export default { ...@@ -85,7 +90,12 @@ export default {
{ label: '指标评价', prop: 'indexOpinion' }, { label: '指标评价', prop: 'indexOpinion' },
{ label: '指标评分', prop: 'score' }, { label: '指标评分', prop: 'score' },
{ label: '整改日期', prop: 'createTime', width: '120px' }, { label: '整改日期', prop: 'createTime', width: '120px' },
{ label: '整改情况', prop: 'state' }, {
label: '整改情况',
prop: 'state',
options: rectificationState,
collectionType: true,
},
{ {
label: '是否典型问题', label: '是否典型问题',
prop: 'typical', prop: 'typical',
...@@ -165,7 +175,7 @@ export default { ...@@ -165,7 +175,7 @@ export default {
this.fnSubmit(row, '整改未通过', 2) this.fnSubmit(row, '整改未通过', 2)
break break
case '关闭问题': case '关闭问题':
this.fnCloseProblem() this.fnCloseProblem(row)
break break
default: default:
break break
...@@ -193,8 +203,9 @@ export default { ...@@ -193,8 +203,9 @@ export default {
}) })
.catch(() => {}) .catch(() => {})
}, },
fnCloseProblem() { fnCloseProblem(row) {
this.visible = true this.visible = true
this.rowId = row.id
}, },
}, },
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!