wl
2022-11-28 ba71b6abd3ae6eb4ede91e56d0fdb0205c7bef41
fix: 案卷查询
3个文件已修改
13307 ■■■■■ 已修改文件
package-lock.json 13269 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/viewEvent/index.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json
Diff too large
src/views/operate/viewEvent/index.vue
@@ -70,34 +70,12 @@
                            <span>{{ scope.row.eventSource === 2 ? '人工上报' : '视频上传' }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'category' : 'category'"
                        :label="myproblem === 1 ? '大类名称' : '违建类别'" :min-width="myproblem === 1 ? '10' : '20'">
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'categories' : 'site'"
                        :label="myproblem === 1 ? '小类名称' : '违建地点'" min-width="10">
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'actionCause' : 'communityId'"
                        :label="myproblem === 1 ? '案由' : '所属社区'" min-width="10">
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'site' : ''"
                        :label="myproblem === 1 ? '报警点位' : '违法建筑长、宽、高'" :min-width="myproblem === 1 ? '10' : '20'">
                        <template slot-scope="scope">
                            <div v-if="myproblem === 2"><span>{{ scope.row.buildingLength + '米' + '、' +
                                    scope.row.buildingWidth + '米' + '、' + scope.row.buildingHigh + '米'
                            }}</span></div>
                            <div v-else>{{ scope.row.site }}</div>
                        </template>
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'street' : 'buildingArea'"
                        :label="myproblem === 1 ? '所属区域' : '违法建筑面积'" min-width="10">
                    <el-table-column prop="communityText" label="社区" min-width="8">
                    </el-table-column>
                    <el-table-column prop="alarmTime" label="报警时间" min-width="15" v-if="myproblem === 1">
                        <template slot-scope="scope">
                            <span>{{ filterTime(scope.row.alarmTime) }}</span>
                        </template>
                    </el-table-column>
                    <el-table-column :prop="myproblem === 1 ? 'continueTime' : 'materials'"
                        :label="myproblem === 1 ? '持续时间' : '违法建筑材料'" min-width="15">
                    </el-table-column>
                </el-table>
                <!-- 审核页面 -->
@@ -122,7 +100,8 @@
                <div class="tools">
                    <div class="funs">
                        <div class="funsItem funs-sp">
                            <el-checkbox v-model="all" @change="selectAll()">全选</el-checkbox>
                            <el-checkbox v-model="all" @change="selectAll()"
                                :disabled="tableData.length === 0">全选</el-checkbox>
                        </div>
                        <div class="funsItem funs-sp">
                            <el-checkbox v-model="unsame" @change="disSame(tableData)">反选</el-checkbox>
@@ -293,9 +272,12 @@
        getList() {
          casequery.baseCaseQuery({  current: this.currentPage, pageSize: this.pageSize, ...this.searchData })
              .then((res) => {
                this.tableData = res;
                this.tableData = res.records;
                this.totalNum=res.total;
              })
              .catch(err => this.$message({ type: 'error', message: err }))
              .catch(err => {
                    this.tableData = [];
                })
        },
        // 设置表格斑马纹
        tableRowClassName({ row, rowIndex }) {
vue.config.js
@@ -39,8 +39,8 @@
    proxy: {
      // 跨域配置
      "/sccg": {
        // target: `http://42.193.1.25/`,
        target: `http://127.0.0.1:8082/`,
        target: `http://42.193.1.25/`,
        // target: `http://127.0.0.1:8082/`,
        changeOrigin: true
      }
    },