| | |
| | | }) |
| | | } |
| | | |
| | | export const getListrel = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/recordlegalperson/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/permit/detail', |
| | |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | total: 0 |
| | | }, |
| | | attachBox: false, |
| | | selectionList: [], |
| | |
| | | { |
| | | label: "附件名称", |
| | | prop: "originalname", |
| | | overHidden: true, |
| | | overHidden: true |
| | | }, |
| | | { |
| | | label: "附件状态", |
| | | prop: "type", |
| | | width: 110, |
| | | slot: true, |
| | | overHidden: true, |
| | | overHidden: true |
| | | }, |
| | | { |
| | | label: "示范模板", |
| | | prop: "downtemplate", |
| | | width: 110, |
| | | // overHidden: true, |
| | | slot: true, |
| | | }, |
| | | ], |
| | | slot: true |
| | | } |
| | | ] |
| | | }, |
| | | data: [], |
| | | attachForm: {}, |
| | |
| | | span: 12, |
| | | drag: true, |
| | | propsHttp: { |
| | | res: "data", |
| | | res: "data" |
| | | }, |
| | | tip: "支持上传jpg/png/doc/docx/xls/xlsx文件,图片不超过500Kb,文档不超过3Mb", |
| | | tip: |
| | | "支持上传jpg/png/doc/docx/xls/xlsx文件,图片不超过500Kb,文档不超过3Mb", |
| | | action: |
| | | // "/api/blade-resource/oss/endpoint/put-file-attach", |
| | | "/api/blade-resource/oss/endpoint/put-file-attach?deptid=&type=" + |
| | | type + |
| | | "&cardid=" + |
| | | cardid, |
| | | }, |
| | | ], |
| | | cardid |
| | | } |
| | | ] |
| | | }, |
| | | imgSee: false, |
| | | imgUrl: "", |
| | |
| | | saveIds: [], |
| | | saveLinks: [], |
| | | onceIds: "", |
| | | onceLinks: "", |
| | | onceLinks: "" |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | addBtn: false, |
| | | editBtn: false, |
| | | viewBtn: false, |
| | | delBtn: this.vaildData(this.permission.attach_delete, false), |
| | | delBtn: this.vaildData(this.permission.attach_delete, false) |
| | | }; |
| | | }, |
| | | ids() { |
| | | let ids = []; |
| | | this.selectionList.forEach((ele) => { |
| | | this.selectionList.forEach(ele => { |
| | | ids.push(ele.id); |
| | | }); |
| | | return ids.join(","); |
| | | }, |
| | | } |
| | | }, |
| | | mounted() { |
| | | // console.log(this.enclosure, "enclosure"); |
| | |
| | | }, |
| | | methods: { |
| | | upData(val) { |
| | | console.log(val); |
| | | this.onceIds = +val.id - 1 + ""; |
| | | // console.log(val); |
| | | this.onceIds = +val.id + ""; |
| | | this.attachBox = true; |
| | | }, |
| | | dowmData(val) { |
| | |
| | | this.attachBox = true; |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(res.link); |
| | | // window.console.log(res.link); |
| | | var test = /^http:\/\/.*/; |
| | | if (!test.test(res.link)) { |
| | | this.$message.error("上传失败"); |
| | | return; |
| | | } |
| | | this.onceLinks = res.link; |
| | | // console.log(res); |
| | | // return; |
| | | var haveit = null; |
| | | for (let k in this.saveIds) { |
| | | if (this.saveIds[k] == this.onceIds) { |
| | |
| | | this.saveIds.push(this.onceIds); |
| | | this.saveLinks.push(this.onceLinks); |
| | | } |
| | | console.log(this.saveIds); |
| | | console.log(this.saveLinks); |
| | | // console.log(this.saveIds); |
| | | // console.log(this.saveLinks); |
| | | |
| | | // console.log(this.$store.getters.userInfo.Id); |
| | | var params = { |
| | | userid: this.$store.getters.userInfo.Id, |
| | | ptype: this.ptype, |
| | | templateid: this.saveIds.join(","), |
| | | links: this.saveLinks.join(","), |
| | | links: this.saveLinks.join(",") |
| | | }; |
| | | addUseInfor(params).then((res) => { |
| | | // console.log(params); |
| | | // loading(); |
| | | // return; |
| | | addUseInfor(params).then(res => { |
| | | // console.log(res); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | | message: "操作成功!" |
| | | }); |
| | | }); |
| | | this.refreshChange(); |
| | |
| | | this.$confirm("确定将选择数据删除?", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | return remove(row.id); |
| | |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | | message: "操作成功!" |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | this.$confirm("确定将选择数据删除?", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | return remove(this.ids); |
| | |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | | message: "操作成功!" |
| | | }); |
| | | this.$refs.crud.toggleSelection(); |
| | | }); |
| | | }, |
| | | beforeOpen(done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | getDetail(this.form.id).then((res) => { |
| | | getDetail(this.form.id).then(res => { |
| | | this.form = res.data.data; |
| | | }); |
| | | } |
| | |
| | | // console.log(this.$store.getters.userInfo.Id); |
| | | // this.data = this.enclosure; |
| | | params["ptype"] = this.ptype; |
| | | getTemplate(params, 1, 50).then((res) => { |
| | | getTemplate(params, 1, 50).then(res => { |
| | | data = res.data.data.records; |
| | | // console.log(data, "::template"); |
| | | params["userid"] = this.$store.getters.userInfo.Id; |
| | | getUseInfor(params).then((res) => { |
| | | getUseInfor(params).then(res => { |
| | | var userInfo = res.data.data.records; |
| | | // console.log(userInfo, "::userInfo"); |
| | | if (userInfo.length == 0) { |
| | |
| | | this.saveLinks = userInfo[0].links.split(","); |
| | | for (let k in data) { |
| | | for (let i in this.saveIds) { |
| | | if (+data[k].id - 1 == this.saveIds[i]) { |
| | | if (+data[k].id == this.saveIds[i]) { |
| | | data[k]["type"] = 2; |
| | | data[k]["down"] = this.saveLinks[i]; |
| | | } |
| | |
| | | "webp", |
| | | "psd", |
| | | "svg", |
| | | "tiff", |
| | | "tiff" |
| | | ].indexOf(ext.toLowerCase()) == -1 |
| | | ); |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | getListre, |
| | | getListrek, |
| | | getListrev, |
| | | getListrel |
| | | } from "@/api/permit/permit"; |
| | | export default { |
| | | components: { |
| | | attach: attach, |
| | | attach: attach |
| | | }, |
| | | props: ["data", "together"], |
| | | data() { |
| | |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | total: 0 |
| | | }, |
| | | option: { |
| | | emptyBtn: false, |
| | | submitBtn: true, |
| | | gutter: 50, |
| | | column: [], |
| | | column: [] |
| | | }, |
| | | activeNames: ["1", "2"], |
| | | opens: true, |
| | |
| | | choseType: "", |
| | | overtime: { |
| | | overtimef: "", |
| | | overtimec: "", |
| | | overtimec: "" |
| | | }, |
| | | enclosure: [], //附件上传 基础数据 |
| | | enclosure: [] //附件上传 基础数据 |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "useWhere"]), |
| | | ...mapGetters(["userInfo", "useWhere"]) |
| | | }, |
| | | watch: { |
| | | useWhere() { |
| | |
| | | if (this.useWhere == "close") { |
| | | this.tipover(); |
| | | } |
| | | }, |
| | | } |
| | | }, |
| | | methods: { |
| | | tipchose() { |
| | |
| | | }, |
| | | onLoad(page, params = {}, val, d) { |
| | | params["cardid"] = this.userInfo.Id; |
| | | getList(page.currentPage, page.pageSize, params).then((res) => { |
| | | getList(page.currentPage, page.pageSize, params).then(res => { |
| | | const data = res.data.data; |
| | | this.data = data.records; |
| | | getListre(page.currentPage, page.pageSize, params).then((ress) => { |
| | | getListre(page.currentPage, page.pageSize, params).then(ress => { |
| | | this.data = this.data.concat(ress.data.data.records); |
| | | getListrek(page.currentPage, page.pageSize, params).then((resk) => { |
| | | getListrek(page.currentPage, page.pageSize, params).then(resk => { |
| | | this.data = this.data.concat(resk.data.data.records); |
| | | getListrev(page.currentPage, page.pageSize, params).then((resv) => { |
| | | getListrev(page.currentPage, page.pageSize, params).then(resv => { |
| | | this.data = this.data.concat(resv.data.data.records); |
| | | // console.log("已有申请数量:", this.data.length); |
| | | // console.log(val, "当前type"); |
| | | this.changeBut(true, d); |
| | | if (this.data.length == 0) { |
| | | // console.log("一条数据都没有"); |
| | | } else { |
| | | this.data.forEach((item) => { |
| | | if (item.ptype == val) { |
| | | if (item.type == 0 || item.type == 2) { |
| | | this.changeBut(false, d); |
| | | // console.log(item, "有数据未审核或者审核通过"); |
| | | } else { |
| | | this.changeBut(true, d); |
| | | // console.log(item, "审核不通过"); |
| | | getListrel(page.currentPage, page.pageSize, params).then(resl => { |
| | | this.data = this.data.concat(resl.data.data.records); |
| | | // console.log("已有申请数量:", this.data.length); |
| | | // console.log(val, "当前type"); |
| | | if (this.data.kservicetime) { |
| | | this.data.kservicetime.split(","); |
| | | } |
| | | this.changeBut(true, d); |
| | | if (this.data.length == 0) { |
| | | // console.log("一条数据都没有"); |
| | | } else { |
| | | this.data.forEach(item => { |
| | | // console.log(item.ptype); |
| | | if (item.ptype == val) { |
| | | if (item.type == 0 || item.type == 2) { |
| | | this.changeBut(false, d); |
| | | // console.log(item, "有数据未审核或者审核通过"); |
| | | } else { |
| | | this.changeBut(true, d); |
| | | // console.log(item, "审核不通过"); |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | }); |
| | |
| | | this.option.column = d; |
| | | this.active = true; |
| | | }, |
| | | convert: function () { |
| | | convert: function() { |
| | | var caridid = this.$store.getters.userInfo.Id; |
| | | selectIn(this.apiName[2], caridid, this.type).then((res) => { |
| | | selectIn(this.apiName[2], caridid, this.type).then(res => { |
| | | var d = res.data.data; |
| | | // console.log(d, "d"); |
| | | for (var k in d) { |
| | |
| | | this.qx(); |
| | | this.$message({ |
| | | message: "暂存申请成功", |
| | | type: "success", |
| | | type: "success" |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | continue; |
| | | } else { |
| | | //空值验证 |
| | | if (a[k] == "" && k != "ptype") { |
| | | // console.log(a[k], k); |
| | | commin = false; |
| | | console.log(3); |
| | | break; |
| | | } |
| | | // if (a[k] == "" && k != "ptype" && k != "creditcode") { |
| | | // console.log(a[k], k); |
| | | // commin = false; |
| | | // console.log(3); |
| | | // break; |
| | | // } |
| | | } |
| | | } |
| | | if (!commin) { |
| | | this.$message({ |
| | | message: "请检查输入数据是否正确!", |
| | | type: "warning", |
| | | type: "warning" |
| | | }); |
| | | |
| | | return; |
| | | } |
| | | a["overtime"] = this.getNowTime(this.overtime.overtimec); |
| | | console.log(a); |
| | | // console.log(a); |
| | | // return; |
| | | // console.log(typeof this.data0.kservicetime); |
| | | if ( |
| | | this.data0.kservicetime && |
| | | typeof this.data0.kservicetime != "string" |
| | | ) { |
| | | this.data0.kservicetime = this.data0.kservicetime.join(","); |
| | | } |
| | | // console.log(this.apiName[0], this.data0); |
| | | // return; |
| | | add(this.apiName[0], this.data0).then(() => { |
| | | this.qx(); |
| | | this.$message({ |
| | | message: "提交申请成功", |
| | | type: "success", |
| | | type: "success" |
| | | }); |
| | | this.$store.commit("changecanDoIt", false); |
| | | }); |
| | |
| | | this.data0 = d; |
| | | this.active = false; |
| | | this.OnceChouse = false; |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | </style> |
| | | <style lang="scss"></style> |
| | |
| | | |
| | | |
| | | var numbers = (rule, value, callback) => { |
| | | window.yanzhengnumbers = /^[0-9]+.?[0-9]*$/; |
| | | if (!yanzhengnumbers.test(value)) { |
| | | callback(new Error('请输入数字')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | // window.yanzhengnumbers = /^[0-9]+.?[0-9]*$/; |
| | | // if (!yanzhengnumbers.test(value) && Math.floor(value) !== value) { |
| | | if (Math.floor(value) === value) { |
| | | callback(); |
| | | } else { |
| | | callback(new Error('请输入整数')); |
| | | } |
| | | }; |
| | | |
| | | |
| | | var phones = (rule, value, callback) => { |
| | | window.yanzhengphons = /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/; |
| | | if (!yanzhengphons.test(value)) { |
| | | callback(new Error('请输入正确电话')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | window.yanzhengphons = /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/; |
| | | if (!yanzhengphons.test(value)) { |
| | | callback(new Error('请输入正确电话')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | |
| | | var columnOLD = [ |
| | | { |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | var columnOLD = [{ |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | |
| | | // { |
| | | // label: "企业类型", |
| | | // prop: "ptype", |
| | | // hide: true, |
| | | // display: false, |
| | | // }, |
| | | // { |
| | | // label: "所属单位", |
| | | // prop: "deptid", |
| | | // hide: true, |
| | | // display: false, |
| | | // }, |
| | | // { |
| | | // label: "企业类型", |
| | | // prop: "ptype", |
| | | // hide: true, |
| | | // display: false, |
| | | // }, |
| | | // { |
| | | // label: "所属单位", |
| | | // prop: "deptid", |
| | | // hide: true, |
| | | // display: false, |
| | | // }, |
| | | |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "单位许可证编号", |
| | | prop: "perid", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "单位许可证编号", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, { |
| | | label: "许可证发证机关", |
| | | prop: "offices", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "许可证发证机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, { |
| | | label: "发证时间", |
| | | prop: "officetime", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | type: "date", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入发证时间", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | // { |
| | | // label: "注册时间", |
| | | // prop: "establishtime", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // type: "date", |
| | | // format: "yyyy-MM-dd", |
| | | // valueFormat: "yyyy-MM-dd", |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册时间", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "注册资本(万元人民币)", |
| | | // prop: "registeredcapital", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册资本", |
| | | // trigger: "blur", |
| | | // }, |
| | | // { |
| | | // validator: numbers, trigger: ['change', 'blur'] |
| | | // } |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "组织机构代码", |
| | | // prop: "organizationcode", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入组织机构代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "工商注册号", |
| | | // prop: "registrationnumber", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入工商注册号", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册地址", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "服务范围", |
| | | prop: "business", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入经营范围", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "单位许可证编号", |
| | | prop: "perid", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "单位许可证编号", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, { |
| | | label: "许可证发证机关", |
| | | prop: "offices", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "许可证发证机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, { |
| | | label: "发证时间", |
| | | prop: "officetime", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | type: "date", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入发证时间", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | // { |
| | | // label: "注册时间", |
| | | // prop: "establishtime", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // type: "date", |
| | | // format: "yyyy-MM-dd", |
| | | // valueFormat: "yyyy-MM-dd", |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册时间", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "注册资本(万元人民币)", |
| | | // prop: "registeredcapital", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册资本", |
| | | // trigger: "blur", |
| | | // }, |
| | | // { |
| | | // validator: numbers, trigger: ['change', 'blur'] |
| | | // } |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "组织机构代码", |
| | | // prop: "organizationcode", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入组织机构代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | // { |
| | | // label: "工商注册号", |
| | | // prop: "registrationnumber", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入工商注册号", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入注册地址", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "服务范围", |
| | | prop: "business", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入经营范围", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "登记机关", |
| | | prop: "registration", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入登记机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属行业", |
| | | prop: "industry", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入所属行业", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | } |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "登记机关", |
| | | prop: "registration", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入登记机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属行业", |
| | | prop: "industry", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入所属行业", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | } |
| | | ] |
| | | |
| | | var column = [ |
| | | { |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | var column = [{ |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | } |
| | | ], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | // { |
| | | // label: "注册地址", |
| | | // prop: "address", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // // rules: [ |
| | | // // { |
| | | // // required: true, |
| | | // // message: "请输入注册地址", |
| | | // // trigger: "blur", |
| | | // // }, |
| | | // // ], |
| | | // }, |
| | | { |
| | | label: "服务范围", |
| | | prop: "business", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入经营范围", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "登记机关", |
| | | prop: "registration", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入登记机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属行业", |
| | | prop: "industry", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入所属行业", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | } |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | // { |
| | | // label: "注册地址", |
| | | // prop: "address", |
| | | // labelWidth: 160, |
| | | // span: 12, |
| | | // // rules: [ |
| | | // // { |
| | | // // required: true, |
| | | // // message: "请输入注册地址", |
| | | // // trigger: "blur", |
| | | // // }, |
| | | // // ], |
| | | // }, |
| | | { |
| | | label: "服务范围", |
| | | prop: "business", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入经营范围", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "登记机关", |
| | | prop: "registration", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入登记机关", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "所属行业", |
| | | prop: "industry", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入所属行业", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | } |
| | | ] |
| | | |
| | | |
| | | var columnzizhao = [ |
| | | { |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | var columnzizhao = [{ |
| | | label: "企业名称", |
| | | prop: "enterprisename", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入企业名称", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | { |
| | | label: "统一社会信用代码", |
| | | prop: "creditcode", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请输入社会信用代码", |
| | | // trigger: "blur", |
| | | // }, |
| | | // // { |
| | | // // validator: numbers, trigger: ['change', 'blur'] |
| | | // // }, |
| | | // ], |
| | | }, |
| | | { |
| | | label: "法定代表人", |
| | | prop: "representative", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入法定代表人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "法定代表人电话", |
| | | prop: "representativecell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "法定代表人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "contacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人电话", |
| | | trigger: "blur", |
| | | } |
| | | ], |
| | | }, |
| | | { |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-trees", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入发证时间", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | ]; |
| | | |
| | | |
| | | |
| | | var columnU = []; |
| | | for (var k in column) { |
| | | if (column[k].prop == 'perid' || |
| | | column[k].prop == 'offices' || |
| | | column[k].prop == 'officetime') { |
| | | continue; |
| | | } |
| | | columnU.push(column[k]); |
| | | if (column[k].prop == 'perid' || |
| | | column[k].prop == 'offices' || |
| | | column[k].prop == 'officetime') { |
| | | continue; |
| | | } |
| | | columnU.push(column[k]); |
| | | } |
| | | |
| | | var columnXIAQU = []; |
| | | for (var k in column) { |
| | | // if (column[k].prop == 'jurisdiction') { |
| | | // continue; |
| | | // } |
| | | columnXIAQU.push(column[k]); |
| | | // if (column[k].prop == 'jurisdiction') { |
| | | // continue; |
| | | // } |
| | | columnXIAQU.push(column[k]); |
| | | } |
| | | |
| | | export var securityPermitcolumn = [//保安服务许可申请 |
| | | ...columnU |
| | | export var securityPermitcolumn = [ //保安服务许可申请 |
| | | ...columnU |
| | | ] |
| | | |
| | | |
| | | export var securityTrainingcolumn = [//保安培训许可申请 |
| | | ...columnU |
| | | export var securityTrainingcolumn = [ //保安培训许可申请 |
| | | ...columnU |
| | | ] |
| | | |
| | | |
| | | export var branchOfficecolumn = [//设立分公司备案 |
| | | ...column |
| | | export var branchOfficecolumn = [ //设立分公司备案 |
| | | ...column |
| | | ] |
| | | |
| | | export var securityGuardcolumn = [//自招保安单位备案 |
| | | ...columnzizhao |
| | | export var securityGuardcolumn = [ //自招保安单位备案 |
| | | ...columnzizhao |
| | | ] |
| | | |
| | | |
| | | export var cancellationOfFilingcolumn = [//自招保安单位备案撤销 |
| | | ...columnU, { |
| | | label: "撤销原因", |
| | | prop: "reason", |
| | | labelWidth: 160, |
| | | span: 24, |
| | | type: 'textarea', |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入撤销原因", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | export var cancellationOfFilingcolumn = [ //自招保安单位备案撤销 |
| | | ...columnU, { |
| | | label: "撤销原因", |
| | | prop: "reason", |
| | | labelWidth: 160, |
| | | span: 24, |
| | | type: 'textarea', |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入撤销原因", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | ] |
| | | |
| | | |
| | | export var crossRegioncolumn = [//跨区域经营备案 |
| | | ...columnXIAQU |
| | | export var crossRegioncolumn = [ //跨区域经营备案 |
| | | ...columnXIAQU, { |
| | | label: "保安人数", |
| | | prop: "ksecuritys", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | append: '(人)', |
| | | type: 'number', |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入保安人数", |
| | | trigger: "blur", |
| | | }, { |
| | | validator: numbers, |
| | | trigger: 'blur' |
| | | }], |
| | | }, { |
| | | label: "拟跨区域经营的保安服务项目", |
| | | prop: "kproject", |
| | | labelWidth: 240, |
| | | // span: 24, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入拟跨区域经营的保安服务项目", |
| | | trigger: "blur", |
| | | }], |
| | | }, { |
| | | label: "邮编", |
| | | prop: "kzipcode", |
| | | span: 12, |
| | | labelWidth: 160, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入邮编", |
| | | trigger: "blur", |
| | | }], |
| | | }, { |
| | | label: "跨区域经营服务时间(备案有效期)", |
| | | prop: "kservicetime", |
| | | format: 'yyyy-MM-dd', |
| | | labelWidth: 260, |
| | | type: "daterange", |
| | | valueFormat: 'yyyy-MM-dd', |
| | | startPlaceholder: '备案有效期开始', |
| | | endPlaceholder: '备案有效期结束', |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入跨区域经营服务时间(备案有效期)", |
| | | trigger: "blur", |
| | | }], |
| | | }, { |
| | | label: "地址", |
| | | prop: "kaddress", |
| | | labelWidth: 160, |
| | | // span: 24, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入地址", |
| | | trigger: "blur", |
| | | }], |
| | | }, |
| | | ] |
| | | |
| | | |
| | | export var armedEscortcolumn = [//武装押运许可申请 |
| | | ...columnU |
| | | export var armedEscortcolumn = [ //武装押运许可申请 |
| | | ...columnU |
| | | ] |
| | | |
| | | export var changeOfLegalPersoncolumn = [//保安服务公司法人变更 |
| | | ...column |
| | | ] |
| | | var columnFRBG = []; |
| | | for (var k in column) { |
| | | if (column[k].prop == 'contacts') { |
| | | columnFRBG.push({ |
| | | label: "更变后法人", |
| | | prop: "changecontacts", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "更变后法人", |
| | | trigger: "blur", |
| | | }, ], |
| | | }); |
| | | columnFRBG.push({ |
| | | label: "更变后法人电话", |
| | | prop: "changecontactscell", |
| | | labelWidth: 160, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "更变后法人电话", |
| | | trigger: "blur", |
| | | }, |
| | | { |
| | | validator: phones, |
| | | trigger: ['change', 'blur'] |
| | | }, |
| | | ], |
| | | }, ); |
| | | } |
| | | columnFRBG.push(column[k]); |
| | | } |
| | | |
| | | export var changeOfLegalPersoncolumn = [ //保安服务公司法人变更 |
| | | ...columnFRBG |
| | | ] |
| | |
| | | import { |
| | | securityPermitcolumn,//保安服务许可申请 |
| | | securityTrainingcolumn,//保安培训许可申请 |
| | | crossRegioncolumn,//跨区域经营备案 |
| | | branchOfficecolumn, //设立分公司备案 |
| | | securityGuardcolumn,//自招保安单位备案 |
| | | cancellationOfFilingcolumn, //自招保安单位备案撤销 |
| | | armedEscortcolumn, //武装押运许可申请 |
| | | changeOfLegalPersoncolumn, //保安服务公司法人变更 |
| | | securityPermitcolumn, //保安服务许可申请 |
| | | securityTrainingcolumn, //保安培训许可申请 |
| | | crossRegioncolumn, //跨区域经营备案 |
| | | branchOfficecolumn, //设立分公司备案 |
| | | securityGuardcolumn, //自招保安单位备案 |
| | | cancellationOfFilingcolumn, //自招保安单位备案撤销 |
| | | armedEscortcolumn, //武装押运许可申请 |
| | | changeOfLegalPersoncolumn, //保安服务公司法人变更 |
| | | } from './column' |
| | | |
| | | import { |
| | | crossRegion,// 跨区域经营备案 |
| | | securityTraining, //保安培训许可申请 |
| | | securityPermit, //保安服务许可申请 |
| | | branchOffice, //设立分公司备案 |
| | | securityGuard,//自招保安单位备案 |
| | | cancellationOfFiling,//自招保安单位备案撤销 |
| | | armedEscort,//武装押运许可申请 |
| | | changeOfLegalPerson, //保安服务公司法人变更 |
| | | crossRegion, // 跨区域经营备案 |
| | | securityTraining, //保安培训许可申请 |
| | | securityPermit, //保安服务许可申请 |
| | | branchOffice, //设立分公司备案 |
| | | securityGuard, //自招保安单位备案 |
| | | cancellationOfFiling, //自招保安单位备案撤销 |
| | | armedEscort, //武装押运许可申请 |
| | | changeOfLegalPerson, //保安服务公司法人变更 |
| | | } from './htmls' |
| | | |
| | | |
| | | import { |
| | | crossRegionenclosure,// 跨区域经营备案 |
| | | securityTrainingenclosure, //保安培训许可申请 |
| | | securityPermitenclosure, //保安服务许可申请 |
| | | branchOfficeenclosure, //设立分公司备案 |
| | | securityGuardenclosure,//自招保安单位备案 |
| | | cancellationOfFilingenclosure,//自招保安单位备案撤销 |
| | | armedEscortenclosure,//武装押运许可申请 |
| | | changeOfLegalPersonenclosure, //保安服务公司法人变更 |
| | | crossRegionenclosure, // 跨区域经营备案 |
| | | securityTrainingenclosure, //保安培训许可申请 |
| | | securityPermitenclosure, //保安服务许可申请 |
| | | branchOfficeenclosure, //设立分公司备案 |
| | | securityGuardenclosure, //自招保安单位备案 |
| | | cancellationOfFilingenclosure, //自招保安单位备案撤销 |
| | | armedEscortenclosure, //武装押运许可申请 |
| | | changeOfLegalPersonenclosure, //保安服务公司法人变更 |
| | | } from './enclosure' |
| | | |
| | | |
| | | |
| | | export var ourDatas = [ |
| | | { |
| | | menuName: "保安服务许可申请", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq1.png)", |
| | | topUrlh: "url(/img/login-sq11.png)", |
| | | targetUrl: "per", |
| | | type: 0, |
| | | imgType: 0, |
| | | datas: { |
| | | msg: `材料说明:普通保安服 |
| | | export var ourDatas = [{ |
| | | menuName: "保安服务许可申请", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq1.png)", |
| | | topUrlh: "url(/img/login-sq11.png)", |
| | | targetUrl: "per", |
| | | type: 0, |
| | | imgType: 0, |
| | | datas: { |
| | | msg: `材料说明:普通保安服 |
| | | 务公司是指申请服务范围为:门卫、巡逻、守 |
| | | 护、随身护卫、安全检查、安全技术防范、安全风险评估、区域 |
| | | 秩序维护的公司。`, |
| | | htmls: securityPermit, |
| | | column: securityPermitcolumn, |
| | | apiName: ['permit/save', 'permit/storage', 'permit/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 20, |
| | | }, |
| | | enclosure: securityPermitenclosure, |
| | | htmls: securityPermit, |
| | | column: securityPermitcolumn, |
| | | apiName: ['permit/save', 'permit/storage', 'permit/selectIn'] |
| | | }, |
| | | { |
| | | menuName: "保安培训许可申请", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq4.png)", |
| | | topUrlh: "url(/img/login-sq44.png)", |
| | | type: 1, |
| | | imgType: 1, |
| | | datas: { |
| | | htmls: securityTraining, |
| | | column: securityTrainingcolumn, |
| | | apiName: ['permit/save', 'permit/storage', 'permit/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 20, |
| | | }, |
| | | enclosure: securityTrainingenclosure, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 20, |
| | | }, |
| | | enclosure: securityPermitenclosure, |
| | | }, |
| | | { |
| | | menuName: "保安培训许可申请", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq4.png)", |
| | | topUrlh: "url(/img/login-sq44.png)", |
| | | type: 1, |
| | | imgType: 1, |
| | | datas: { |
| | | htmls: securityTraining, |
| | | column: securityTrainingcolumn, |
| | | apiName: ['permit/save', 'permit/storage', 'permit/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 20, |
| | | }, |
| | | enclosure: securityTrainingenclosure, |
| | | }, |
| | | |
| | | { |
| | | menuName: "设立分公司备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq2.png)", |
| | | topUrlh: "url(/img/login-sq22.png)", |
| | | type: 2, |
| | | imgType: 2, |
| | | datas: { |
| | | htmls: branchOffice, |
| | | column: branchOfficecolumn, |
| | | apiName: ['record/save', 'record/rocordsave', 'record/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: branchOfficeenclosure, |
| | | { |
| | | menuName: "设立分公司备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq2.png)", |
| | | topUrlh: "url(/img/login-sq22.png)", |
| | | type: 2, |
| | | imgType: 2, |
| | | datas: { |
| | | htmls: branchOffice, |
| | | column: branchOfficecolumn, |
| | | apiName: ['record/save', 'record/rocordsave', 'record/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: branchOfficeenclosure, |
| | | |
| | | }, |
| | | { |
| | | menuName: "自招保安单位备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq3.png)", |
| | | topUrlh: "url(/img/login-sq33.png)", |
| | | type: 3, |
| | | imgType: 3, |
| | | datas: { |
| | | htmls: securityGuard, |
| | | column: securityGuardcolumn, |
| | | apiName: ['record/save', 'record/rocordsave', 'record/selectIn'] |
| | | }, |
| | | { |
| | | menuName: "自招保安单位备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq3.png)", |
| | | topUrlh: "url(/img/login-sq33.png)", |
| | | type: 3, |
| | | imgType: 3, |
| | | datas: { |
| | | htmls: securityGuard, |
| | | column: securityGuardcolumn, |
| | | apiName: ['record/save', 'record/rocordsave', 'record/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: securityGuardenclosure, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: securityGuardenclosure, |
| | | }, |
| | | |
| | | { |
| | | menuName: "自招保安单位撤销备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq5.png)", |
| | | topUrlh: "url(/img/login-sq55.png)", |
| | | type: 4, |
| | | imgType: 6, |
| | | datas: { |
| | | htmls: cancellationOfFiling, |
| | | column: cancellationOfFilingcolumn, |
| | | apiName: ['revoke/save', 'revoke/revokesave', 'revoke/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: cancellationOfFilingenclosure, |
| | | { |
| | | menuName: "自招保安单位撤销备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq5.png)", |
| | | topUrlh: "url(/img/login-sq55.png)", |
| | | type: 4, |
| | | imgType: 6, |
| | | datas: { |
| | | htmls: cancellationOfFiling, |
| | | column: cancellationOfFilingcolumn, |
| | | apiName: ['revoke/save', 'revoke/revokesave', 'revoke/selectIn'] |
| | | }, |
| | | { |
| | | menuName: "跨区域经营备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq10.png)", |
| | | topUrlh: "url(/img/login-sq1010.png)", |
| | | type: 5, |
| | | imgType: 7, |
| | | datas: { |
| | | htmls: crossRegion, |
| | | column: crossRegioncolumn, |
| | | apiName: ['recordk/save', 'recordk/recorkstorage', 'recordk/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: crossRegionenclosure, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | { |
| | | menuName: "武装押运许可申请", |
| | | // centerUrl: "/img/logo.png", |
| | | // topUrl: "url(/img/login-sq10.png)", |
| | | // topUrlh: "url(/img/login-sq1010.png)", |
| | | fromWhere: 0, |
| | | type: 6, |
| | | imgType: 8, |
| | | datas: { |
| | | msg: `按照《公安部关于印发<保安守 |
| | | enclosure: cancellationOfFilingenclosure, |
| | | }, |
| | | { |
| | | menuName: "跨区域经营备案", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq10.png)", |
| | | topUrlh: "url(/img/login-sq1010.png)", |
| | | type: 5, |
| | | imgType: 7, |
| | | datas: { |
| | | htmls: crossRegion, |
| | | column: crossRegioncolumn, |
| | | apiName: ['recordk/save', 'recordk/recorkstorage', 'recordk/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 14, |
| | | }, |
| | | enclosure: crossRegionenclosure, |
| | | }, |
| | | { |
| | | menuName: "武装押运许可申请", |
| | | // centerUrl: "/img/logo.png", |
| | | // topUrl: "url(/img/login-sq10.png)", |
| | | // topUrlh: "url(/img/login-sq1010.png)", |
| | | fromWhere: 0, |
| | | type: 6, |
| | | imgType: 8, |
| | | datas: { |
| | | msg: `按照《公安部关于印发<保安守 |
| | | 护押运管理规定>的通知》(公通字[2017]13号)规定 |
| | | :各地原则上不再许可设立新的 |
| | | 提供武装守护押运服务的保安企业,确需设立的,必须报经公安部同意后方可许可`, |
| | | htmls: armedEscort, |
| | | column: armedEscortcolumn, |
| | | apiName: ['recordk/save', 'recordk/recorkstorage', 'recordk/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 15, |
| | | overtimec: 15, |
| | | }, |
| | | enclosure: armedEscortenclosure, |
| | | htmls: armedEscort, |
| | | column: armedEscortcolumn, |
| | | apiName: ['recordk/save', 'recordk/recorkstorage', 'recordk/selectIn'] |
| | | }, |
| | | {//保安服务公司法人变更 |
| | | menuName: "保安服务公司法人变更", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq10.png)", |
| | | topUrlh: "url(/img/login-sq1010.png)", |
| | | type: 7, |
| | | imgType: 9, |
| | | datas: { |
| | | htmls: changeOfLegalPerson, |
| | | column: changeOfLegalPersoncolumn, |
| | | apiName: ['recordk/save', 'recordk/recorkstorage', 'recordk/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 10, |
| | | }, |
| | | enclosure: changeOfLegalPersonenclosure, |
| | | } |
| | | ] |
| | | overtime: { |
| | | overtimef: 15, |
| | | overtimec: 15, |
| | | }, |
| | | enclosure: armedEscortenclosure, |
| | | }, |
| | | { //保安服务公司法人变更 |
| | | menuName: "保安服务公司法人变更", |
| | | centerUrl: "/img/logo.png", |
| | | topUrl: "url(/img/login-sq10.png)", |
| | | topUrlh: "url(/img/login-sq1010.png)", |
| | | type: 7, |
| | | imgType: 9, |
| | | datas: { |
| | | htmls: changeOfLegalPerson, |
| | | column: changeOfLegalPersoncolumn, |
| | | apiName: ['recordlegalperson/save', 'recordlegalperson/recorkstorage', 'recordlegalperson/selectIn'] |
| | | }, |
| | | overtime: { |
| | | overtimef: 30, |
| | | overtimec: 10, |
| | | }, |
| | | enclosure: changeOfLegalPersonenclosure, |
| | | } |
| | | ] |
| | |
| | | entry.add('@/mock').end(); |
| | | }, |
| | | css: { |
| | | extract: { ignoreOrder: true } |
| | | extract: { |
| | | ignoreOrder: true |
| | | } |
| | | }, |
| | | //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理 |
| | | devServer: { |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | // target: 'http://localhost:81', |
| | | target: 'http://localhost:81', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | // target: 'https://saber.bladex.vip/api', |
| | | target: 'http://192.168.0.103:81', |
| | | // target: "http://223.82.109.183:2080/api", |
| | | // target: 'http://192.168.0.103:81', |
| | | ws: true, |
| | | pathRewrite: { |
| | | '^/api': '/' |