luobisheng
2022-12-07 8e367b87b978d20a30a6ca900d95c25c9eb82b0e
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'