| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel" |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" |
| | | :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" |
| | | @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
| | | @refresh-change="refreshChange" @on-load="onLoad"> |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" |
| | | @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template slot="menuLeft"> |
| | | <div class="tab-list"> |
| | | <div :class="{ 'choose': typeStatus == 3 }" @click="changeType(3)">全部</div> |
| | |
| | | <div class="type-name"> |
| | | {{ CNNum[tIndex] }}、{{ tItem.questionName }} |
| | | </div> |
| | | <div class="icon-box"><i class="el-icon-arrow-down" v-show="tItem.isShowQList"></i><i |
| | | class="el-icon-arrow-up" v-show="!tItem.isShowQList"></i></div> |
| | | <div class="icon-box"><i class="el-icon-arrow-down" v-show="tItem.isShowQList"></i><i class="el-icon-arrow-up" |
| | | v-show="!tItem.isShowQList"></i></div> |
| | | </div> |
| | | <div class="question-item" v-for="(item, index) in tItem.questionList" :key='index' |
| | | v-show="tItem.isShowQList"> |
| | | <div class="question-item" v-for="(item, index) in tItem.questionList" :key='index' v-show="tItem.isShowQList"> |
| | | <div class="question-name"> |
| | | <div class="key">{{ index + 1 }}、{{ item.itemsNameTitle }}</div> |
| | | <div class="value"><el-radio v-model="radio" label="1" disabled>存在</el-radio> |
| | |
| | | mapGetters |
| | | } from "vuex" |
| | | import { |
| | | getZGQKList, getPatrolGroupTree, applyRectification |
| | | getZGQKList, |
| | | getPatrolGroupTree, |
| | | applyRectification |
| | | } from "@/api/publicSecurity/ninePlaceManage" |
| | | import NProgress from 'nprogress' |
| | | import 'nprogress/nprogress.css' |
| | |
| | | data () { |
| | | return { |
| | | auditRules: { |
| | | status: [{ required: true, message: "必填" }], |
| | | reasonFailure: [{ required: true, message: "必填" }], |
| | | status: [{ |
| | | required: true, |
| | | message: "必填" |
| | | }], |
| | | reasonFailure: [{ |
| | | required: true, |
| | | message: "必填" |
| | | }], |
| | | }, |
| | | visible: false, |
| | | typeStatus: 1, |
| | |
| | | label: "是否下发《责令改正通知书》或是否处罚", |
| | | prop: "rectificationNoticeFlag", |
| | | align: 'center', |
| | | dicData: [ |
| | | { |
| | | dicData: [{ |
| | | label: "否", |
| | | value: 1, |
| | | }, |
| | |
| | | label: "是否整改完毕", |
| | | prop: "rectificationFlag", |
| | | align: 'center', |
| | | dicData: [ |
| | | { |
| | | dicData: [{ |
| | | label: "否", |
| | | value: 1, |
| | | }, |
| | |
| | | label: "审核状态", |
| | | prop: "status", |
| | | align: 'center', |
| | | dicData: [ |
| | | { |
| | | dicData: [{ |
| | | label: "待审核", |
| | | value: 1, |
| | | }, |
| | |
| | | hide: true, |
| | | searchSpan: 5, |
| | | searchLabelWidth: 76, |
| | | }], |
| | | } |
| | | ], |
| | | }, |
| | | data: [], |
| | | refreshNum: 1, |
| | |
| | | |
| | | // 获取问题类型 |
| | | getPatrolGroupTree () { |
| | | getPatrolGroupTree().then(res => { |
| | | getPatrolGroupTree({ |
| | | type: 1, |
| | | childType: 1 |
| | | }).then(res => { |
| | | this.questionTypeList = res.data.data |
| | | }) |
| | | }, |
| | |
| | | let arr = Object.entries(obj) |
| | | let newArr = [] |
| | | arr.forEach(part => { |
| | | newArr.push({ questionName: part[0], questionList: part[1], isShowQList: true }) |
| | | newArr.push({ |
| | | questionName: part[0], |
| | | questionList: part[1], |
| | | isShowQList: true |
| | | }) |
| | | }) |
| | | row.qTypeList = newArr |
| | | row.remarkNo = newArr.length |
| | |
| | | } |
| | | data = Qs.stringify(data) |
| | | exportBlob( |
| | | `/api/blade-taskPlaceRectification/taskPlaceRectification/exportRectificationStatistics?${this.website.tokenHeader}=${getToken()}&` + data |
| | | `/api/blade-taskPlaceRectification/taskPlaceRectification/exportRectificationStatistics?${this.website.tokenHeader}=${getToken()}&` + |
| | | data |
| | | ).then(res => { |
| | | downloadXls(res.data, `整改情况${dateNow()}.xlsx`) |
| | | NProgress.done() |