| | |
| | | * @Author: liu |
| | | * @Date: 2021-08-26 16:57:58 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-23 09:27:18 |
| | | * @Last Modified time: 2021-11-09 11:16:14 |
| | | */ |
| | | |
| | | |
| | | <template> |
| | | <div> |
| | | <basic-container class="permit"> |
| | | <basic-container |
| | | :class="[ |
| | | 'permit', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | > |
| | | <avue-crud |
| | | :option="option" |
| | | :table-loading="loading" |
| | |
| | | :type="type" |
| | | class="zhengJian-icon" |
| | | @click.stop="handleCredentials(row)" |
| | | >附件审查</el-button |
| | | >附件</el-button |
| | | > |
| | | <el-button |
| | | icon="el-icon-edit" |
| | |
| | | @click.stop="rowDel(row)" |
| | | >备案审批 |
| | | </el-button> |
| | | <el-button |
| | | <!-- <el-button |
| | | icon="el-icon-edit" |
| | | :size="size" |
| | | :type="type" |
| | |
| | | " |
| | | @click.stop="rowSee(row)" |
| | | >审批查询 |
| | | </el-button> |
| | | </el-button> --> |
| | | <el-button |
| | | icon="el-icon-brush" |
| | | :size="size" |
| | |
| | | ? "不通过" |
| | | : "待审核" |
| | | }} |
| | | <i class="gz" v-if="row.stateOur == '0'"></i> |
| | | <i class="yj" v-if="row.stateOur == '2'"></i> |
| | | <i class="zc" v-if="row.stateOur == '1'"></i> |
| | | <i class="gz" v-if="row.type == '2'"></i> |
| | | <!-- 黄色 --> |
| | | <i class="yj" v-if="row.type == '1'"></i> |
| | | <!-- 红色 --> |
| | | <i class="zc" v-if="row.type == '0'"></i> |
| | | <!-- 绿色 --> |
| | | </el-tag> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | ref="licence" |
| | | > |
| | | <div class="licence" id="licence" v-if="dialogVisible"> |
| | | <div class="licence-head">备案回执</div> |
| | | <div class="licence-head">备案证</div> |
| | | <div class="head-tid"> |
| | | 编号 |
| | | <span class="fontStyle">{{ |
| | |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0, |
| | | ...this.$store.state.control.changePageSize, |
| | | }, |
| | | selectionList: [], |
| | | option: { |
| | |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | column: column, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | }, |
| | | data: [], |
| | | |
| | |
| | | stateOur: "", |
| | | stateText: "", |
| | | dialogVisibleccsee: false, |
| | | |
| | | userData: "", |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | this.upsData("2", "1"); //不通过 |
| | | }, |
| | | upsData(state, type) { |
| | | let date = new Date(+new Date() + 8 * 3600 * 1000) |
| | | .toJSON() |
| | | .substr(0, 19) |
| | | .replace("T", " "); |
| | | // console.log(date); |
| | | // return; |
| | | this.dialogVisiblecc = false; |
| | | if (this.user_name == "派") { |
| | | // 派出所审批 |
| | | this.xukezData.ptime = date; |
| | | this.xukezData.papprove = state; |
| | | this.xukezData.popinion = this.textareaShenpi; |
| | | this.xukezData.type = type == "0" ? "2" : "1"; // 为了保持审核系统识别 |
| | | } else if (this.user_name == "县") { |
| | | // 分局审批 |
| | | this.xukezData.xtime = date; |
| | | this.xukezData.xapprove = state; |
| | | this.xukezData.xopinion = this.textareaShenpi; |
| | | this.xukezData.type = type == "0" ? "2" : "1"; // 为了保持审核系统识别 |
| | | } else if (this.user_name == "市") { |
| | | // 市局审批 |
| | | this.xukezData.stime = date; |
| | | this.xukezData.sapprove = state; |
| | | this.xukezData.sopinion = this.textareaShenpi; |
| | | this.xukezData.type = type == "0" ? "0" : "1"; // 为了保持审核系统识别 |
| | | } |
| | | console.log(this.xukezData); |
| | | // console.log(this.xukezData); |
| | | // return; |
| | | update(this.xukezData).then((res) => { |
| | | console.log(res); |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 3; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | this.userData = |
| | | gonganj == "派出所管理员" ? "2" : gonganj == "县局管理员" ? "1" : "0"; |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | console.log(params, "params"); |
| | | params["jurisdiction"] = this.userInfo.jurisdiction; |
| | | params["usetype"] = this.userData; |
| | | this.option.column[this.option.column.length - 2].prop = "opinionOur"; |
| | | // return; |
| | | getList( |
| | | page.currentPage, |
| | |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | for (var k in this.data) { |
| | | console.log(this.changeState(this.data[k])); |
| | | // console.log(this.changeState(this.data[k])); |
| | | this.data[k] = this.changeState(this.data[k]); |
| | | let paichusuoyijian = this.data[k].popinion |
| | | ? "派出所意见:" + this.data[k].popinion + ";" |
| | | : ""; |
| | | let fenjuijian = this.data[k].xopinion |
| | | ? "分局意见:" + this.data[k].xopinion + ";" |
| | | : ""; |
| | | let shijuyijian = this.data[k].sopinion |
| | | ? "市局意见:" + this.data[k].sopinion + ";" |
| | | : ""; |
| | | this.data[k]["opinionOur"] = |
| | | paichusuoyijian + fenjuijian + shijuyijian; |
| | | } |
| | | console.log(this.data); |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }); |