huangbin 4 anos atrás
pai
commit
595e4b84d1

+ 4 - 1
src/services/bus/index.ts

@@ -5,7 +5,7 @@ import { checkTokenLoop, handleTokenCheck } from '@/services/bus/token';
 import { getAllEnums, GetPCMenus, getServerTime, queryErrorInfos, QueryTableDefine } from '@/services/go/commonService/index';
 import { getAppConfig, getCommonApiUrl } from '@/services/go/config';
 import { LoginQuery } from '@/services/go/useInfo/index';
-import { handleOem, setServiceURL } from '@/services/request/serviceURL';
+import { handleOem, serviceURL, setServiceURL } from '@/services/request/serviceURL';
 import ProtobufCtr from '@/services/socket/protobuf/index';
 import { localStorageUtil } from '@/utils/storage';
 import { message } from 'ant-design-vue';
@@ -81,6 +81,9 @@ function setIcon() {
     }
     Object.assign(link, obj)
     document.title = 'WebPC'
+    if (serviceURL.oem === 'yrdz') {
+        document.title = '云融'
+    }
     document.getElementsByTagName('head')[0].appendChild(link);
 }
 /**

+ 3 - 2
src/views/information/custom/compoments/add/setup.ts

@@ -10,7 +10,7 @@ import { FormState } from './interface';
 
 /**
  * 获取证件类型
- * @returns 
+ * @returns
  */
 export function getCardType() {
     const arr = [2, 4, 18, 21];
@@ -27,6 +27,7 @@ export function handleForm() {
     const rules = {
         userinfotype: [{ required: true, message: '请选择客户类型', trigger: 'change' }],
         customername: [{ required: true, message: '请输入企业名称', trigger: 'blur' }],
+        mobilephone: [{ required: true, message: '请输入联系人手机号', trigger: 'blur' }],
         nickname: [{ required: true, message: '请输入企业简称', trigger: 'blur' }],
         cardtype: [{ required: true, validator: v_cardtype, trigger: 'change' }],
     };
@@ -35,7 +36,7 @@ export function handleForm() {
 
 /**
  * 初始化表单数据
- * @returns 
+ * @returns
  */
 export function initFormState(): FormState {
     return {

+ 5 - 2
src/views/market/spot_trade/components/buy-sell-market/components/buy/index.vue

@@ -95,8 +95,11 @@ export default defineComponent({
             isDetail: false,
         };
         function handleColumn(columns: ColumnType[]) {
-            const item = columns[1];
-            delete item.width;
+            columns.forEach((item) => {
+                if (item.dataIndex !== 'index') {
+                    delete item.width;
+                }
+            });
             return columns;
         }
         function handleBtnList() {}