zhanghua
2022-12-08 1ec00a645693dbc08b7ea70855451bbd72c43a6a
Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui
20个文件已修改
369 ■■■■■ 已修改文件
src/components/detail/index.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/scene/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/studyJudge/index.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layout/components/Header/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/closure/index.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/management/myIndex/components/examine/index.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/myWait/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/surveyList/components/viewInterface/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/surveyList/index.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/rectification/taskList/components/viewInterface/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/video/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/video/updateInterface/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/closure/index.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/examine/index.vue 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/components/illExamine/index.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/index.vue 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/writManager/writ/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/writManager/writTemplate/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/detail/index.vue
@@ -12,7 +12,7 @@
                    <label class="data-title">
                        大类名称:
                    </label>
                    <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                </div>
            </div>
            <div class="data-item">
@@ -20,13 +20,13 @@
                    <label class="data-title">
                        小类名称:
                    </label>
                    <span class="data-detail">{{baseCase.violations.typeText}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.typeText}}</span>
                </div>
                <div class="data-item__right">
                    <label class="data-title">
                        事件等级:
                    </label>
                    <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.gradeText}}</span>
                </div>
            </div>
            <div class="data-item">
@@ -34,7 +34,7 @@
                    <label class="data-title">
                        案由:
                    </label>
                    <span class="data-detail">{{baseCase.violations.actionCause}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.actionCause}}</span>
                </div>
            </div>
            <div class="data-item">
@@ -64,7 +64,7 @@
                    <label class="data-title">
                        关联商铺名称:
                    </label>
                    <span class="data-detail">{{baseCase.violations.shopName}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.shopName}}</span>
                </div>
            </div>
            <div class="data-item">
@@ -72,7 +72,7 @@
                    <label class="data-title">
                        问题描述:
                    </label>
                    <span class="data-detail">{{baseCase.violations.description}}</span>
                    <span class="data-detail">{{baseCase.violationsVO.description}}</span>
                </div>
            </div>
            <div class="data-user">
@@ -81,13 +81,13 @@
                        <label class="data-title">
                            反映人:
                        </label>
                        <span class="data-detail">{{baseCase.violations.informant}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.informant}}</span>
                    </div>
                    <div class="data-item__right">
                        <label class="data-title">
                            联系方式:
                        </label>
                        <span class="data-detail">{{baseCase.violations.informantPhoneCode}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.informantPhoneCode}}</span>
                    </div>
                </div>
                <div class="data-item">
@@ -95,7 +95,7 @@
                        <label class="data-title">
                            身份证号:
                        </label>
                        <span class="data-detail">{{baseCase.violations.informantIdCard}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.informantIdCard}}</span>
                    </div>
                </div>
            </div>
src/components/scene/index.vue
@@ -161,8 +161,8 @@
            this.arrivalSituation.situationPic = mylist.situationPic.split(",")
        }
        this.mybaseCase = baseCase;
        if (baseCase.violations) {
          this.type = baseCase.violations.typeText;
        if (baseCase.violationsVO) {
          this.type = baseCase.violationsVO.typeText;
        } else {
          this.type = baseCase.illegalBuilding.categoryText;
        }
src/views/intelligentPatrol/studyJudge/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="study-judge">
    <div class="study-judge-header">
      <span>您有{{ eventList.length }}条待审核报警信息,今日立案0条,再学习{{ countData.review }}条</span>
      <span>您有{{ countData.register }}条待审核报警信息,今日立案{{ countData.review }}条,再学习{{ countData.study }}条</span>
    </div>
    <div class="study-judge-main">
      <div class="sjm-header">
@@ -39,10 +39,10 @@
                <span>{{ currentEvent.grade }}</span>
              </el-form-item>
              <el-form-item label="首次报警时间:">
                <span>{{ currentEvent.firstTime }}</span>
                <span>{{ currentEvent.alarmTime }}</span>
              </el-form-item>
              <el-form-item label="最近报警时间:">
                <span>{{ currentEvent.recentTime }}</span>
                <span>{{ currentEvent.currentAlarmTime }}</span>
              </el-form-item>
              <el-form-item label="持续时间:">
                <span>{{ currentEvent.conntinueTime }}</span>
@@ -55,9 +55,9 @@
              <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="eventInfoData.advice">
                  <el-radio :label="item.id" v-for="item in adviceList" :key="item.id">{{ item.label }}</el-radio>
              <el-form-item label="处理意见:" prop="state">
                <el-radio-group v-model="eventInfoData.state">
                  <el-radio :label="item.id" v-for="item in stateList" :key="item.id">{{ item.label }}</el-radio>
                </el-radio-group>
              </el-form-item>
              <el-form-item label="大类名称:" prop="categoryId">
@@ -144,12 +144,13 @@
      }
    };
    return {
      eventList: [],
      countData: {
        review: 0
        study: 0,
        review: 0,
        register: 0
      },
      currentEvent: {},
      adviceList: [
      stateList: [
        {
          id: 2,
          label: '上报',
@@ -169,7 +170,7 @@
      ],
      eventInfoData: null,
      rules:{
        advice:[
        state:[
          {
            required: true, trigger:['blur', 'change'], message: '处理意见不能为空'
          },
@@ -208,10 +209,17 @@
    getInspectionData() {
      basecase.getInspectionData({ current: this.currentPage })
          .then(({ records }) => {
            this.eventList = records;
            this.currentEvent = this.eventList[0];
            this.currentEvent = records[0];
            if (this.currentEvent?.picData) {
              this.imageList = this.currentEvent.picData.split(',').map(item => `${FILE_ORIGINAL_URL}${item}`);
            }
            if (this.currentEvent?.alarmTime || this.currentEvent?.currentAlarmTime) {
              const { alarmTime, currentAlarmTime } = this.currentEvent;
              const continueAlarmTime = new Date().getTime() -
                  (currentAlarmTime ? new Date(currentAlarmTime).getTime() : new Date(alarmTime).getTime());
              const CONTINUE_DAY = continueAlarmTime / 1000 / 60 / 60 / 24;
              const CONTINUE_HOURS = (CONTINUE_DAY - parseInt(CONTINUE_DAY)) * 24;
              this.currentEvent.conntinueTime = `${parseInt(CONTINUE_DAY)}天${parseInt(CONTINUE_HOURS)}小时`;
            }
          })
          .catch(err => this.$message.error(err))
@@ -221,10 +229,10 @@
    handleConfirm(){
      this.$refs.currentEvent.validate((flag)=>{
        if(flag){
          this.eventInfoData.baseId = this.currentEvent.code;
          this.eventInfoData.baseId = this.currentEvent.baseId;
          // 调度
          if (this.eventInfoData.advice === 6) {
          if (this.eventInfoData.state === 6) {
            this.isShowDialog = true;
          } else {
            this.confirmInspection();
@@ -239,7 +247,7 @@
      this.eventInfoData = {
        baseId: null,
        store: null,
        advice: null,
        state: null,
        categoryId: null,
        typeId: null,
        carNumber: null,
@@ -254,7 +262,12 @@
    },
    confirmInspection(data) {
      basecase.confirmInspection({ ...this.eventInfoData, ...data })
      if (data) {
        data.baseCaseId = data.id;
      }
      const eventParams = Object.assign({}, this.eventInfoData);
      delete eventParams.store;
      basecase.confirmInspection({ ...eventParams, ...data })
          .then(() => {
            this.$message.success('操作成功');
            this.getInspectionData();
@@ -269,7 +282,7 @@
    selectStoreChange(id) {
      const selectedStore = this.storeList.find(store => store.id === id);
      this.eventInfoData.shopName = selectedStore.storeName;
      this.eventInfoData.shopName = selectedStore.id;
      this.eventInfoData.linkShop = 1;
      return selectedStore;
    }
src/views/layout/components/Header/index.vue
@@ -4,7 +4,7 @@
    <!-- 左侧菜单 -->
    <div class="header-left">
      <div class="menu-left__item" v-for="(item, index) in menuLeftList" :key="item.id" @click="changeActive(index)">
        <span :class="item.checked ? 'my-active' : ''">{{ item.label }}</span>
        <span :class="item.checked ? 'my-active' : ''" @click="menuChange(item)">{{ item.label }}</span>
      </div>
    </div>
    <!-- 右侧菜单 -->
@@ -210,6 +210,11 @@
          })
        })
        .catch(err => this.$message.error(`${err}`))
    },
    menuChange(data) {
      if (data.id === '1f') {
        window.open('http://121.37.167.200:28081/cockpit-pub/pc-board?boardId=zfu0LsJ9', '_blank');
      }
    }
  }
};
@@ -226,14 +231,12 @@
.el-header {
  background-color: #071a38;
  color: #333;
  text-align: center;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  // width: 100%;
  color: #4b9bb7;
  .header-left {
src/views/operate/disposal/casepool/dispatch/index.vue
@@ -323,6 +323,8 @@
            await casequery.getBaseCaseDetail(data.code)
                .then(({ baseCase, currentSitVo, filesPictureVo, handlePassVo }) => {
                  this.vioData = currentSitVo;
                  this.illData = currentSitVo;
                  debugger;
                  this.imageResourceId = filesPictureVo.imageResources[0]?.id;
                })
                .catch(err => this.$message.error(err))
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/ill/index.vue
@@ -29,11 +29,11 @@
        writ: null
      }
  },
    props: ['caseId','closeDialog', 'vioData', 'illegalType', 'imageResourceId'],
    props: ['caseId','closeDialog', 'illData', 'illegalType', 'imageResourceId'],
    created() {
      this.arriveData = this.vioData.arrivalSituation;
      this.evidenceData = this.vioData.investigation;
      this.writ = this.vioData.writ;
      this.arriveData = this.illData.arrivalSituation;
      this.evidenceData = this.illData.investigation;
      this.writ = this.illData.writ;
    },
    methods: {
        handleSubmit() {
src/views/operate/management/myIndex/components/closure/index.vue
@@ -25,18 +25,18 @@
            }}</span>
          </el-form-item>
          <el-form-item label="事件等级:">
            <span class="data-detail">{{ baseCase.violations.gradeText }}</span>
            <span class="data-detail">{{ baseCase.violationsVO.gradeText }}</span>
          </el-form-item>
        </div>
        <div class="data-item">
          <el-form-item label="大类名称:">
            <span class="data-detail">{{
              baseCase.violations.categoryText
              baseCase.violationsVO.categoryText
            }}</span>
          </el-form-item>
          <el-form-item label="小类名称:">
            <span class="data-detail">{{
              baseCase.violations.categoryText
              baseCase.violationsVO.categoryText
            }}</span>
          </el-form-item>
        </div>
@@ -58,42 +58,34 @@
            <span class="data-detail">{{ baseCase.site }}</span>
          </el-form-item>
          <el-form-item label="车牌号:">
            <span class="data-detail">{{ baseCase.violations.carNumber }}</span>
            <span class="data-detail">{{ baseCase.violationsVO.carNumber }}</span>
          </el-form-item>
        </div>
        <div class="data-item">
          <el-form-item label="关联商铺名称:">
            <span class="data-detail">{{ baseCase.violations.shopName }}</span>
            <span class="data-detail">{{ baseCase.violationsVO.shopName }}</span>
          </el-form-item>
        </div>
        <div class="data-item">
          <el-form-item label="问题描述:">
            <span class="data-detail">{{
              baseCase.violations.description
              baseCase.violationsVO.description
            }}</span>
          </el-form-item>
        </div>
        <div class="data-item">
          <el-form-item label="反映人:">
            <span class="data-detail">{{ baseCase.violations.informant }}</span>
            <span class="data-detail">{{ baseCase.violationsVO.informant }}</span>
          </el-form-item>
          <el-form-item label="联系方式:">
            <span class="data-detail">{{
              baseCase.violations.informantPhoneCode
              baseCase.violationsVO.informantPhoneCode
            }}</span>
          </el-form-item>
        </div>
        <el-form-item label="审核意见" prop="auditOpinion">
          <span class="data-detail">{{ baseCase.auditOpinion }}</span>
        </el-form-item>
        <!-- 审核意见
                <el-form-item label="审核意见" prop="auditOpinion">
                    <el-input type="textarea" placeholder="请输入审核意见" v-model="baseCase.auditOpinion"></el-input>
                </el-form-item>
                <div class="el-form-footer">
                    <el-button @click.native.prevent="handleSubmit(0)">驳回</el-button>
                    <el-button type="primary" @click.native.prevent="handleSubmit(1)">通过</el-button>
                </div> -->
      </el-form>
    </div>
    <div class="view-process">
src/views/operate/management/myIndex/components/examine/index.vue
@@ -15,26 +15,23 @@
                        <span class="data-detail">{{baseCase.category === 1 ? '违规' : '违建'}}</span>
                    </el-form-item>
                    <el-form-item label="大类名称:">
                        <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="小类名称:">
                        <span class="data-detail">{{baseCase.violations.typeText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.typeText}}</span>
                    </el-form-item>
                    <el-form-item label="事件等级:">
                        <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.gradeText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="案由:">
                        <span class="data-detail">{{baseCase.violations.actionCause}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.actionCause}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <!-- <el-form-item label="所属区县:">
                        <span class="data-detail">xxxx</span>
                    </el-form-item> -->
                    <el-form-item label="所属街道:">
                        <span class="data-detail">{{baseCase.streetText}}</span>
                    </el-form-item>
@@ -42,11 +39,6 @@
                        <span class="data-detail">{{baseCase.communityText}}</span>
                    </el-form-item>
                </div>
                <!-- <div class="data-item">
                    <el-form-item label="所属社区:">
                        <span class="data-detail">{{baseCase.communityText}}</span>
                    </el-form-item>
                </div> -->
                <div class="data-item">
                    <el-form-item label="事发地点:">
                        <span class="data-detail">{{baseCase.site}}</span>
@@ -54,7 +46,7 @@
                </div>
                <div class="data-item">
                    <el-form-item label="问题描述:">
                        <span class="data-detail">{{baseCase.violations.description}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.description}}</span>
                    </el-form-item>
                </div>
                <!-- 审核意见 -->
src/views/operate/myWait/index.vue
@@ -206,9 +206,9 @@
  methods: {
    getTableData() {
      myWait
        .getMybackLog({ num: this.context })
        .then((res) => {
          this.tableData = res;
        .getMybackLog({ num: this.context, current: this.currentPage, pageSize: this.pageSize })
        .then(({ records }) => {
          this.tableData = records;
          this.tableData = this.tableData.filter((item) => !!item);
        })
        .catch((err) => this.$message({ type: "error", message: err }));
src/views/operate/rectification/surveyList/components/viewInterface/index.vue
@@ -101,16 +101,6 @@
        }
      }
    };
    const validatePhone = (rule, value, callback) => {
      if (!value) {
        callback(new Error("请填写手机号码"));
      } else {
        const rep = /(^1[3|4|5|7|8|9]\d{9}$)|(^09\d{8}$)/;
        if (!rep.test(value)) {
          callback("请输入正确的手机号码");
        }
      }
    };
    return {
      myInterface: {},
      createmyInterfaceRules: {
src/views/operate/rectification/surveyList/index.vue
@@ -29,11 +29,6 @@
            >
            </el-date-picker>
          </div>
          <!-- <div class="mydate">
            <el-input placeholder="请输入开始时间"></el-input>
            <div class="line">——— ———</div>
            <el-input placeholder="请输入结束时间"></el-input>
          </div> -->
        </div>
        <div class="search">
          <el-input placeholder="请输入标题或者任务编号"></el-input>
@@ -44,7 +39,6 @@
        </div>
      </div>
      <div class="mainContent">
        <!-- @selection-change="handleSelectionChange" -->
        <!-- 数据渲染 -->
        <el-table
          ref="multipleTable"
@@ -60,8 +54,6 @@
          }"
          :row-class-name="tableRowClassName"
        >
          <!-- <el-table-column type="selection" width="55">
                    </el-table-column> -->
          <el-table-column label="任务编号" prop="num" min-width="10">
          </el-table-column>
          <el-table-column prop="type" label="问题类型" min-width="10">
@@ -86,13 +78,6 @@
            </template>
          </el-table-column>
        </el-table>
        <!-- 分页 -->
        <!-- <div class="pagination">
                    <el-pagination background :current-page="currentPage" layout="prev, pager, next" :total="totalNum"
                        :page-size="pageSize" @current-change="changeCurrentPage" @prev-click="handlePrev"
                        @next-click="handleNext">
                    </el-pagination>
                </div> -->
      </div>
    </main>
    <footer>
@@ -169,9 +154,6 @@
      date: "",
      beginTime: "",
      endTime: "",
      // totalNum: 200,
      // pageSize: 10,
      // currentPage: 1,
    };
  },
  created() {
@@ -181,23 +163,21 @@
    // 获取接口列表
    getUserList() {
      const that = this;
      // const { currentPage, pageSize, search } = this;
      this.dialogCreate = false;
      this.$axios.get("sccg/system/portal/thirdApp/search").then((res) => {
        const { code, data } = res;
        if (code == 200) {
        if (code === 200) {
          this.tableData = data;
        }
      });
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
      if ((rowIndex + 1) % 2 === 0) {
        return "warning-row";
      } else {
        return "success-row";
      }
      return "";
    },
    // 打开新增界面
    handleAdd() {
@@ -214,7 +194,6 @@
        .catch((_) => {});
    },
    closeDialog({ flag, index }) {
      index === 1 ? "" : "";
      this.dialogCreate = flag;
    },
    // 创建查看弹窗
src/views/operate/rectification/taskList/components/viewInterface/index.vue
@@ -73,16 +73,6 @@
                }
            }
        };
        const validatePhone = (rule, value, callback) => {
            if (!value) {
                callback(new Error("请填写手机号码"));
            } else {
                const rep = /(^1[3|4|5|7|8|9]\d{9}$)|(^09\d{8}$)/
                if (!rep.test(value)) {
                    callback("请输入正确的手机号码");
                }
            }
        };
        return {
            myInterface: {
            },
@@ -106,7 +96,6 @@
        }
    },
    created() {
        const that = this;
        const {userInfo} = this;
        this.myInterface = JSON.parse(JSON.stringify(userInfo));
    },
src/views/operate/video/index.vue
@@ -17,9 +17,6 @@
          <div class="findBtn">
            <el-button type="primary" @click="searchVideoList">查询</el-button>
          </div>
          <!-- <div class="findBtn">
            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">添加</el-button>
          </div> -->
        </div>
      </div>
    </header>
src/views/operate/video/updateInterface/index.vue
@@ -1,26 +1,6 @@
<template>
  <div class="updateUser">
    <el-form label-position="right" label-width="150px" :model="videoData" :rules="rules" :disabled="isDisabled" ref="user">
      <!-- <el-form-item prop="belongToId" label="所属事件编号">
        <el-input v-model="videoData.belongToId"></el-input>
      </el-form-item>
      <el-form-item prop="eventSource" label="事件来源">
        <el-input v-model="videoData.eventSource"></el-input>
      </el-form-item>
      <el-form-item prop="category" label="问题类别">
        <el-input v-model="videoData.category"></el-input>
      </el-form-item>
      <el-form-item prop="type" label="类型">
        <el-select v-model="videoData.type">
          <el-option v-for="item in getResourceType()" :key="item.value" :label="item.label" :value="item.value" />
        </el-select>
      </el-form-item>
      <el-form-item prop="regionName" label="社区名称">
        <el-input v-model="videoData.regionName"></el-input>
      </el-form-item>
      <el-form-item prop="id" label="视频Id">
        <el-input v-model="videoData.id"></el-input>
      </el-form-item> -->
      <el-form-item prop="url" label="视频" min-width="8">
        <template v-if="videoList" >
          <div class="video-cover" v-for="video in videoList" :key="video">
src/views/operate/viewEvent/components/closure/index.vue
@@ -15,15 +15,15 @@
                        <span class="data-detail">{{baseCase.category === 1 ? '违规' : '违建'}}</span>
                    </el-form-item>
                    <el-form-item label="事件等级:">
                        <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.gradeText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="大类名称:">
                        <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                    </el-form-item>
                    <el-form-item label="小类名称:">
                        <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
@@ -44,35 +44,27 @@
                        <span class="data-detail">{{baseCase.site}}</span>
                    </el-form-item>
                    <el-form-item label="车牌号:">
                        <span class="data-detail">{{baseCase.violations.carNumber}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.carNumber}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="关联商铺名称:">
                        <span class="data-detail">{{baseCase.violations.shopName}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.shopName}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="问题描述:">
                        <span class="data-detail">{{baseCase.violations.description}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.description}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="反映人:">
                        <span class="data-detail">{{baseCase.violations.informant}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.informant}}</span>
                    </el-form-item>
                    <el-form-item label="联系方式:">
                        <span class="data-detail">{{baseCase.violations.informantPhoneCode}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.informantPhoneCode}}</span>
                    </el-form-item>
                </div>
                <!-- 审核意见
                <el-form-item label="审核意见" prop="auditOpinion">
                    <el-input type="textarea" placeholder="请输入审核意见" v-model="baseCase.auditOpinion"></el-input>
                </el-form-item>
                <div class="el-form-footer">
                    <el-button @click.native.prevent="handleSubmit(0)">驳回</el-button>
                    <el-button type="primary" @click.native.prevent="handleSubmit(1)">通过</el-button>
                </div> -->
            </el-form>
        </div>
        <div class="view-process">
@@ -225,20 +217,6 @@
                    return false;
                }
            })
        },
        // 获取当前用户登录信息
        getUserLoginInfo() {
            // 获取登录名;
            const username = sessionStorage.getItem('name');
            this.$axios({
                method: 'get',
                url: 'sccg/admin/info',
                data: {
                    name: 'username'
                }
            })
                .then(res => {
                })
        }
    },
    props: ['info', 'closeDialog']
src/views/operate/viewEvent/components/examine/index.vue
@@ -15,20 +15,20 @@
                        <span class="data-detail">{{baseCase.category === 1 ? '违规' : '违建'}}</span>
                    </el-form-item>
                    <el-form-item label="大类名称:">
                        <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="小类名称:">
                        <span class="data-detail">{{baseCase.violations.typeText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.typeText}}</span>
                    </el-form-item>
                    <el-form-item label="事件等级:">
                        <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.gradeText}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="案由:">
                        <span class="data-detail">{{baseCase.violations.actionCause}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.actionCause}}</span>
                    </el-form-item>
                </div>
                <div class="data-item">
@@ -51,19 +51,9 @@
                </div>
                <div class="data-item">
                    <el-form-item label="问题描述:">
                        <span class="data-detail">{{baseCase.violations.description}}</span>
                        <span class="data-detail">{{baseCase.violationsVO.description}}</span>
                    </el-form-item>
                </div>
                <!-- <div class="data-item">
                    <el-form-item label="处置方式:">
                        <span class="data-detail">xxxxxxx</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="处置手段:">
                        <span class="data-detail">xxxxxxx</span>
                    </el-form-item>
                </div>-->
                <!-- 审核意见 -->
                <el-form-item label="审核意见" prop="auditOpinion">
                    <el-input type="textarea" placeholder="请输入审核意见" v-model="baseCase.auditOpinion"></el-input>
@@ -186,21 +176,7 @@
                    return false;
                }
            })
        },
        // 获取当前用户登录信息
        getUserLoginInfo() {
            // 获取登录名;
            const username = sessionStorage.getItem('name');
            this.$axios({
                method: 'get',
                url: 'sccg/admin/info',
                data: {
                    name: 'username'
                }
            })
                .then(res => {
                })
        },
        }
    },
    props: ['info', 'closeDialog']
}
src/views/operate/viewEvent/components/illExamine/index.vue
@@ -53,16 +53,6 @@
                        <span class="data-detail">{{baseCase.illegalBuilding.description}}</span>
                    </el-form-item>
                </div>
                <!-- <div class="data-item">
                    <el-form-item label="处置方式:">
                        <span class="data-detail">xxxxxxx</span>
                    </el-form-item>
                </div>
                <div class="data-item">
                    <el-form-item label="处置手段:">
                        <span class="data-detail">xxxxxxx</span>
                    </el-form-item>
                </div> -->
                <!-- 审核意见 -->
                <el-form-item label="审核意见" prop="auditOpinion">
                    <el-input type="textarea" placeholder="请输入审核意见" v-model="baseCase.auditOpinion"></el-input>
@@ -186,21 +176,7 @@
                    return false;
                }
            })
        },
        // 获取当前用户登录信息
        getUserLoginInfo() {
            // 获取登录名;
            const username = sessionStorage.getItem('name');
            this.$axios({
                method: 'get',
                url: 'sccg/admin/info',
                data: {
                    name: 'username'
                }
            })
                .then(res => {
                })
        },
        }
    },
    props: ['info', 'closeDialog']
}
src/views/operate/viewEvent/index.vue
@@ -15,19 +15,16 @@
        <div class="contentItem">
          <div style="width: 80px">按类型:</div>
          <div class="search">
            <el-input
              placeholder=" 请输入类型"
              v-model="searchData.categories"
            ></el-input>
            <el-select clearable v-model="searchData.categories" placeholder=" 请选择类型">
              <el-option v-for="option in categoryOptions" :key="option.id" :label="option.label" :value="option.value"></el-option>
            </el-select>
          </div>
        </div>
        <div class="contentItem">
          <div style="width: 80px">按社区:</div>
          <div class="search">
            <el-input
              placeholder=" 请输入社区"
              v-model="searchData.communityId"
            ></el-input>
            <el-cascader clearable v-model="searchData.community" :props="communityProps" :options="communityOptions" placeholder="请选择社区">
            </el-cascader>
          </div>
        </div>
        <div class="contentItem">
@@ -186,6 +183,7 @@
import helper from "@/utils/mydate";
import casequery from "@/api/operate/basecase";
import { CATEGOTY } from "@/utils/helper";
import department from "@/api/system/department";
export default {
  components: {
@@ -207,24 +205,18 @@
      totalNum: null,
      pageSize: 10,
      currentPage: 1,
      typeList: [
        {
          name: "违规",
          value: 1,
          checked: true,
        },
        {
          name: "违建",
          value: 2,
          checked: false,
        },
      ],
      categoryOptions: CATEGOTY,
      communityOptions: [],
      communityProps: {
        label: 'regionName',
        value: 'id'
      },
      myproblem: 1,
      number: "",
      searchData: {
        categories: null,
        number: null,
        communityId: null,
        community: null,
        endTime: null,
        site: null,
        startTime: null,
@@ -233,15 +225,21 @@
  },
  created() {
    this.getList();
    this.getCommunityOptions();
  },
  methods: {
    // 获取列表
    getList() {
      const searchData = Object.assign({}, this.searchData);
      if (this.searchData.community) {
        searchData.communityId = searchData.community[1];
      }
      delete searchData.community;
      casequery
        .baseCaseQuery({
          current: this.currentPage,
          pageSize: this.pageSize,
          ...this.searchData,
          ...searchData,
        })
        .then((res) => {
          this.tableData = res.records;
@@ -251,6 +249,16 @@
          this.tableData = [];
        });
    },
    // 获取社区和街道
    getCommunityOptions() {
      department.getDepartmentList()
          .then(res => {
            this.communityOptions = res;
          })
          .catch(err => this.$message.error(err))
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 === 0) {
src/views/operate/writManager/writ/index.vue
@@ -13,11 +13,6 @@
    </header>
    <main>
      <div class="main-content">
        <!-- <div class="main-title">
          <el-button class="el-icon-plus" type="primary" @click="handleAdd"
            >添加</el-button
          >
        </div> -->
        <!-- 数据展示 -->
        <el-table
          ref="multipleTable"
@@ -213,12 +208,11 @@
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
      if ((rowIndex + 1) % 2 === 0) {
        return "warning-row";
      } else {
        return "success-row";
      }
      return "";
    },
    // 弹窗关闭
    handleClose(done) {
@@ -268,7 +262,6 @@
  header {
    background-color: #09152f;
    border: 1pox solid #fff;
    .header-content {
      padding: 0 40px;
@@ -302,7 +295,6 @@
    background-color: #09152f;
    margin-top: 20px;
    padding-bottom: 50px;
    border: 1pox solid #fff;
    .main-title {
      line-height: 60px;
src/views/operate/writManager/writTemplate/index.vue
@@ -165,7 +165,6 @@
  header {
    background-color: #09152f;
    border: 1pox solid #fff;
    .header-content {
      padding: 0 40px;
@@ -199,7 +198,6 @@
    background-color: #09152f;
    margin-top: 20px;
    padding-bottom: 50px;
    border: 1pox solid #fff;
    .main-title {
      line-height: 60px;