From 8d4d603325a74b9a4a8050d46f70989bb79ff62a Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Wed, 19 Jan 2022 10:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=89=8B=E6=9C=BA=E6=AD=A3=E5=88=99=E8=A1=A8=E8=BE=BE?= =?UTF-8?q?=E5=BC=8F=20=E8=B0=83=E6=95=B4=E6=89=93=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E6=94=B6=E5=85=A5=E5=90=88=E5=90=8C=20=E6=94=AF?= =?UTF-8?q?=E5=87=BA=E5=90=88=E5=90=8C=E5=88=97=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/validate.js | 3 ++- .../ExpenditureContractList.vue | 14 +++++++------- .../revenueContract/RevenueContractList.vue | 16 ++++++++-------- src/views/packManagement/PackCompanyList.vue | 7 +++---- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/utils/validate.js b/src/utils/validate.js index 07dfc3b..90a3023 100644 --- a/src/utils/validate.js +++ b/src/utils/validate.js @@ -35,9 +35,10 @@ export function passwordReg(s) { /** * 手机号 + * /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/ * */ export function phoneReg(s) { - return /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/.test(s) + return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(s) } /** diff --git a/src/views/contractManagement/expenditureContract/ExpenditureContractList.vue b/src/views/contractManagement/expenditureContract/ExpenditureContractList.vue index 5fe893a..2f79383 100644 --- a/src/views/contractManagement/expenditureContract/ExpenditureContractList.vue +++ b/src/views/contractManagement/expenditureContract/ExpenditureContractList.vue @@ -179,44 +179,44 @@ export default { }, { title: '合同编号', align: 'center', - width: 280, + width: 200, dataIndex: 'contractNum', scopedSlots: { customRender: 'projectName' } }, { title: '合同名称', align: 'center', dataIndex: 'contractName', - width: 280, + width: 220, scopedSlots: { customRender: 'text' } }, { title: '签订单位', align: 'center', dataIndex: 'signedCompanyTemporaryName', - width: 280, + width: 220, scopedSlots: { customRender: 'text' } }, { title: '负责人', align: 'center', dataIndex: 'principalName', - width: 280, + width: 160, scopedSlots: { customRender: 'text' } }, { title: '合同总金额', align: 'center', dataIndex: 'contractAmount', - width: 200, + width: 160, scopedSlots: { customRender: 'text' } }, { title: '状态', align: 'center', dataIndex: 'status_dictText', - width: 150, + width: 100, scopedSlots: { customRender: 'text' } }, { title: '创建时间', align: 'center', dataIndex: 'createTime', - width: 250 + width: 200 }, { title: '操作', dataIndex: 'action', diff --git a/src/views/contractManagement/revenueContract/RevenueContractList.vue b/src/views/contractManagement/revenueContract/RevenueContractList.vue index 534dcba..0a803e3 100644 --- a/src/views/contractManagement/revenueContract/RevenueContractList.vue +++ b/src/views/contractManagement/revenueContract/RevenueContractList.vue @@ -207,48 +207,48 @@ export default { title: '合同编号', align: 'center', dataIndex: 'contractNum', - width: 280, + width: 240, scopedSlots: { customRender: 'projectName' } }, { title: '合同名称', align: 'center', dataIndex: 'contractName', - width: 280, + width: 240, scopedSlots: { customRender: 'text' } }, { title: '关联项目', align: 'center', dataIndex: 'associatedProject', - width: 280, + width: 240, scopedSlots: { customRender: 'text' } }, { title: '签订单位', align: 'center', dataIndex: 'signedCompanyTemporaryName', - width: 280, + width: 240, scopedSlots: { customRender: 'text' } }, { title: '签订联系人', align: 'center', dataIndex: 'signedContactsTemporaryName', - width: 280, + width: 160, scopedSlots: { customRender: 'text' } }, { title: '合同总金额', align: 'center', dataIndex: 'contractAmount', - width: 250 + width: 160 }, { title: '状态', align: 'center', dataIndex: 'status_dictText', - width: 250, + width: 100, scopedSlots: { customRender: 'text' } }, { title: '创建时间', align: 'center', dataIndex: 'createTime', - width: 250 + width: 200 }, { title: '操作', dataIndex: 'action', diff --git a/src/views/packManagement/PackCompanyList.vue b/src/views/packManagement/PackCompanyList.vue index ce09250..91cd112 100644 --- a/src/views/packManagement/PackCompanyList.vue +++ b/src/views/packManagement/PackCompanyList.vue @@ -110,20 +110,20 @@ export default { }, { title: '企业名称', align: 'center', - width: 280, + width: 240, dataIndex: 'companyTemporaryName', scopedSlots: { customRender: 'projectName' } }, { title: '企业联系人', align: 'center', - width: 280, + width: 240, dataIndex: 'companyContactTemporaryName', scopedSlots: { customRender: 'text' } },{ title: '打包联系人', align: 'center', - width: 280, + width: 240, dataIndex: 'packContactTemporaryName', scopedSlots: { customRender: 'text' } }, { @@ -141,7 +141,6 @@ export default { }, { title: '打包年份', align: 'center', - width: 140, dataIndex: 'packYear', scopedSlots: { customRender: 'text' } },