huangbin il y a 4 ans
Parent
commit
9be7c0fae5

+ 1 - 1
src/common/setup/table/clolumn.ts

@@ -127,7 +127,7 @@ function getFromatterFn(val: string) {
         case 'getChangeLogType':  // 变更流水类型
             result = FormatterFn.getChangeLogType
             break
-        case 'getLogType' : // 计划类型
+        case 'getLogType': // 计划类型
             result = FormatterFn.getLogType
             break
         default:

+ 0 - 1
src/views/information/account_info/compoments/filterTable/index.vue

@@ -44,5 +44,4 @@ export default defineComponent({
 </script>
 
 <style lang="less">
-
 </style>;

+ 1 - 1
src/views/information/custom/compoments/filterTable/index.vue

@@ -30,7 +30,7 @@ export default defineComponent({
         ];
         const input: InputList[] = [
             { value: '', placeholder: '模糊搜索客户简称', key: 'nickname' },
-            { value: '', placeholder: '模糊搜索客户名称', key: 'name' },
+            { value: '', placeholder: '模糊搜索客户名称', key: 'customername' },
             { value: '', placeholder: '模糊搜索手机号码', key: 'mobile' },
         ];
         const { selectList, inputList, fixedBtnList } = handleFilter(select, input, context);

+ 5 - 5
src/views/information/custom/list/normal-use/index.vue

@@ -20,10 +20,10 @@
         <template #userinfotype="{ text }">
           <a>{{ text === 2 ? '企业' : '个人' }}</a>
         </template>
-          <!-- 客户名称 -->
-          <template #customername="{ record }">
-              <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
-          </template>
+        <!-- 客户名称 -->
+        <template #customername="{ record }">
+          <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
+        </template>
         <template #status="{ text }">
           <a>{{ getStatusName(text) }}</a>
         </template>
@@ -66,7 +66,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable();
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'contactname', 'mobile']);
+            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'customername', 'mobile']);
         });
         return {
             columns,

+ 2 - 2
src/views/platinum/platinum_customer_info/compoments/filterTable/index.vue

@@ -46,8 +46,8 @@ export default defineComponent({
         ]);
         const input: InputList[] = [
             { value: '', placeholder: '模糊搜索客户简称', key: 'nickname' },
-            { value: '', placeholder: '模糊搜索客户名称', key: 'name' },
-            // { value: '', placeholder: '模糊搜索手机号码', key: 'phone' },
+            { value: '', placeholder: '模糊搜索客户名称', key: 'customername' },
+            { value: '', placeholder: '模糊搜索手机号码', key: 'mobile' },
         ];
         // 是否包含子级 1-包含
         const includesub = ref<boolean>(false);