zhanghua
2022-12-07 c761748876b5239a084e16b22f8d616897714175
Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui
52个文件已修改
697 ■■■■ 已修改文件
src/api/baseInfo.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/detail/index.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/dispatch/index.vue 93 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/myUpload/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/http/url-recorder.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/studyJudge/index.vue 156 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layout/components/Header/updatePassword/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/baseSetting/illegalBuild/createUser/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/baseSetting/illegalBuild/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/baseSetting/illegalBuild/updateUser/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/baseSetting/violation/index.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/baseSetting/violation/updateUser/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/escalation/createUser/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/escalation/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/escalation/updateUser/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/createUser/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/index.vue 35 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/notDeal/createUser/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/notDeal/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/pool/createUser/ill/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/pool/createUser/vio/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/lawEnforcement/components/dataView/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/lawEnforcement/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/closure/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/examine/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/illExamine/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/illclosure/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/message/mycontrol/createUser/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/myWait/updateUser/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/renovationList/index.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/surveyList/components/createInterface/index.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/surveyList/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/closure/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/examine/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/illExamine/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/illclosure/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/grid/components/header/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/grid/components/main/index.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/grid/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/platform/mySetting/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/baseInfo.js
@@ -5,4 +5,14 @@
        return http.get('/sccg/sccg_region/list', params);
    },
    // 查询违规大类
    getCategoryList: (params) => {
        return http.get('/sccg/violations/query/type_second', params);
    },
    //查询违规小类
    getTypeList: (params) => {
      return http.get('/sccg/violations/query/type_third', params);
    }
}
src/components/detail/index.vue
@@ -6,7 +6,7 @@
                    <label class="data-title">
                        问题类型:
                    </label> 
                    <span class="data-detail">违规</span>
                    <span class="data-detail">{{ getCategoryLabel(baseCase.category) }}</span>
                </div>
                <div class="data-item__right">
                    <label class="data-title">
@@ -38,12 +38,6 @@
                </div>
            </div>
            <div class="data-item">
                <!-- <div class="data-item__left">
                    <label class="data-title">
                        所属区县:
                    </label>
                    <span class="data-detail">xxx</span>
                </div> -->
                <div class="data-item__left">
                    <label class="data-title">
                        所属街道:
@@ -57,14 +51,6 @@
                    <span class="data-detail">{{baseCase.communityText}}</span>
                </div>
            </div>
            <!-- <div class="data-item">
                <div class="data-item__left">
                    <label class="data-title">
                        所属街道:
                    </label>
                    <span class="data-detail">{{baseCase.streetText}}</span>
                </div>
            </div> -->
            <div class="data-item">
                <div class="data-item__left">
                    <label class="data-title">
@@ -138,6 +124,8 @@
import MyFilePicture from '@/components/filePictrue'
import MySovleProblem from '@/components/solveProblem'
import MyScene from '@/components/scene'
import { CATEGOTY } from "@/utils/helper";
export default {
    components: { 
        MyProcess, MyFilePicture, MySovleProblem, MyScene
@@ -174,17 +162,18 @@
        }
    },
    created() {
        const {info} = this;
        this.baseCase = info.baseCase;
        this.handlePassVo = info.handlePassVo;
        this.currentSitVo = info.currentSitVo;
        this.filesPictureVo = info.filesPictureVo;
        console.log(info);
        this.baseCase = this.info.baseCase;
        this.handlePassVo = this.info.handlePassVo;
        this.currentSitVo = this.info.currentSitVo;
        this.filesPictureVo = this.info.filesPictureVo;
    },
    methods: {
        changeComponent(index) {
            this.activeIndex = index;
        },
      getCategoryLabel(category) {
          return CATEGOTY.find(item => item.value === category).label;
      }
    },
    props: ['info','mycode']
}
src/components/dispatch/index.vue
@@ -47,9 +47,7 @@
          <el-select
            v-model="dispatch.enforcementTeam"
            placeholder="选择中队"
            :disabled="
              squadronOptions.length !== 0 && squadronOptions ? false : true
            "
            :disabled="!(squadronOptions.length !== 0 && squadronOptions)"
            @change="handleMidChange"
          >
            <el-option
@@ -66,9 +64,7 @@
          <el-select
            v-model="dispatch.lawEnforcer"
            placeholder="请选择人员"
            :disabled="
              personOptions.length !== 0 && personOptions ? false : true
            "
            :disabled="!(personOptions.length !== 0 && personOptions)"
            @change="handlePerChange"
          >
            <el-option
@@ -121,15 +117,15 @@
</template>
<script>
import MyMap from "@/components/map";
import { parseTime } from "@/utils/index";
export default {
  components: {
    MyMap,
  },
  props: ["id", "changeDialog", "refresh", "mytype"],
  props: ["id", "changeDialog", "refresh", "mytype", "isGetData"],
  created() {
    // 判断车辆类型
    this.mytype === 1 ? this.getLawCarList() : this.getSoilCarList();
    this.isGetDispatchData = this.isGetData ? this.isGetData : false;
    this.getDepartList();
  },
  data() {
@@ -150,13 +146,6 @@
        callback();
      } else {
        callback(new Error("派遣意见不能为空"));
      }
    };
    const checkDistance = (rule, value, callback) => {
      if (value) {
        callback();
      } else {
        callback(new Error("距离不能为空"));
      }
    };
    const checkTeam = (rule, value, callback) => {
@@ -218,12 +207,6 @@
        dispatchOpinion: [
          { required: true, trigger: "change", validator: checkOpinion },
        ],
        // distance: [
        //   { required: true, trigger: "change", validator: checkDistance },
        // ],
        // enforcementTeam: [
        //     { required: true, trigger: 'change', validator: checkTeam }
        // ],
        lawEnforcer: [
          { required: true, trigger: "change", validator: checkPerson },
        ],
@@ -238,57 +221,38 @@
          },
        ],
      },
      carOptions: [
        {
          label: "车辆一",
          value: 1,
        },
        {
          label: "车辆二",
          value: 2,
        },
      ],
      carOptions: [],
      departOptions: [],
      carOptions: [
        {
          label: "车辆一",
          value: 1,
        },
        {
          label: "车辆二",
          value: 2,
        },
      ],
      squadronOptions: [],
      personOptions: [],
      isGetDispatchData: true
    };
  },
  methods: {
    // 执行调度
    handleDispatch() {
      console.log(this.dispatch);
      this.$refs.form.validate((valid) => {
        console.log(valid);
        if (valid) {
          const { dispatch, id } = this;
          // dispatch.disposeDate = new Date();
          console.log(id);
          dispatch.baseCaseId = id;
          console.log(dispatch);
          this.$axios({
            method: "post",
            url: `sccg/dispatch_handle/dispatch`,
            data: dispatch,
          }).then((res) => {
            this.$message({
              type: res.code === 200 ? "success" : "error",
              message: res.code === 200 ? "调度成功" : res.message,
          if (this.isGetDispatchData) {
            this.$emit('getDispatchData', this.dispatch);
          } else {
            const { dispatch, id } = this;
            dispatch.baseCaseId = id;
            this.$axios({
              method: "post",
              url: `sccg/dispatch_handle/dispatch`,
              data: dispatch,
            }).then((res) => {
              this.$message({
                type: res.code === 200 ? "success" : "error",
                message: res.code === 200 ? "调度成功" : res.message,
              });
              this.refresh();
            });
            this.$emit("changeDialog", { flag: false });
            this.refresh();
          });
          }
          this.$emit("changeDialog", { flag: false });
        } else {
          return false;
          this.$message.warning('请检查必填项');
        }
      });
    },
@@ -303,7 +267,6 @@
        url: `sccg/car_Manage/query_enforce?current=1&size=1000`,
      }).then((res) => {
        this.carOptions = res.data.records;
        console.log(res, this.carOptions);
      });
    },
    // 获取渣土车辆
@@ -326,7 +289,6 @@
    },
    // 获取中队
    async getTeamList(id) {
      console.log(id);
      await this.$axios({
        method: "get",
        url: `sccg/depart/query_father_children?fatherId=${id}`,
@@ -335,12 +297,10 @@
          this.squadronOptions = res.data;
        })
        .catch((err) => {
          console.log(err);
        });
    },
    // 获取部门下的用户
    async getDepartUserList(id) {
      console.log(id);
      await this.$axios({
        method: "get",
        url: `sccg/admin/getDepartUser/${id}`,
@@ -372,9 +332,6 @@
      this.dispatch.contactWay = "";
      this.dispatch.lawEnforcerName = "";
      await this.getTeamList(id);
      // if (this.squadronOptions.length === 0) {
      //     await this.getDepartUserList(id);
      // }
    },
    // 中队更改
    async handleMidChange(id) {
@@ -404,9 +361,7 @@
  watch: {
    "squadronOptions.length": {
      handler(newval, oldval) {
        console.log(newval);
        if (newval === 0) {
          console.log(1);
          this.$message({
            type: "warning",
            message: "该部门下没有中队",
src/components/myUpload/index.vue
@@ -85,6 +85,7 @@
            this.loading = false;
          })
          .catch(err => {
            this.loading = false;
            this.$message.error(err);
          })
    },
src/http/url-recorder.js
@@ -20,7 +20,6 @@
    // 如果请求还在队列里,说明还在处理,没有回包
    if (this.urlList.includes(url)) {
      const errorMessage = `请求 ${url} 正在处理,请稍后再试!`
      console.error(errorMessage)
      const error = {
        status: {
          code: 1007, // 临时写的
src/views/intelligentPatrol/studyJudge/index.vue
@@ -31,7 +31,7 @@
              <span>报警记录</span>
              <span>乱停乱放违法占道</span>
            </div>
            <el-form ref="currentEvent" label-width="120px" :model="currentEvent" :rules="rules">
            <el-form ref="currentEvent" label-width="120px" :model="eventInfoData" :rules="rules">
              <el-form-item label="事件编号:">
                <span>{{ currentEvent.code }}</span>
              </el-form-item>
@@ -47,25 +47,37 @@
              <el-form-item label="持续时间:">
                <span>{{ currentEvent.conntinueTime }}</span>
              </el-form-item>
              <el-form-item label="关联店铺" prop="store">
                <el-select v-model="eventInfoData.store" @change="selectStoreChange" placeholder="请选择关联店铺">
                  <el-option v-for="store in storeList" :value="store.id" :label="store.storeName" :key="store.id" />
                </el-select>
              </el-form-item>
              <el-form-item v-if="eventInfoData.store" label="店铺得分:">
                <span>{{ selectStoreChange(eventInfoData.store).storeScore }}</span>
              </el-form-item>
              <el-form-item label="处理意见:" prop="advice">
                <el-radio-group v-model="currentEvent.advice">
                <el-radio-group v-model="eventInfoData.advice">
                  <el-radio :label="item.id" v-for="item in adviceList" :key="item.id">{{ item.label }}</el-radio>
                </el-radio-group>
              </el-form-item>
              <el-form-item label="大类名称:" prop="categoryId">
                <el-input v-model="currentEvent.categoryId" placeholder="请选择大类名称"></el-input>
                <el-select v-model="eventInfoData.categoryId" placeholder="请选择大类名称" @change="categoryChange">
                  <el-option v-for="category in categoryOptions" :key="category.id" :value="category.id" :label="category.name" />
                </el-select>
              </el-form-item>
              <el-form-item label="小类名称:" prop="typeId">
                <el-input v-model="currentEvent.typeId" placeholder="请选择小类名称"></el-input>
                <el-select v-model="eventInfoData.typeId" placeholder="请选择小类名称">
                  <el-option v-for="type in typeOptions" :key="type.id" :value="type.id" :label="type.name" />
                </el-select>
              </el-form-item>
              <el-form-item label="车牌号:" prop="carNumber">
                <el-input v-model="currentEvent.carNumber" placeholder="请填写车牌号码"></el-input>
                <el-input v-model="eventInfoData.carNumber" placeholder="请填写车牌号码"></el-input>
              </el-form-item>
              <el-form-item label="备注:" prop="description">
                <el-input type="textarea" :rows="5" v-model="currentEvent.description"></el-input>
                <el-input type="textarea" :rows="5" v-model="eventInfoData.description"></el-input>
              </el-form-item>
              <el-form-item>
                <el-button @click="pageChange('prev')">上一条</el-button>
                <el-button :disabled="currentPage === 1" @click="pageChange('prev')">上一条</el-button>
                <el-button @click.native.prevent="handleConfirm">确认</el-button>
                <el-button @click="pageChange('next')">下一条</el-button>
              </el-form-item>
@@ -74,23 +86,63 @@
        </div>
      </div>
    </div>
    <el-dialog :visible="isShowDialog" title="调度信息">
      <MyDispatch v-if="isShowDialog" :mytype="1" @confirmInspection="handleConfirm" :isGetData="true" @changeDialog="closeDialog"></MyDispatch>
    </el-dialog>
  </div>
</template>
<script>
import basecase from "@/api/operate/basecase";
import baseInfo from "@/api/baseInfo";
import { getStoreInfoList } from "@/api/operate/storeManagement";
import { FILE_ORIGINAL_URL } from "@/utils";
import { validateCarNum } from "@/utils/validate";
import MyDispatch from '@/components/dispatch';
export default {
  components: { MyDispatch },
  created() {
    this.getInspectionData();
    this.initEventParams();
    basecase.getInspectionCountData()
        .then(res => {
          this.countData = res;
        })
        .catch(err => this.$message.error(err))
    getStoreInfoList({ current: 1, size: 100 })
        .then(({ list }) => {
          this.storeList = list;
        })
        .catch(err => {
          this.$message.error(err)
        })
    baseInfo.getCategoryList()
        .then(res => {
          this.categoryOptions = res;
        })
        .catch(err => this.$message.error(err))
    baseInfo.getTypeList()
        .then(res => {
          this.typeList = res;
        })
        .catch(err => this.$message.error(err))
  },
  data() {
    const validateCarNumber = (rule, value, callback) => {
      if (value) {
        if (validateCarNum(value)) {
          callback();
        } else {
          callback(new Error('请输入正确的车牌号'));
        }
      } else {
        callback();
      }
    };
    return {
      eventList: [],
      countData: {
@@ -99,11 +151,11 @@
      currentEvent: {},
      adviceList: [
        {
          id: 1,
          id: 2,
          label: '上报',
        },
        {
          id: 2,
          id: 6,
          label: '调度',
        },
        {
@@ -115,6 +167,7 @@
          label: '暂不处理',
        },
      ],
      eventInfoData: null,
      rules:{
        advice:[
          {
@@ -131,41 +184,35 @@
            required: true, trigger:['blur', 'change'], message: '小类名称不能为空'
          }
        ],
        carNumber:[
          {
            required: true, trigger:['blur', 'change'], message: '车牌号不能为空'
          }
        ]
        carNumber:[{ trigger:['blur', 'change'], validator: validateCarNumber }]
      },
      imageList: [],
      currentPage: 1
      currentPage: 1,
      categoryOptions: [],
      typeOptions: [],
      storeList: [],
      typeList: [],
      isShowDialog: false
    }
  },
  methods:{
    pageChange(type) {
      if (this.eventList.length === this.currentPage) {
        this.$message.warning('当前已是最后一页');
        return;
      }
      if (type === 'next') {
        this.currentPage += 1;
      } else {
        this.currentPage -= 1;
      }
      this.currentEvent = this.eventList[this.currentPage - 1];
      this.getInspectionData();
    },
    getInspectionData() {
      basecase.getInspectionData({ current: this.currentPage })
          .then(({ records }) => {
            this.eventList = records;
            this.eventList.forEach(item => {
              if (item.picData) {
                const imageUrls = item.picData.split(',');
                this.imageList = imageUrls.map(url => `${FILE_ORIGINAL_URL}${url}`);
              }
            })
            this.currentEvent = this.eventList[this.currentPage - 1];
            this.currentEvent = this.eventList[0];
            if (this.currentEvent?.picData) {
              this.imageList = this.currentEvent.picData.split(',').map(item => `${FILE_ORIGINAL_URL}${item}`);
            }
          })
          .catch(err => this.$message.error(err))
    },
@@ -174,16 +221,57 @@
    handleConfirm(){
      this.$refs.currentEvent.validate((flag)=>{
        if(flag){
          basecase.confirmInspection(this.currentEvent)
              .then(() => {
                this.$message.success('操作成功');
                this.getInspectionData();
              })
              .catch(err => this.$message.error(err))
          this.eventInfoData.baseId = this.currentEvent.code;
          // 调度
          if (this.eventInfoData.advice === 6) {
            this.isShowDialog = true;
          } else {
            this.confirmInspection();
          }
        } else {
          this.$message.warning('请检查必填项')
          this.$message.warning('请检查必填项');
        }
      })
    },
    initEventParams() {
      this.eventInfoData = {
        baseId: null,
        store: null,
        advice: null,
        categoryId: null,
        typeId: null,
        carNumber: null,
        description: null,
        linkShop: 0,
        shopName: null
      }
    },
    categoryChange(id) {
      this.typeOptions = this.typeList.filter(type => type.parentId === id);
    },
    confirmInspection(data) {
      basecase.confirmInspection({ ...this.eventInfoData, ...data })
          .then(() => {
            this.$message.success('操作成功');
            this.getInspectionData();
            this.initEventParams();
          })
          .catch(err => this.$message.error(err))
    },
    closeDialog() {
      this.isShowDialog = false;
    },
    selectStoreChange(id) {
      const selectedStore = this.storeList.find(store => store.id === id);
      this.eventInfoData.shopName = selectedStore.storeName;
      this.eventInfoData.linkShop = 1;
      return selectedStore;
    }
  }
}
src/views/layout/components/Header/updatePassword/index.vue
@@ -53,7 +53,6 @@
           this.updatePasswordParam.oldPassword=this.password.oldPassword;
           this.updatePasswordParam.username=sessionStorage.getItem('name');
           this.updatePasswordParam.newPassword=this.password.newPassword;
           console.log(this.updatePasswordParam);
            users.updatePassword(this.updatePasswordParam)
                .then(() => {
                  this.$message.success('修改密码成功, 即将重新登录');
src/views/operate/baseSetting/illegalBuild/createUser/index.vue
@@ -67,7 +67,6 @@
                parentId:'',
                level:'',
            },
            parentList: [],
            createIll: {
                name: [
                    { required: true, trigger: 'blur', validator: checkName }
@@ -128,9 +127,7 @@
        },
        // 提交新增违规类型
        handleSubmit() {
            console.log(this.things);
            this.$refs.user.validate((valid) => {
                console.log(valid);
                if (valid) {
                    const { things,selectOrg } = this;
                    this.$axios({
@@ -171,25 +168,10 @@
                
            }else{
                this.parentList = await this.getTypeThird()
                // this.parentList = this.addChildren(await this.getTypeThird(), await this.getTypeSecond());
            }
        },
        // addChildren(parentArr, childArr) {
        //     // console.log(parentArr.length,childArr);
        //     parentArr.forEach(item => {
        //         item.children = [];
        //         childArr.forEach(child => {
        //             if (item.id === child.parentId) {
        //                 item.children.push(child);
        //             }
        //         })
        //     })
        //     console.log(parentArr);
        //     return parentArr;
        // },
        handleCheck(data, checked) {
            this.things.parentId = data.name;
            console.log(this.selectOrg.orgsid);
            // 获取当前选择的id在数组中的索引
            const indexs = this.selectOrg.orgsid.indexOf(data.id)
            // 如果不存在数组中,并且数组中已经有一个id并且checked为true的时候,代表不能再次选择。
@@ -225,7 +207,6 @@
    background-color: #09152f;
    main {
        // border: 1px solid #fff;
        text-align: left;
        padding: 0 55px;
        background-color: #09152f;
src/views/operate/baseSetting/illegalBuild/index.vue
@@ -128,7 +128,6 @@
    methods: {
        // 批量删除
        mulDelete(idArr){
            console.log(idArr);
            this.$axios({
                method:'delete',
                url:'sccg/illegal_building/batch_delete?ids='+idArr,
@@ -160,11 +159,7 @@
        // 监听表格选中状态
        tableChange(list) {
            this.tempList = list;
            if (list.length === this.tableData.length) {
                this.all = true;
            } else {
                this.all = false
            }
            this.all = list.length === this.tableData.length;
        },
        // 全选
        selectAll() {
@@ -178,10 +173,8 @@
        },
        // 删除单条数据
        handleDelete({ number }) {
            console.log(number);
            this.$confirm('确认删除?')
                .then(_ => {
                    console.log(1);
                    this.$axios({
                        method: 'delete',
                        url: `sccg/illegal_building/delete?id=${number}`,
@@ -195,7 +188,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取用户列表
        getUserList() {
@@ -212,12 +205,11 @@
        },
        // 设置表格斑马纹
        tableRowClassName({ row, rowIndex }) {
            if ((rowIndex + 1) % 2 == 0) {
            if ((rowIndex + 1) % 2 === 0) {
                return 'warning-row';
            } else {
                return 'success-row';
            }
            return '';
        },
        // 查看用户信息(不可修改)
        handleFind(rowData) {
@@ -280,7 +272,6 @@
    header {
        background-color: #09152f;
        border: 1pox solid #fff;
        .headerContent {
            padding: 0 40px;
@@ -330,7 +321,6 @@
        background-color: #09152f;
        margin-top: 20px;
        padding-bottom: 50px;
        border: 1pox solid #fff;
        .mainTitle {
            line-height: 60px;
src/views/operate/baseSetting/illegalBuild/updateUser/index.vue
@@ -44,7 +44,6 @@
        }
    },
    created() {
        console.log(this.userInfo);
        this.things = JSON.parse(JSON.stringify(this.userInfo));
        // 获取所属类型列表
        this.getTypeFirst();
src/views/operate/baseSetting/violation/index.vue
@@ -133,7 +133,6 @@
    methods: {
        // 批量删除
        mulDelete(idArr) {
            console.log(idArr);
            this.$axios({
                method: 'delete',
                url: 'sccg/violations/batch_delete?ids=' + idArr,
@@ -183,10 +182,8 @@
        },
        // 删除单条数据
        handleDelete({ number }) {
            console.log(number);
            this.$confirm('确认删除?')
                .then(_ => {
                    console.log(1);
                    this.$axios({
                        method: 'delete',
                        url: `sccg/violations/delete?id=${number}`,
@@ -200,7 +197,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取用户列表
        getUserList() {
@@ -215,37 +212,7 @@
                    this.totalNum = res.data.total;
                })
        },
        // search() {
        //     const that = this;
        //     const { currentPage, pageSize, context } = this;
        //     // 获取所有用户信息
        //     if (context == '') {
        //         this.$axios.get('sccg/role/list?keyword=' + '&pageNum=' + currentPage + '&pageSize=' + pageSize).then(res => {
        //             if (res.code === 200) {
        //                 console.log(res);
        //                 res.data.list.forEach(item => {
        //                     // item.createTime = helper(item.createTime);
        //                     item.status == 1 ? item.status = true : item.status = false;
        //                 })
        //                 that.tableData = res.data.list;
        //                 this.totalNum = res.data.list.length;
        //             }
        //         })
        //     } else {
        //         this.$axios({
        //             method: 'get',
        //             url: 'sccg/role/list?keyword=' + context + '&pageNum=' + currentPage + '&pageSize=' + pageSize,
        //         }).then(res => {
        //             if (res.code === 200) {
        //                 res.data.list.forEach(item => {
        //                     item.status == 1 ? item.status = true : item.status = false;
        //                 })
        //                 that.tableData = res.data.list
        //                 this.totalNum = res.data.list.length;
        //             }
        //         })
        //     }
        // },
        // 设置表格斑马纹
        tableRowClassName({ row, rowIndex }) {
            if ((rowIndex + 1) % 2 == 0) {
@@ -318,7 +285,6 @@
    header {
        background-color: #09152f;
        border: 1pox solid #fff;
        .headerContent {
            padding: 0 40px;
@@ -368,7 +334,6 @@
        background-color: #09152f;
        margin-top: 20px;
        padding-bottom: 50px;
        border: 1pox solid #fff;
        .mainTitle {
            line-height: 60px;
src/views/operate/baseSetting/violation/updateUser/index.vue
@@ -66,7 +66,6 @@
        }
    },
    created() {
        console.log(this.userInfo);
        this.things = JSON.parse(JSON.stringify(this.userInfo));
        // 获取所属类型列表
        this.getTypeThird();
@@ -74,25 +73,6 @@
        this.getTypeFirst();
    },
    methods: {
        // handleUser() {
        //     this.$refs.user.validate((valid) => {
        //         if (valid) {
        //             const { role } = this;
        //             console.log(role);
        //             this.$axios.post('/sccg/role/update/' + role.id, {
        //                 id: role.id,
        //                 status: role.status,
        //                 description: role.description,
        //                 name: role.name,
        //                 sort: 0
        //             }).then(res => {
        //                 this.$emit('changeDialog', { flag: false });
        //             })
        //         } else {
        //             return false;
        //         }
        //     })
        // },
        // 查询所属类型
        getTypeThird() {
            this.$axios({
src/views/operate/disposal/casepool/dispatch/index.vue
@@ -262,7 +262,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取用户列表
        getUserList() {
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue
@@ -108,9 +108,7 @@
                } else {
                    evidenceForm.validate((flag) => {
                        if (!flag) {
                            console.log(bookForm);
                            bookForm.validate((bookFlag) => {
                                console.log(bookFlag);
                                if (!bookFlag) {
                                    return false;
                                }
src/views/operate/disposal/casepool/escalation/createUser/ill/index.vue
@@ -338,19 +338,15 @@
    methods: {
        handleUser() {
            const that = this;
            // console.log(this.$refs);
            this.$refs.user.validate((valid) => {
                console.log(valid)
                if (valid) {
                    that.$refs.condition.validate((flag) => {
                        console.log(flag);
                        if (flag) {
                            const { ill } = this;
                            ill.buildingLength = parseFloat(ill.buildingLength);
                            ill.buildingHigh = parseFloat(ill.buildingHigh);
                            ill.buildingWidth = parseFloat(ill.buildingWidth);
                            ill.buildingArea = parseFloat(ill.buildingArea);
                            console.log(ill);
                            that.$axios({
                                method: 'post',
                                url: 'sccg/base-case/addition_illegal_building',
@@ -389,7 +385,6 @@
                url: 'sccg/illegal_building/query/type_second'
            }).then(res => {
                this.bigKindList = res.data;
                // console.log(res);
            })
        },
        // 获取行政区域
src/views/operate/disposal/casepool/escalation/createUser/index.vue
@@ -21,7 +21,7 @@
                .then(_ => {
                    this.$emit('getPageProp',{flag:false,type:idx});
                })
                .catch(_ => { console.log('err') });
                .catch(_ => {  });
        }
    },
    props:['getPageProp']
src/views/operate/disposal/casepool/escalation/createUser/vio/index.vue
@@ -299,7 +299,6 @@
    },
    created() {
        const { getBigKind, getEventLevel, getSmallKind } = this;
        console.log(this.mytype);
        this.vio.category = this.mytype + 1;
        getBigKind();
        getSmallKind();
@@ -316,7 +315,6 @@
                url: 'sccg/violations/query/type_first'
            }).then(res => {
                this.bigKindList = res.data;
                // console.log(res);
            })
        },
        // 获取小类列表
@@ -354,7 +352,6 @@
            this.$refs.user.validate((valid) => {
                if (valid) {
                    const { vio } = this;
                    console.log(vio);
                    this.$axios({
                        method: 'post',
                        url: 'sccg/base-case/addition_violation',
src/views/operate/disposal/casepool/escalation/index.vue
@@ -279,7 +279,6 @@
  },
  methods: {
    setMystatus(value) {
      console.log(value);
      this.statusArr[1] = value;
      this.changeTypeChecked(value - 1);
      this.getUserList();
@@ -291,7 +290,6 @@
    },
    // 批量删除
    mulDelete(idArr) {
      console.log(idArr instanceof Array);
      const { statusArr } = this;
      this.$confirm("您确定要批量删除案件吗?")
        .then((_) => {
@@ -318,12 +316,10 @@
          });
        })
        .catch((err) => {
          console.log(err);
        });
    },
    // 执行下拉框操作
    selectChange(list) {
      console.log(this.tempList);
      if (this.tempList.length !== 0) {
        if (list === 3) {
          this.preMyIdx = list;
@@ -418,11 +414,7 @@
    // 更改一级标签的选中
    changeNavChecked(idx) {
      this.tagList.forEach((item, index) => {
        if (index === idx) {
          item.checked = true;
        } else {
          item.checked = false;
        }
        item.checked = index === idx;
      });
      this.typeList[0].checked = true;
      this.typeList[1].checked = false;
@@ -433,11 +425,7 @@
    // 更改违规/违建
    changeTypeChecked(idx) {
      this.typeList.forEach((item, index) => {
        if (index === idx) {
          item.checked = true;
        } else {
          item.checked = false;
        }
        item.checked = index === idx;
      });
      this.mystatus = idx + 1;
      this.statusArr[1] = this.typeList[idx].value;
@@ -448,7 +436,6 @@
    },
    // 获取案件信息
    getEventInfo(code) {
      console.log("获取具体案件信息", code);
      this.$axios({
        method: "get",
        url: `sccg/base_case/baseCaseDetail/${code}`,
@@ -471,7 +458,6 @@
  header {
    background-color: #09152f;
    border: 1pox solid #fff;
    .headerContent {
      padding: 0 40px;
@@ -540,7 +526,6 @@
    background-color: #09152f;
    margin-top: 20px;
    padding-bottom: 50px;
    border: 1pox solid #fff;
    .mainTitle {
      line-height: 60px;
src/views/operate/disposal/casepool/escalation/updateUser/index.vue
@@ -66,7 +66,6 @@
        }
    },
    created() {
        console.log(this.userInfo);
        this.things = JSON.parse(JSON.stringify(this.userInfo));
        // 获取所属类型列表
        this.getTypeThird();
@@ -74,26 +73,6 @@
        this.getTypeFirst();
    },
    methods: {
        // handleUser() {
        //     this.$refs.user.validate((valid) => {
        //         if (valid) {
        //             const { role } = this;
        //             console.log(role);
        //             this.$axios.post('/sccg/role/update/' + role.id, {
        //                 id: role.id,
        //                 status: role.status,
        //                 description: role.description,
        //                 name: role.name,
        //                 sort: 0
        //             }).then(res => {
        //                 this.$emit('changeDialog', { dialogUpdate: false });
        //                 this.getUserList();
        //             })
        //         } else {
        //             return false;
        //         }
        //     })
        // },
        // 查询所属类型
        getTypeThird() {
            this.$axios({
src/views/operate/disposal/casepool/learn/createUser/index.vue
@@ -66,7 +66,6 @@
        }
    },
    created() {
        console.log(this.userInfo);
        this.things = JSON.parse(JSON.stringify(this.userInfo));
        // 获取所属类型列表
        this.getTypeThird();
@@ -74,26 +73,6 @@
        this.getTypeFirst();
    },
    methods: {
        // handleUser() {
        //     this.$refs.user.validate((valid) => {
        //         if (valid) {
        //             const { role } = this;
        //             console.log(role);
        //             this.$axios.post('/sccg/role/update/' + role.id, {
        //                 id: role.id,
        //                 status: role.status,
        //                 description: role.description,
        //                 name: role.name,
        //                 sort: 0
        //             }).then(res => {
        //                 this.$emit('changeDialog', { dialogUpdate: false });
        //                 this.getUserList();
        //             })
        //         } else {
        //             return false;
        //         }
        //     })
        // },
        // 查询所属类型
        getTypeThird() {
            this.$axios({
src/views/operate/disposal/casepool/learn/index.vue
@@ -79,7 +79,7 @@
                <!-- 详情页展示 -->
                <el-dialog :visible.sync="dialogView" width="80%" title="基础信息(人工)" v-if="dialogView"
                    :before-close="handleClose">
                    <MyDetail :info=info v-if="mystatus==1 ? true:false"></MyDetail>
                    <MyDetail :info=info v-if="mystatus === 1"></MyDetail>
                    <MyIllDetail :info=info v-else></MyIllDetail>
                </el-dialog>
                <!-- 上传页面 -->
@@ -117,7 +117,6 @@
    </div>
</template>
<script>
// import updateUser from "./updateUser"
import uploadVio from './updateUser/uploadResult/vio'
import uploadIll from "./updateUser/uploadResult/ill"
import MyDetail from '@/components/detail'
@@ -125,7 +124,6 @@
import helper from '@/utils/mydate'
export default {
    components: {
        // updateUser,
        uploadVio, uploadIll, MyDetail, MyIllDetail
    },
    data() {
@@ -191,14 +189,12 @@
    methods: {
        // 顶部下拉框
        setMystatus(value) {
            console.log(value);
            this.statusArr[1] = value;
            this.changeTypeChecked(value - 1);
            this.getUserList();
        },
        // 批量删除
        mulDelete(idArr) {
            console.log(idArr);
            this.$axios({
                method: 'delete',
                url: 'sccg/violations/batch_delete?ids=' + idArr,
@@ -212,7 +208,6 @@
        },
        // 执行下拉框操作
        selectChange(list) {
            console.log(this.tempList);
            if (this.tempList.length !== 0) {
                if (list === 3) {
                    this.preMyIdx = list;
@@ -232,11 +227,7 @@
            list.forEach(item => {
                this.tempList.push(item.code);
            })
            if (list.length === this.tableData.length) {
                this.all = true;
            } else {
                this.all = false
            }
            this.all = list.length === this.tableData.length;
        },
        // 全选
        selectAll() {
@@ -250,10 +241,8 @@
        },
        // 删除单条数据
        handleDelete({ number }) {
            console.log(number);
            this.$confirm('确认删除?')
                .then(_ => {
                    console.log(1);
                    this.$axios({
                        method: 'delete',
                        url: `sccg/violations/delete?id=${number}`,
@@ -267,7 +256,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => { });
        },
        // 获取用户列表
        getUserList() {
@@ -283,11 +272,7 @@
        // 更改违规/违建
        changeTypeChecked(idx) {
            this.typeList.forEach((item, index) => {
                if (index === idx) {
                    item.checked = true;
                } else {
                    item.checked = false;
                }
                item.checked = index === idx;
            })
            this.mystatus = idx + 1;
            this.statusArr[1] = this.typeList[idx].value;
@@ -295,12 +280,11 @@
        },
        // 设置表格斑马纹
        tableRowClassName({ row, rowIndex }) {
            if ((rowIndex + 1) % 2 == 0) {
            if ((rowIndex + 1) % 2 === 0) {
                return 'warning-row';
            } else {
                return 'success-row';
            }
            return '';
        },
        // 当前页改变触发事件
        changeCurrentPage(page) {
@@ -340,14 +324,9 @@
                    this.dialogView = true;
                })
        },
        // opernDialog(data){
        //     this.dialogUpload = true;
        //     this.caseId = data.id;
        //     // console.log(data);
        // },
        // 重新处置
        handleReset({ id }) {
            console.log(id);
            this.$axios({
                method: 'put',
                url: 'sccg/base_case/case_status_update?caseId=' + id + '&state=0'
@@ -385,7 +364,6 @@
    header {
        background-color: #09152f;
        border: 1pox solid #fff;
        .headerContent {
            padding: 0 40px;
@@ -440,7 +418,6 @@
        background-color: #09152f;
        margin-top: 20px;
        padding-bottom: 50px;
        border: 1pox solid #fff;
        .btn span:hover {
            cursor: pointer;
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/evidence/index.vue
@@ -465,9 +465,7 @@
        },
        // 检验user
        checkUser() {
            // console.log(this.$refs.userForm.validate);
            this.$refs.userForm.validate((valid) => {
                console.log(valid);
                if (valid) {
                    this.evidence.userInfo = true;
                    this.userFlag = false;
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/ill/index.vue
@@ -28,7 +28,6 @@
    },
    props:['caseId'],
    created(){
        console.log(this.caseId);
    },
    methods:{
        handleSubmit(){
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/vio/index.vue
@@ -25,20 +25,16 @@
    },
    props: ['caseId', 'closeDialog'],
    created() {
        console.log(this.caseId);
    },
    methods: {
        handleSubmit() {
            const { arrive, evidence } = this.$refs;
            const { arriveForm } = arrive.$refs;
            const { evidenceForm } = evidence.$refs;
            // console.log(evidence.$refs);
            arriveForm.validate((valid) => {
                // console.log(valid);
                if (valid) {
                    evidenceForm.validate((flag) => {
                        if (flag) {
                            // arrive.arrive;evidence.user;evidence.evidence;
                            this.$axios({
                                method: 'post',
                                url: `sccg/dispatch_handle/addition_dispose_result/${this.caseId}/${1}`,
@@ -101,11 +97,9 @@
        },
        // 获得arrive的信息
        getArrive(obj) {
            console.log(obj);
        },
        // 获得evidence对象
        getEvidence(obj) {
            console.log(obj);
        }
    }
}
src/views/operate/disposal/casepool/notDeal/createUser/index.vue
@@ -66,7 +66,6 @@
        }
    },
    created() {
        console.log(this.userInfo);
        this.things = JSON.parse(JSON.stringify(this.userInfo));
        // 获取所属类型列表
        this.getTypeThird();
@@ -74,26 +73,6 @@
        this.getTypeFirst();
    },
    methods: {
        // handleUser() {
        //     this.$refs.user.validate((valid) => {
        //         if (valid) {
        //             const { role } = this;
        //             console.log(role);
        //             this.$axios.post('/sccg/role/update/' + role.id, {
        //                 id: role.id,
        //                 status: role.status,
        //                 description: role.description,
        //                 name: role.name,
        //                 sort: 0
        //             }).then(res => {
        //                 this.$emit('changeDialog', { dialogUpdate: false });
        //                 this.getUserList();
        //             })
        //         } else {
        //             return false;
        //         }
        //     })
        // },
        // 查询所属类型
        getTypeThird() {
            this.$axios({
src/views/operate/disposal/casepool/notDeal/index.vue
@@ -182,14 +182,12 @@
    methods: {
        // 顶部下拉框
        setMystatus(value) {
            console.log(value);
            this.statusArr[1] = value;
            this.changeTypeChecked(value - 1);
            this.getUserList();
        },
        // 批量删除
        mulDelete(idArr){
            console.log(idArr);
            this.$axios({
                method:'delete',
                url:'sccg/violations/batch_delete?ids='+idArr,
@@ -203,7 +201,6 @@
        },
        // 执行下拉框操作
        selectChange(list) {
            console.log(this.tempList);
            if (this.tempList.length !== 0) {
                if (list === 3) {
                    this.preMyIdx = list;
@@ -237,10 +234,8 @@
        },
        // 删除单条数据
        handleDelete({ number }) {
            console.log(number);
            this.$confirm('确认删除?')
                .then(_ => {
                    console.log(1);
                    this.$axios({
                        method: 'delete',
                        url: `sccg/violations/delete?id=${number}`,
@@ -254,7 +249,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取用户列表
        getUserList() {
@@ -315,11 +310,9 @@
        opernDialog(data){
            this.dialogUpload = true;
            this.caseId = data.id;
            // console.log(data);
        },
        // 重新处置
        handleReset({id}){
            console.log(id);
            this.$axios({
                method:'put',
                url:'sccg/base_case/case_status_update?caseId='+id+'&state=0'
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/components/evidence/index.vue
@@ -465,9 +465,7 @@
        },
        // 检验user
        checkUser() {
            // console.log(this.$refs.userForm.validate);
            this.$refs.userForm.validate((valid) => {
                console.log(valid);
                if (valid) {
                    this.evidence.userInfo = true;
                    this.userFlag = false;
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/ill/index.vue
@@ -28,7 +28,6 @@
    },
    props:['caseId'],
    created(){
        console.log(this.caseId);
    },
    methods:{
        handleSubmit(){
src/views/operate/disposal/casepool/notDeal/updateUser/uploadResult/vio/index.vue
@@ -71,11 +71,9 @@
        },
        // 获得arrive的信息
        getArrive(obj) {
            console.log(obj);
        },
        // 获得evidence对象
        getEvidence(obj) {
            console.log(obj);
        }
    }
}
src/views/operate/disposal/casepool/pool/createUser/ill/index.vue
@@ -459,15 +459,12 @@
        },
        // 街道更改
        handleStreet(id) {
            console.log(id);
            this.ill.communityId = '';
            // this.communityList = getcommunityList(1,'11')
            this.$axios({
                method: 'get',
                url: `sccg/sccg_region/getChildren/${id}`
            })
                .then(res => {
                    console.log(res.data)
                    this.communityList = res.data;
                })
        },
src/views/operate/disposal/casepool/pool/createUser/vio/index.vue
@@ -51,14 +51,6 @@
                            </el-option>
                        </el-select>
                    </el-form-item>
                    <!-- 所属区县 -->
                    <!-- <el-form-item class="optionItems" label="所属区县:" prop="status">
                        <el-select v-model="vio.type" placeholder="请选择所属区县">
                            <el-option v-for="item in typeList" :key="item.name" :label="item.name" :value="item.value"
                                :disabled="item.disabled">
                            </el-option>
                        </el-select>
                    </el-form-item> -->
                    <div class="user-item">
                        <!-- 所属街道 -->
                        <el-form-item class="optionItems" label="所属街道:" prop="streetId">
@@ -395,7 +387,6 @@
    },
    created() {
        const { setBigKindList, getStreetList, getEventLevel } = this;
        console.log(this.mytype);
        this.vio.category = this.mytype + 1;
        setBigKindList();
        getStreetList(0);
@@ -426,7 +417,6 @@
                    return item;
                }
            })
            console.log(this.anYouList);
        },
        // 查询大类列表
        async getBigKind() {
@@ -522,9 +512,7 @@
        },
        // 街道更改
        handleStreet(id) {
            console.log(id);
            this.vio.communityId = '';
            // this.communityList = getTypeList(1,'11')
            this.$axios({
                method: 'get',
                url: `sccg/sccg_region/getChildren/${id}`
@@ -552,7 +540,6 @@
        selectBlur(e) {
            if (e.target.value) {
                this.vio.actionCause = e.target.value;
                console.log(e.target.value);
            }
        }
    },
src/views/operate/lawEnforcement/components/dataView/index.vue
@@ -15,7 +15,6 @@
        default:{},
    },
    created(){
        console.log(this.viewData);
    }
}
</script>
src/views/operate/lawEnforcement/index.vue
@@ -153,7 +153,6 @@
    },
    methods: {
        search() {
            console.log('search');
        },
        reset() {
src/views/operate/management/myIndex/components/closure/index.vue
@@ -301,7 +301,6 @@
              }
            })
            .catch((err) => {
              console.log(err);
            });
        } else {
          return false;
src/views/operate/management/myIndex/components/examine/index.vue
@@ -174,7 +174,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                }else{
                    return false;
                }
src/views/operate/management/myIndex/components/illExamine/index.vue
@@ -172,7 +172,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                }else{
                    return false;
                }
src/views/operate/management/myIndex/components/illclosure/index.vue
@@ -305,7 +305,7 @@
              }
            })
            .catch((err) => {
              console.log(err);
            });
        } else {
          return false;
src/views/operate/management/myIndex/index.vue
@@ -231,7 +231,6 @@
        },
        // 删除单条数据
        handleDelete({ number }) {
            console.log(number);
            this.$confirm('确认删除?')
                .then(_ => {
                    this.$axios({
@@ -247,7 +246,7 @@
                            this.getUserList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取用户列表
        getUserList() {
@@ -391,7 +390,6 @@
        background-color: #09152f;
        margin-top: 20px;
        padding-bottom: 50px;
        border: 1pox solid #fff;
        .btn span:hover{
            cursor: pointer;
        }
src/views/operate/message/mycontrol/createUser/index.vue
@@ -40,10 +40,6 @@
            if (value) {
                callback();
            } else {
                // const rep = /^[\u4E00-\u9FA5]{2,4}$/;
                // if (!rep.test(value)) {
                //     callback("请输入正确的用户姓名");
                // }
                callback();
            }
        };
@@ -103,21 +99,6 @@
        handleCancel(){
            this.$emit('closeDialog',{flag:false,index:0});
        }
        // 获取创建用户信息
        // async getCreaterInfo(){
        //     let id;
        //     const name = sessionStorage.getItem('name');
        //     await this.$axios({
        //         method:'get',
        //         url:'sccg/admin/info?name='+'name'
        //     })
        //     .then(res=>{
        //         console.log(res);
        //         if(res.code ===200){
        //         }
        //     })
        // }
    },
    props: ['closeDialog']
}
src/views/operate/myWait/updateUser/index.vue
@@ -73,26 +73,6 @@
        this.getTypeFirst();
    },
    methods: {
        // handleUser() {
        //     this.$refs.user.validate((valid) => {
        //         if (valid) {
        //             const { role } = this;
        //             console.log(role);
        //             this.$axios.post('/sccg/role/update/' + role.id, {
        //                 id: role.id,
        //                 status: role.status,
        //                 description: role.description,
        //                 name: role.name,
        //                 sort: 0
        //             }).then(res => {
        //                 this.$emit('changeDialog', { dialogUpdate: false });
        //                 this.getUserList();
        //             })
        //         } else {
        //             return false;
        //         }
        //     })
        // },
        // 查询所属类型
        getTypeThird() {
            this.$axios({
src/views/operate/rectification/renovationList/index.vue
@@ -225,27 +225,10 @@
        // 删除第三方接口
        handleDelete({ id }) {
            this.dialogUpdate=true;
            console.log(id);
        }
        // // 当前页改变触发事件
        // changeCurrentPage(page) {
        //     this.currentPage = page;
        //     this.getUserList();
        // },
        // // 上一页点击事件
        // handlePrev(page) {
        //     this.currentPage = page;
        //     this.getUserList();
        // },
        // // 下一页点击事件
        // handleNext(page) {
        //     this.currentPage = page;
        //     this.getUserList();
        // },
    }
}
</script>
<!-- sccg/system/portal/thirdApp/search -->
<style lang="scss" scoped>
.otherInterface {
    header {
src/views/operate/rectification/surveyList/components/createInterface/index.vue
@@ -165,34 +165,18 @@
  methods: {
    // 关闭弹窗
    handleCancel() {
        console.log(1);
      this.$emit("closeDialog", { flag: false, index: 0 });
    },
    //保存
    handleSave() {
      const { myInterface } = this;
        this.$refs.survey.validate((flag)=>{
            console.log(flag)
            if(flag){
            }else{
                return false
            }
        })
    //   this.$axios
    //     .post("sccg/system/portal/thirdApp/add", {
    //       websiteUrl: myInterface.websiteUrl,
    //       applicationIconUrl: myInterface.applicationIconUrl,
    //       applicationType: 0,
    //       description: myInterface.description,
    //       applicationName: myInterface.applicationName,
    //     })
    //     .then((res) => {
    //       console.log(res);
    //       // if (res.code === 200) {
    //       //     this.refresh();
    //       // }
    //     });
    },
  },
  props: ['refresh','closeDialog'],
src/views/operate/rectification/surveyList/index.vue
@@ -214,19 +214,16 @@
        .catch((_) => {});
    },
    closeDialog({ flag, index }) {
      console.log(flag);
      index === 1 ? "" : "";
      this.dialogCreate = flag;
    },
    // 创建查看弹窗
    handleView(rowData) {
      console.log(rowData);
      this.userInfo = rowData;
      this.dialogUpdate = true;
    },
    // 删除第三方接口
    handleDelete({ id }) {
      console.log(id);
      this.$axios
        .delete("sccg/system/portal/thirdApp/delete", {
          params: {
src/views/operate/viewEvent/components/closure/index.vue
@@ -220,7 +220,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                } else {
                    return false;
                }
src/views/operate/viewEvent/components/examine/index.vue
@@ -181,7 +181,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                }else{
                    return false;
                }
src/views/operate/viewEvent/components/illExamine/index.vue
@@ -181,7 +181,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                }else{
                    return false;
                }
src/views/operate/viewEvent/components/illclosure/index.vue
@@ -208,7 +208,7 @@
                            }
                        })
                        .catch(err => { console.log(err) });
                        .catch(err => {  });
                } else {
                    return false;
                }
src/views/operate/viewEvent/index.vue
@@ -80,7 +80,7 @@
        >
          <el-table-column prop="code" label="事件编号" min-width="18">
            <template slot-scope="scope">
              <el-link>{{ scope.row.code }}</el-link>
              <el-link @click="handleView(scope.row)">{{ scope.row.code }}</el-link>
            </template>
          </el-table-column>
          <el-table-column prop="category" label="问题类别" min-width="8">
@@ -289,9 +289,15 @@
    closeDialog({ flag }) {
      this.dialogExamine = flag;
      this.dialogClosure = flag;
      this.dialogView = false;
      this.getList();
    },
    async handleView(rowData) {
      this.info = await casequery.getBaseCaseDetail(rowData.code);
      this.dialogView = true;
    },
    filterTime(time) {
      return helper(time);
    },
src/views/systemSetting/device/grid/components/header/index.vue
@@ -36,7 +36,6 @@
            this.$emit('getSearch', { text: this.search })
        },
        sendDialog(flag) {
            console.log(flag);
            this.dialogCreate = flag.flag;
            this.$emit('setDialog', { flag: true })
        },
@@ -55,7 +54,6 @@
<style lang="scss" scoped>
header {
    background-color: #09152f;
    border: 1pox solid #fff;
    .headerContent {
        padding: 0 40px;
src/views/systemSetting/device/grid/components/main/index.vue
@@ -130,7 +130,6 @@
    },
    methods: {
        async selectChange(list) {
            console.log(this.tempList);
            if (this.tempList.length !== 0) {
                this.preMyIdx = list;
                if (list === 3) {
@@ -154,15 +153,10 @@
            list.forEach(item => {
                this.tempList.push(item.id);
            })
            if (list.length === this.tableData.length) {
                this.all = true;
            } else {
                this.all = false
            }
            this.all = list.length === this.tableData.length;
        },
        // 批量删除用户信息
        mulDelte(idArr) {
            console.log(idArr);
            this.$confirm("您确定要进行批量删除用户吗?")
                .then(_ => {
                    this.$axios({
@@ -184,11 +178,10 @@
                            }
                        })
                })
                .catch(err => { console.log(err) })
                .catch(err => {  })
        },
        // 批量修改账号
        mulUpdateStatus(idArr, flag) {
            console.log(flag);
            this.$confirm(flag === 1 ? "您确定要进行批量启用用户吗?" : '您确定要进行批量禁用用户吗?')
                .then(_ => {
                    this.$axios({
@@ -210,7 +203,7 @@
                            }
                        })
                })
                .catch(err => { console.log(err) })
                .catch(err => {  })
        },
        changeTime({ createTime }) {
            return helper(createTime);
@@ -275,7 +268,7 @@
            this.dialogUpdate = true;
            this.updateFlag = true;
            for (let key in this.flag) {
                if (key == mykey) {
                if (key === mykey) {
                    this.flag[key] = true;
                } else {
                    this.flag[key] = false;
@@ -286,7 +279,7 @@
        // 修改用户状态
        handleChangeStatus(obj) {
            let { id, status } = obj;
            status == true ? status = 1 : status = 0;
            status === true ? status = 1 : status = 0;
            this.$axios.post(`sccg/admin/updateStatus/` + id + '?status=' + status).then(res => {
            })
        },
@@ -298,7 +291,7 @@
            this.$axios.get(`sccg/admin/list?keyword=${search}&current=${currentPage}&pageSize=${pageSize}`).then(res => {
                if (res.code === 200) {
                    res.data.records.forEach(item => {
                        item.status == 1 ? item.status = true : item.status = false;
                        item.status === 1 ? item.status = true : item.status = false;
                    })
                    that.totalNum = res.data.total;
                    that.tableData = res.data.records;
@@ -313,12 +306,11 @@
        },
        // 设置表格斑马纹
        tableRowClassName({ row, rowIndex }) {
            if ((rowIndex + 1) % 2 == 0) {
            if ((rowIndex + 1) % 2 === 0) {
                return 'warning-row';
            } else {
                return 'success-row';
            }
            return '';
        },
        // 处理用户所属角色
        filterRole(arr){
@@ -342,9 +334,9 @@
    watch: {
        refresh: {
            handler(newValue, oldValue) {
                if (newValue == true) {
                if (newValue) {
                    this.search = '';
                    if (this.keyword != '') {
                    if (this.keyword !== '') {
                        this.search = this.keyword;
                    }
                    this.currentPage = 1;
src/views/systemSetting/device/grid/index.vue
@@ -28,13 +28,11 @@
        },
        // 获取刷新结果
        changeDialog({ flag }) {
            console.log(flag);
            this.isFresh = flag;
        },
        // 重置isFresh
        resetFresh({ flag }) {
            this.isFresh = flag;
            console.log(this.isFresh);
        },
    }
}
src/views/systemSetting/platform/mySetting/index.vue
@@ -75,7 +75,6 @@
        },
        // 修改状态
        handleChangeStatus(data) {
            console.log(data);
            let { isStart, relationId } = data;
            isStart ? isStart = 1 : isStart = 0;
            this.$axios({
@@ -122,10 +121,6 @@
        },
        // 拖拽
        handleDrop(before, after, inner, event) {
            console.log(before)
            console.log(after)
            console.log(inner)
            console.log(event);
        },
        // 获取是否可以放置
        allowDrop(before, inner, next) {