diff --git a/src/views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessContent.vue b/src/views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessContent.vue
index 0420611a..9d5d8952 100644
--- a/src/views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessContent.vue
+++ b/src/views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessContent.vue
@@ -25,6 +25,11 @@
:scroll="{x: '100%'}"
@change="tableOnChange">
+
+
+
+
+
{{ $t('edit') }}
@@ -44,6 +49,7 @@ import JTable from '@comp/jero/JTable'
import { JeroListMixin } from '@/mixins/JeroListMixin'
import InspectionProcessContentModal
from '@views/workCenter/enterpriseStandardInspectionProcess/modules/InspectionProcessContentModal'
+import { editInspectionContentTable } from '@api/workCenter'
export default {
name: 'InspectionProcessContent',
@@ -71,6 +77,13 @@ export default {
dataIndex: 'requirement',
scopedSlots: { customRender: 'text' }
},
+ { // 整改部门
+ title: this.$t('enterpriseStandardLibrary.standard.rectificationDepartment'),
+ align: 'center',
+ width: 200,
+ dataIndex: 'rectificationDepartment',
+ scopedSlots: { customRender: 'rectificationDepartment' }
+ },
{
// 操作
fixed: 'right',
@@ -104,6 +117,19 @@ export default {
this.model = Object.assign({}, record)
this.visible = true
},
+ // 整改部门修改
+ changeRowData (record, field) {
+ editInspectionContentTable({
+ id: record.id,
+ [field]: record[field] || ''
+ }).then(res => {
+ if (res.success) {
+ this.$message.success(res.message)
+ } else {
+ this.$message.warn(res.message)
+ }
+ })
+ },
// 确定
handleOk () {
// console.log(this.selectedRowKeys)