Merge branch 'master' of http://192.168.0.105:10010/r/zhba_regulatory_ys
10 files modified
1 files added
| | |
| | | }) |
| | | } |
| | | |
| | | export const getListedispatcherUnit = (current, size, params, deptId) => { |
| | | return request({ |
| | | url: '/api/dispatcherUnit/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | deptId |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getListeenclosure = (current, size, params, deptid) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/list', |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-07 17:30:05 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-11-25 14:54:40 |
| | | * @Last Modified time: 2021-11-25 15:47:19 |
| | | * menu-name 监管信息 |
| | | */ |
| | | <template> |
| | |
| | | :visible.sync="seeLocationFlag" |
| | | :modal-append-to-body="false" |
| | | width="width"> |
| | | <Map v-if="seeLocationFlag" ref="locationForm" /> |
| | | <Map v-if="seeLocationFlag" |
| | | ref="locationForm" /> |
| | | </el-dialog> |
| | | |
| | | <el-dialog class="see-track" |
| | |
| | | </el-button> |
| | | </div> |
| | | |
| | | <Map v-if="seeTrackFlag" ref="tarckForm" /> |
| | | <Map v-if="seeTrackFlag" |
| | | ref="tarckForm" /> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | |
| | | // editDisplay: false, |
| | | // addDisplay: false |
| | | }, |
| | | |
| | | { |
| | | label: "指令时间", |
| | | prop: "releaseTimeRange", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | searchRange: true, |
| | | hide: true, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入指令时间", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "接收指令人", |
| | | prop: "receiveName", |
| | |
| | | onLoad (page, params = {}) { |
| | | // this.loading = false; |
| | | this.loading = true; |
| | | if (this.query.releaseTimeRange) { |
| | | this.query["startTime"] = this.query.releaseTimeRange[0]; |
| | | this.query["endTime"] = this.query.releaseTimeRange[1]; |
| | | delete this.query.releaseTimeRange; |
| | | } |
| | | getLisperetaskDistribution( |
| | | page.currentPage, |
| | | page.pageSize, |
| | |
| | | export var companyColimn = [ |
| | | { |
| | | label: "统一社会信用代码", |
| | | label: "社会信用代码证号", |
| | | prop: "creditcode", |
| | | width: 140, |
| | | hide: true, |
| | | |
| | | search: true, |
| | | labelWidth: 160, |
| | | searchSpan: 4, |
| | | searchLabelWidth: 130 |
| | | // hide: true, |
| | | // editDisplay: false, |
| | | // addDisplay: false |
| | |
| | | labelWidth: 160, |
| | | prop: "representativecell", |
| | | width: 120, |
| | | // search: true, |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchLabelWidth: 100 |
| | | searchLabelWidth: 120 |
| | | }, |
| | | |
| | | { |
| | |
| | | prop: "contactscell", |
| | | labelWidth: 160, |
| | | width: 95, |
| | | // search: true, |
| | | }, |
| | | |
| | | { |
| | | label: "注册地址", |
| | | prop: "address", |
| | | labelWidth: 160, |
| | | // search: true, |
| | | search: true, searchSpan: 4, |
| | | hide: true, |
| | | }, |
| | | { |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-05 16:31:54 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-15 11:06:36 |
| | | * @Last Modified time: 2021-11-25 10:09:07 |
| | | * menu-name 保安公司详细资料 |
| | | */ |
| | | <template> |
| | |
| | | |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="组织机构代码"> |
| | | <el-form-item label="社会信用代码证号"> |
| | | <el-input |
| | | disabled="true" |
| | | v-model="form.organizationcode" |
| | |
| | | <punish :form="form"></punish> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="服务对象" name="eighth"> |
| | | <serviceS :form="form"></serviceS> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="派遣信息" name="ninth"> |
| | | <service :form="form"></service> |
| | | </el-tab-pane> |
| | | <!-- <el-tab-pane label="其他附件" name="eighth"> |
| | | <enclosure :form="form"></enclosure> |
| | | </el-tab-pane> --> |
| | | <el-tab-pane label="营业执照" name="ninth"> |
| | | <el-tab-pane label="营业执照" name="tenth"> |
| | | <div class="businessLicenses"> |
| | | <el-container> |
| | | <el-main> |
| | |
| | | </el-container> |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="许可证" name="tenth"> |
| | | <el-tab-pane label="许可证" name="eleven"> |
| | | <div class="businessLicenses"> |
| | | <el-container> |
| | | <el-main> |
| | |
| | | import equipment from "./computents/equipment.vue"; //装备管理 |
| | | import staff from "./computents/staff.vue"; //保安员信息 |
| | | import punish from "./computents/punish.vue"; //处罚信息 |
| | | import service from "./computents/service.vue"; //服务对象 |
| | | import serviceS from "./computents/serviceS.vue"; //服务对象 |
| | | import service from "./computents/service.vue"; //派遣 |
| | | // import enclosure from "./computents/enclosure.vue"; //其他附件 |
| | | |
| | | import { getList } from "@/api/securityCompany/security"; //保安公司 |
| | |
| | | staff: staff, |
| | | punish: punish, |
| | | service: service, |
| | | serviceS, |
| | | // enclosure: enclosure, |
| | | }, |
| | | data() { |
| | |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <!-- @on-load="onLoad" --> |
| | | <template slot="menuLeft"> |
| | |
| | | @search-reset="equipmentSearchReset" |
| | | @current-change="equipmentCurrentChange" |
| | | @size-change="equipmentSizeChange" |
| | | @on-load="equipmentOnLoad" |
| | | > |
| | | </avue-crud> |
| | | <!-- @on-load="equipmentOnLoad" --> |
| | |
| | | }, |
| | | mounted() { |
| | | console.log(this.form, "equipmentData"); |
| | | this.equipmentOnLoad(this.equipmentPage); |
| | | // this.equipmentOnLoad(this.equipmentPage); |
| | | }, |
| | | methods: { |
| | | equipmentOnLoad(page, params = {}) { |
| | |
| | | @current-change="punishCurrentChange" |
| | | @size-change="punishSizeChange" |
| | | @refresh-change="punishRefreshcCange" |
| | | @on-load="punishOnLoad" |
| | | > |
| | | </avue-crud> |
| | | <!-- @on-load="punishOnLoad" --> |
| | |
| | | }, |
| | | mounted() { |
| | | // console.log(this.form, "pu"); |
| | | this.punishOnLoad(this.punishPage); |
| | | // this.punishOnLoad(this.punishPage); |
| | | }, |
| | | methods: { |
| | | punishOnLoad(page, params = {}) { |
| | |
| | | @search-reset="serviceSearchReset" |
| | | @current-change="serviceCurrentChange" |
| | | @size-change="serviceSizeChange" |
| | | @on-load="serviceOnLoad" |
| | | > |
| | | </avue-crud> |
| | | <!-- @on-load="serviceOnLoad" --> |
| New file |
| | |
| | | <template> |
| | | <avue-crud |
| | | class="company-box" |
| | | :option="serviceOption" |
| | | :search.sync="serviceSearch" |
| | | :table-loading="serviceLoading" |
| | | :data="serviceData" |
| | | ref="serviceCrud" |
| | | :page.sync="servicePage" |
| | | @selection-change="serviceSelectionChange" |
| | | @search-change="serviceSearchChange" |
| | | @search-reset="serviceSearchReset" |
| | | @current-change="serviceCurrentChange" |
| | | @size-change="serviceSizeChange" |
| | | @on-load="serviceOnLoad" |
| | | > |
| | | </avue-crud> |
| | | <!-- @on-load="serviceOnLoad" --> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getListedispatcherUnit } from "@/api/securityCompany/securityCompany"; |
| | | export default { |
| | | props: ["form"], |
| | | data() { |
| | | return { |
| | | serviceOption: { |
| | | // 操作栏多余按钮去除 |
| | | delBtn: false, |
| | | editBtn: false, |
| | | searchShowBtn: false, |
| | | addBtn: false, |
| | | selection: true, |
| | | menu: false, |
| | | border: true, |
| | | align: "center", |
| | | height: "auto", |
| | | calcHeight: 270, |
| | | tip: false, |
| | | searchShow: false, |
| | | searchMenuSpan: 4, |
| | | index: false, |
| | | viewBtn: true, |
| | | //dialogType: 'drawer', |
| | | dialogClickModal: false, |
| | | // 操作栏宽度 |
| | | menuWidth: 156, |
| | | |
| | | column: [ |
| | | { |
| | | label: "派遣单位", |
| | | prop: "name", |
| | | search: true, |
| | | searchSpan: 4, |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "linkman", |
| | | display: false, |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 4, |
| | | }, |
| | | |
| | | { |
| | | label: "联系电话", |
| | | prop: "phone", |
| | | display: false, |
| | | width: 200, |
| | | }, |
| | | { |
| | | label: "创建时间", |
| | | prop: "createTime", |
| | | type: "date", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | mock: { |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | }, |
| | | display: false, |
| | | width: 180, |
| | | }, |
| | | { |
| | | label: "派遣地址", |
| | | prop: "address", |
| | | display: false, |
| | | width: 280, |
| | | }, |
| | | ], |
| | | }, |
| | | serviceSearch: {}, |
| | | serviceLoading: true, |
| | | serviceData: [], |
| | | servicePage: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | }, |
| | | serviceQuery: {}, |
| | | serviceSelectionList: [], |
| | | }; |
| | | }, |
| | | mounted() { |
| | | console.log(this.form, "serviceData"); |
| | | // this.serviceOnLoad(this.servicePage); |
| | | }, |
| | | methods: { |
| | | serviceOnLoad(page, params = {}) { |
| | | this.serviceLoading = true; |
| | | getListedispatcherUnit( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.serviceQuery), |
| | | this.form.departmentid |
| | | ).then((res) => { |
| | | const data = res.data.data; |
| | | |
| | | this.servicePage.total = data.total; |
| | | this.serviceData = data.records; |
| | | console.log(this.serviceData, "this.serviceData"); |
| | | this.serviceLoading = false; |
| | | this.$refs.serviceCrud.refreshTable(); |
| | | this.$refs.serviceCrud.doLayout(); |
| | | this.serviceSelectionClear(); |
| | | }); |
| | | }, |
| | | serviceSelectionClear() { |
| | | this.serviceSelectionList = []; |
| | | this.$refs.serviceCrud.toggleSelection(); |
| | | }, |
| | | serviceSelectionChange(list) { |
| | | this.serviceSelectionList = list; |
| | | }, |
| | | serviceSearchChange(params, done) { |
| | | this.serviceQuery = params; |
| | | this.servicePage.currentPage = 1; |
| | | this.serviceOnLoad(this.servicePage, params); |
| | | done(); |
| | | }, |
| | | serviceSearchReset() { |
| | | this.serviceQuery = {}; |
| | | this.serviceOnLoad(this.servicePage); |
| | | }, |
| | | serviceCurrentChange(currentPage) { |
| | | this.servicePage.currentPage = currentPage; |
| | | }, |
| | | serviceSizeChange(pageSize) { |
| | | this.servicePage.pageSize = pageSize; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | |
| | | @search-reset="staffSearchReset" |
| | | @current-change="staffCurrentChange" |
| | | @size-change="staffSizeChange" |
| | | @on-load="staffOnLoad" |
| | | > |
| | | <!-- @on-load="staffOnLoad" --> |
| | | </avue-crud> |
| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | console.log(this.form, "staff"); |
| | | this.staffOnLoad(this.staffPage); |
| | | // console.log(this.form, "staff"); |
| | | // this.staffOnLoad(this.staffPage); |
| | | }, |
| | | methods: { |
| | | staffOnLoad(page, params = {}) { |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-05 16:31:54 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-23 17:29:29 |
| | | * @Last Modified time: 2021-11-25 09:42:36 |
| | | * menu-name 保安员注册查询 |
| | | */ |
| | | <template> |
| | |
| | | |
| | | display: false, |
| | | }, |
| | | |
| | | { |
| | | label: "照片", |
| | | prop: "avatar", |
| | | dataType: "string", |
| | | type: "img", |
| | | }, |
| | | { |
| | | label: "指纹", |
| | | prop: "fingerprint", |
| | | dataType: "string", |
| | | type: "img", |
| | | }, |
| | | { |
| | | label: "籍贯", |
| | | prop: "nativeplace", |
| | |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "身高", |
| | | prop: "height", |
| | | width: 55, |
| | | }, |
| | | { |
| | | label: "学历", |
| | | prop: "education", |
| | | display: false, |
| | |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "地址", |
| | | prop: "nativeplace", |
| | | minWidth: 95, |
| | | overHidden: true, |
| | | }, |
| | | { |
| | | label: "健康状态", |
| | | prop: "healstats", |
| | | hide: true, |