luobisheng
2022-12-07 8e367b87b978d20a30a6ca900d95c25c9eb82b0e
清理console以及注释代码
46个文件已修改
388 ■■■■■ 已修改文件
src/http/url-recorder.js 1 ●●●● 补丁 | 查看 | 原始文档 | 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 3 ●●●●● 补丁 | 查看 | 原始文档 | 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/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/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/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
@@ -417,7 +417,6 @@
                    return item;
                }
            })
            console.log(this.anYouList);
        },
        // 查询大类列表
        async getBigKind() {
@@ -513,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}`
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/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) {