shudonghui 1 năm trước cách đây
mục cha
commit
1d96afbebe

+ 4 - 3
src/views/project-quality/project-quality-manage/issues-feedback/index.vue

@@ -34,7 +34,7 @@
         :selected-row-keys="selectedRowKeys"
         @select-change="selectChange"
       >
-        <template #type="{ col, row }">
+        <template #custom-type="{ col, row }">
           {{ customerTypeFilter(row[col.colKey]) }}
         </template>
         <template #flow-status="{ col, row }">
@@ -234,9 +234,10 @@ const columns = [
   },
   { colKey: 'problemNo', title: '质量问题编号', width: 200 },
   { colKey: 'crmNo', title: '项目单号', width: 200 },
-  { colKey: 'customType', title: '客户类型', cell: 'type', width: 120 },
+  { colKey: 'customType', title: '客户类型', cell: 'custom-type', width: 120 },
   { colKey: 'custom', title: '客户名称', width: 140 },
-  { colKey: 'productName', title: '实施产品' },
+  // { colKey: 'productName', title: '实施产品' },
+  { colKey: 'sopTypeStr', title: '实施产品' },
   { colKey: 'summary', title: '问题简要' },
   { colKey: 'userNames', title: '责任人', width: 140 },
   { colKey: 'type', title: '问题类型', cell: 'issues-type', width: 120 },

+ 4 - 3
src/views/project-quality/project-quality-manage/issues-query/index.vue

@@ -22,7 +22,7 @@
           current: pagination.pageNumber,
         }"
       >
-        <template #type="{ col, row }">
+        <template #custom-type="{ col, row }">
           {{ customerTypeFilter(row[col.colKey]) }}
         </template>
         <template #issues-type="{ col, row }">
@@ -175,9 +175,10 @@ const computedParams = computed(() => {
 const columns = [
   { colKey: 'problemNo', title: '质量问题编号' },
   { colKey: 'crmNo', title: '项目单号' },
-  { colKey: 'customType', title: '客户类型', cell: 'type', width: 100 },
+  { colKey: 'customType', title: '客户类型', cell: 'custom-type', width: 100 },
   { colKey: 'custom', title: '客户名称' },
-  { colKey: 'sopType', title: '实施产品' },
+  // { colKey: 'sopType', title: '实施产品' },
+  { colKey: 'sopTypeStr', title: '实施产品' },
   { colKey: 'summary', title: '问题简要' },
   { colKey: 'userName', title: '责任人' },
   { colKey: 'type', title: '问题类型', cell: 'issues-type', width: 120 },

+ 2 - 2
src/views/sop/sop-monitor/violation-registration/flow-dialog.vue

@@ -26,7 +26,7 @@
               </t-col>
               <t-col :span="3">
                 <t-form-item label="客户类型">{{
-                  curRow.customType
+                    customerTypeFilter(curRow.customType)
                 }}</t-form-item>
               </t-col>
               <t-col :span="3">
@@ -149,7 +149,7 @@ import { MessagePlugin } from 'tdesign-vue-next';
 import { ref, computed } from 'vue';
 import { useUserStore } from '@/store';
 import { violationDetailList, flowViolation } from '@/api/sop';
-import { timestampFilter, violationTypeFilter } from '@/utils/filter';
+import {customerTypeFilter, timestampFilter, violationTypeFilter} from '@/utils/filter';
 
 const userStore = useUserStore();
 

+ 1 - 1
src/views/system/notice-log/notice-manage/edit-notice-dialog.vue

@@ -67,7 +67,7 @@
           >返回</t-button
         >
         <div>
-          <t-button theme="default" @click="save">保存草稿</t-button>
+          <t-button theme="default" @click="save(false)">保存草稿</t-button>
           <t-button theme="primary" ghost @click="onPreview">预览</t-button>
           <t-button theme="primary" @click="save(true)">保存并发布</t-button>
         </div>