页面调整

This commit is contained in:
zxy
2024-02-22 16:57:46 +08:00
parent 2ea01fdee8
commit c9ede71cd8
3 changed files with 24 additions and 24 deletions

View File

@@ -19,20 +19,20 @@
</template>
<script>
import { isMobile } from "@/util/validate";
// import { isMobile } from "@/util/validate";
import { getAdmin } from "@/api/manage/company";
import { add } from "@/api/manage/account";
import { check18IdCardNo } from "@/util/validate";
// import { check18IdCardNo } from "@/util/validate";
import md5 from "js-md5";
import lodash from "lodash";
const validateMobile = (rule, value, callback) => {
if (isMobile(value)) {
callback();
} else {
callback(new Error("手机号格式不正确"));
}
};
// const validateMobile = (rule, value, callback) => {
// if (isMobile(value)) {
// callback();
// } else {
// callback(new Error("手机号格式不正确"));
// }
// };
export default {
props: {},
@@ -67,7 +67,7 @@ export default {
message: "请输入登录手机号",
trigger: "blur",
},
{ validator: validateMobile, trigger: "blur" },
// { validator: validateMobile, trigger: "blur" },
],
span: 12,
},
@@ -115,15 +115,15 @@ export default {
message: "请输入身份证号",
trigger: "blur",
},
{
validator: (rule, value, callback) => {
if (check18IdCardNo(value)) {
callback();
} else {
callback(new Error("身份证格式不正确"));
}
},
},
// {
// validator: (rule, value, callback) => {
// if (check18IdCardNo(value)) {
// callback();
// } else {
// callback(new Error("身份证格式不正确"));
// }
// },
// },
],
},
{

View File

@@ -8,8 +8,8 @@
<template slot="menuLeft">
<el-button v-if="vaildData(permission.manage_compan_companyList_addUser, false)" size="small"
@click.stop="handleAddUser" type="primary" :disabled="selectionList.length === 0">添加账号</el-button>
<el-button v-if="vaildData(permission.manage_compan_companyList_config, false)" size="small"
@click.stop="handleConfig" type="primary" :disabled="selectionList.length === 0">服务设置</el-button>
<!-- <el-button v-if="vaildData(permission.manage_compan_companyList_config, false)" size="small"
@click.stop="handleConfig" type="primary" :disabled="selectionList.length === 0">服务设置</el-button> -->
<el-button v-if="vaildData(permission.manage_compan_companyList_check, false)" size="small"
@click.stop="handleCheck" type="primary" :disabled="selectionList.length === 0">审核</el-button>
</template>
@@ -197,7 +197,7 @@ export default {
viewBtn: true,
addBtn: true,
editBtn: true,
addBtnText: "企业开户",
addBtnText: "社区街道登记",
addTitle: "新增企业",
delBtn: false,
menuWidth: 300,

View File

@@ -23,9 +23,9 @@ module.exports = {
port: 1888,
proxy: {
"/api": {
// target: 'http://192.168.3.104:8000', // 本地服务接口地址
target: 'http://192.168.3.104:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址
target: "http://192.168.3.111:8000", // 本地
// target: "http://192.168.3.111:8000", // 本地
ws: true,
changeOrigin: true,
pathRewrite: {