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' } },