Commit d0d7be7c by 史敦盼

督查问题整改修改

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