| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-07 17:30:05 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-15 16:08:12 |
| | | * @Last Modified time: 2021-12-04 14:40:34 |
| | | * menu-name 保安服务公司查询 |
| | | */ |
| | | <template> |
| | |
| | | :type="type" |
| | | icon="el-icon-warning" |
| | | class="zhengJian-icon" |
| | | @click.stop="punish(row)" |
| | | @click.stop="punishtable(row)" |
| | | >处罚</el-button |
| | | > |
| | | <!-- <el-button |
| | | :size="size" |
| | | :type="type" |
| | | icon="el-icon-warning" |
| | | class="zhengJian-icon" |
| | | @click.stop="punish(row)" |
| | | >处罚</el-button |
| | | > --> |
| | | </template> |
| | | </avue-crud> |
| | | <el-dialog |
| | |
| | | > |
| | | </span> --> |
| | | </el-dialog> |
| | | <el-dialog |
| | | title="处罚详情" |
| | | :visible.sync="dialogVisiblepunishtable" |
| | | width="85%" |
| | | height="80vh" |
| | | :before-close="handleClose" |
| | | :modal-append-to-body="false" |
| | | center |
| | | > |
| | | <punish :form="dialogVisiblepunishData" v-if="dialogVisiblepunishtable"> |
| | | </punish> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | } from "@/api/securityCompany/security"; |
| | | import { mapGetters } from "vuex"; |
| | | import { companyColimn, punishColimn } from "./column"; |
| | | |
| | | import punish from "./computents/punish.vue"; //处罚信息 |
| | | export default { |
| | | components: { |
| | | punish, |
| | | }, |
| | | data() { |
| | | return { |
| | | dialogVisiblepunishData: {}, |
| | | dialogVisiblepunishtable: false, |
| | | objf: {}, |
| | | optionf: { |
| | | column: punishColimn, |
| | |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }); |
| | | this.dialogVisiblepunishData.news = !this.dialogVisiblepunishData.news; |
| | | that.objf = { |
| | | enterprisename: "", |
| | | punishreason: "", |
| | |
| | | }; |
| | | done(); |
| | | }, |
| | | punish(row) { |
| | | punishtable(row) { |
| | | this.dialogVisiblepunishData = { |
| | | ...row, |
| | | see: true, |
| | | that: this, |
| | | news: false, |
| | | }; |
| | | this.dialogVisiblepunishtable = true; |
| | | }, |
| | | punish() { |
| | | //打开处罚 |
| | | // console.log(row); |
| | | this.objf = { |
| | | deptid: row.departmentid, |
| | | enterprisename: row.enterprisename, |
| | | deptid: this.dialogVisiblepunishData.departmentid, |
| | | enterprisename: this.dialogVisiblepunishData.enterprisename, |
| | | }; |
| | | this.dialogVisible = true; |
| | | }, |