| | |
| | | adddata, |
| | | update, |
| | | remove, |
| | | getdata1, |
| | | adddata1, |
| | | update1, |
| | | remove1, |
| | | } from "@/api/dispatch/dispatch"; |
| | | import { mapGetters } from "vuex"; |
| | | import { mapState } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | data() { |
| | | var phones = (rule, value, callback) => { |
| | |
| | | }, |
| | | |
| | | handleTemplate() { |
| | | window.open(`/api/dispatcherUnit/export-template`); |
| | | window.open(`/api/dispatcherUnit/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | handleImport() { |
| | | this.excelBox = true; |
| | |
| | | import { data, column } from "./car"; |
| | | import { getdata, adddata, update, remove } from "@/api/car/car"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | props: ["fromDeptId", "windowHeight"], |
| | | watch: { |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate() { |
| | | window.open(`/api/car/export-template-car`); |
| | | window.open(`/api/car/export-template-car?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}` |
| | | ); |
| | | }, |
| | | sizeChange(val) { |
| | | this.page1.currentPage = 1; |
| | |
| | | import { data, column } from "./equipments"; |
| | | import { getdata, adddata, update, remove } from "@/api/equipments/equipments"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | props: ["fromDeptId", "windowHeight"], |
| | | watch: { |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate() { |
| | | window.open(`/api/equipage/export-template`); |
| | | window.open(`/api/equipage/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}` |
| | | ); |
| | | }, |
| | | sizeChange(val) { |
| | | this.page1.currentPage = 1; |
| | |
| | | <script> |
| | | import { data, column } from "./gun"; |
| | | import { getdata, adddata, update, remove } from "@/api/gun/gun"; |
| | | |
| | | import { getToken } from "@/util/auth"; |
| | | import { mapGetters } from "vuex"; |
| | | export default { |
| | | props: ["fromDeptId"], |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate() { |
| | | window.open(`/api/gun/export-template-gun`); |
| | | window.open(`/api/gun/export-template-gun?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}` |
| | | ); |
| | | }, |
| | | sizeChange(val) { |
| | | this.page1.currentPage = 1; |
| | |
| | | } from "@/api/securityUnit/securityUnit"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getJurisdictionTree } from "@/api/jurisdiction/jurisdiction"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | | window.open(`/api/examSubjectChoices/export-template`); |
| | | window.open(`/api/examSubjectChoices/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | //保安单位基本信息 |
| | | sizeChange(val) { |
| | |
| | | remove, |
| | | } from "@/api/securityUnit/securityUnit"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | | window.open(`/api/examSubjectChoices/export-template`); |
| | | window.open(`/api/examSubjectChoices/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | //保安单位基本信息 |
| | | sizeChange(val) { |
| | |
| | | adddata, |
| | | update, |
| | | remove, |
| | | adddata1, |
| | | adddata2, |
| | | getDeptLazyTree, |
| | | } from "@/api/securityUnit/securityUnit"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | | window.open(`/api/examSubjectChoices/export-template`); |
| | | window.open(`/api/examSubjectChoices/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | //保安单位基本信息 |
| | | sizeChange(val) { |
| | |
| | | remove, |
| | | } from "@/api/securityUnit/securityUnit"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | data() { |
| | | var w = 160, |
| | |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | | window.open(`/api/examSubjectChoices/export-template`); |
| | | window.open(`/api/examSubjectChoices/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | //保安单位基本信息 |
| | | sizeChange(val) { |
| | |
| | | import { getRoleDetail } from "@/api/system/role"; |
| | | import { securityApply,add} from "@/api/accreditationRecords/accreditationRecords"; |
| | | import Qs from "qs"; |
| | | import { getToken } from "@/util/auth"; |
| | | export default { |
| | | components: { |
| | | baoanz, |
| | |
| | | ); |
| | | }, |
| | | handleTemplate() { |
| | | window.open(`/api/examScore/export-template`); |
| | | window.open(`/api/examScore/export-template?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` |
| | | ); |
| | | }, |
| | | handleImport() { |
| | | this.excelBox = true; |
| | |
| | | data["trainUnitId"] = this.userInfo.dept_id; |
| | | } |
| | | data["examType"] = 2; |
| | | console.log(data,11225111); |
| | | // console.log(data,11225111); |
| | | //序列号url形式,用&拼接 |
| | | data = Qs.stringify(data); |
| | | window.open(`/api/examScore/export-examScore?` + data); |
| | | window.open(`/api/examScore/export-examScore?${ |
| | | this.website.tokenHeader |
| | | }=${getToken()}&` + data |
| | | ); |
| | | }); |
| | | }, |
| | | }, |
| | |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | :search.sync="search" |
| | | :permission="permissionList" |
| | | :before-open="beforeOpen" |
| | | v-model="form" |
| | |
| | | <el-button |
| | | icon="el-icon-check" |
| | | size="small" |
| | | type="text" |
| | | @click.stop="handleEdit(scope.row, scope.index)" |
| | | >审核</el-button |
| | | > |
| | |
| | | return { |
| | | form: {}, |
| | | query: {}, |
| | | search: {}, |
| | | loading: true, |
| | | page: { |
| | | pageSize: 10, |
| | |
| | | }, |
| | | data: [], |
| | | }; |
| | | }, |
| | | created(){ |
| | | if(this.userInfo.role_name=="保安公司管理员"){ |
| | | this.search['type'] = "0"; |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "permission"]), |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | params = this.search; |
| | | this.loading = true; |
| | | getList( |
| | | page.currentPage, |