Преглед на файлове

版本1.4.1 审核修改

qinhouyu преди 1 година
родител
ревизия
635e1c79f2

+ 8 - 0
src/api/gas/patrolTeam.js

@@ -49,3 +49,11 @@ export function delPatrolTeam(id) {
     method: 'delete'
   })
 }
+
+export function getReviewList(data) {
+  return request({
+    url: '/gas/patrolTeam/reviewList',
+    method: 'get',
+    params: data
+  })
+}

+ 12 - 9
src/views/gas/courtyardNetworkManagement/index.vue

@@ -158,8 +158,9 @@
       </el-table-column>
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
-          <span v-if="scope.row.processStatus == null && scope.row.processStatus == '-1'"></span>
-          <dict-tag v-else :options="dict.type.process_status" :value="scope.row.processStatus"/>
+          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="创建人" align="center" prop="createName"/>
@@ -237,11 +238,12 @@
             prop="userPost"
             label="岗位"
             width="65">
-<!--            <template slot-scope="scope">-->
-              <!--              <span v-if="scope.row.userPost == 'admin'">管理员</span>-->
-<!--              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>-->
-<!--              <span v-if="scope.row.userPost == 'director'">处长</span>-->
-<!--            </template>-->
+            <template slot-scope="scope">
+              <span v-if="scope.row.userPost == 'admin'">管理员</span>
+              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+              <span v-if="scope.row.userPost == 'director'">处长</span>
+              <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+            </template>
           </el-table-column>
           <el-table-column
             prop="processStatus"
@@ -273,7 +275,7 @@
         <el-form-item label="审核状态" prop="processStatus">
           <el-select v-model="formSH.processStatus" placeholder="请选择审核状态" :style="{width: '100%'}">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -364,6 +366,7 @@ export default {
       openSH: false,
       // 遮罩层
       loading: true,
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       // 导出遮罩层
       exportLoading: false,
       disabled: false,
@@ -536,7 +539,7 @@ export default {
       if (isBatch)
         this.formSH.uids = this.ids
       else
-        this.formSH.id = data.id
+        this.formSH.uids = [data.id]
       this.openSH = true
     },
     // 小区下拉

+ 161 - 28
src/views/gas/patrolTeam/index.vue

@@ -48,6 +48,17 @@
           />
         </el-select>
       </el-form-item>
+      <el-form-item label="时间范围" prop="createTimes">
+        <el-date-picker
+          v-model="queryParams.createTimes"
+          type="datetimerange"
+          :picker-options="pickerOptions"
+          range-separator="至"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+          align="right">
+        </el-date-picker>
+      </el-form-item>
       <el-form-item label="审核状态">
         <el-select v-model="queryParams.processStatus" placeholder="请选择审核状态" clearable size="small">
           <el-option
@@ -97,18 +108,18 @@
           v-hasPermi="['gas:patrolTeam:remove']"
         >删除</el-button>
       </el-col>
-<!--      <el-col :span="1.5">-->
-<!--        <el-button-->
-<!--          type="danger"-->
-<!--          plain-->
-<!--          icon="el-icon-search"-->
-<!--          size="mini"-->
-<!--          :disabled="multiple"-->
-<!--          @click="openshShow(null,true)"-->
-<!--          v-hasPermi="['gas:regulatingBoxMaintenance:remove']"-->
-<!--        >批量审核-->
-<!--        </el-button>-->
-<!--      </el-col>-->
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          plain
+          icon="el-icon-search"
+          size="mini"
+          :disabled="multiple"
+          @click="openshShow(null,true)"
+          v-hasPermi="['gas:regulatingBoxMaintenance:remove']"
+        >批量审核
+        </el-button>
+      </el-col>
       <el-col :span="1.5">
         <el-button
           type="warning"
@@ -143,13 +154,12 @@
         </template>
       </el-table-column>
       <el-table-column label="备注" align="center" prop="remark" />
-      <el-table-column label="上传人" align="center" prop="createByName" />
       <el-table-column label="上传时间" align="center" prop="createTime" />
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
           <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
-                    v-if="scope.row.processStatus != null && scope.row.processStatus != '-1' "/>
-          <span v-else></span>
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="照片" align="center">
@@ -170,15 +180,22 @@
             @click="handleUpdate(scope.row)"
             v-hasPermi="['gas:patrolTeam:edit']"
           >修改</el-button>
-<!--          <el-button-->
-<!--            size="mini"-->
-<!--            type="text"-->
-<!--            icon="el-icon-edit"-->
-<!--            @click="openshShow(scope.row)"-->
-<!--            v-show="scope.row.processStatus == null || scope.row.processStatus == '-1' || scope.row.processStatus == ''"-->
-<!--            v-hasPermi="['gas:courtyardNetworkManagement:edit']"-->
-<!--          >审核-->
-<!--          </el-button>-->
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="openshShow(scope.row)"
+            v-if="btnShow(scope.row)"
+            v-hasPermi="['gas:courtyardNetworkManagement:edit']"
+          >审核
+          </el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="reviewListOpen(scope.row)"
+          >审核记录
+          </el-button>
           <el-button
             size="mini"
             type="text"
@@ -203,7 +220,7 @@
         <el-form-item label="审核状态" prop="processStatus">
           <el-select v-model="formSH.processStatus" placeholder="请选择审核状态" :style="{width: '100%'}">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -258,6 +275,54 @@
         <el-button @click="cancel">取 消</el-button>
       </div>
     </el-dialog>
+    <el-dialog title="'审核记录'" :visible.sync="reviewListShow" width="800px" append-to-body>
+      <el-table
+        :data="reviewList"
+        style="width: 100%"
+        border
+        :header-cell-style="{'text-align':'center'}"
+        height="500">
+        <el-table-column label="历史审核记录">
+          <el-table-column
+            prop="createBy"
+            label="审核人"
+            width="80">
+          </el-table-column>
+          <el-table-column
+            prop="userPost"
+            label="岗位"
+            width="65">
+            <template slot-scope="scope">
+              <span v-if="scope.row.userPost == 'admin'">管理员</span>
+              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+              <span v-if="scope.row.userPost == 'director'">处长</span>
+              <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="processStatus"
+            label="审核状态"
+            width="75">
+            <template slot-scope="scope">
+              {{ scope.row.processStatus == '0' ? '通过' : '拒绝' }}
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="createTime"
+            label="审核时间"
+            width="155">
+          </el-table-column>
+          <el-table-column
+            prop="processComments"
+            label="审核意见"
+            width="384">
+          </el-table-column>
+        </el-table-column>
+      </el-table>
+      <div slot="footer" class="dialog-footer">
+        <el-button @click="reviewListShow = false">关 闭</el-button>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -266,20 +331,32 @@ import { batchReview,listPatrolTeam, getPatrolTeam, delPatrolTeam, addPatrolTeam
 import {listPostAll} from "@/api/system/post";
 import Cookies from "js-cookie";
 import {getWorker} from "@/api/gas/user";
+import {getReviewList} from "@/api/gas/patrolTeam.js";
 
 export default {
   name: "PatrolTeam",
   dicts: ['team', 'yes_and_no','process_status'],
   data() {
     return {
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       openSH: false,
       formSH: {},
+      shFrom:{
+        id: '',
+        processStatus:'',
+        postNameArias:undefined,
+        processComments: ""
+      },
       rulesSH: {
         processStatus: [
           {required: true, message: "审核状态不能为空", trigger: "blur"}
         ],
       },
-
+      //审核记录
+      reviewListShow: false,
+      reviewList: [],
+      // 按钮loading
+      dialogVisible: false,
       // 按钮loading
       buttonLoading: false,
       disabled: false,
@@ -308,6 +385,33 @@ export default {
       // 是否显示弹出层
       open: false,
       workerListSelect:[],
+      pickerOptions: {
+        shortcuts: [{
+          text: '最近一周',
+          onClick(picker) {
+            const end = new Date();
+            const start = new Date();
+            start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
+            picker.$emit('pick', [start, end]);
+          }
+        }, {
+          text: '最近一个月',
+          onClick(picker) {
+            const end = new Date();
+            const start = new Date();
+            start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
+            picker.$emit('pick', [start, end]);
+          }
+        }, {
+          text: '最近三个月',
+          onClick(picker) {
+            const end = new Date();
+            const start = new Date();
+            start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
+            picker.$emit('pick', [start, end]);
+          }
+        }]
+      },
       // 查询参数
       queryParams: {
         pageNum: 1,
@@ -315,6 +419,9 @@ export default {
         team: undefined,
         uploadLocation: undefined,
         isNormalInspection: undefined,
+        createTimes: [],
+        processStatus:undefined,
+        postNameArias:this.$store.state.user.postName,
         ranks:(Cookies.get("postName").indexOf('xx') > -1 ? parseInt(Cookies.get("postId")) : undefined),
       },
       // 表单参数
@@ -342,6 +449,24 @@ export default {
     this.getList();
   },
   methods: {
+    btnShow(row){
+      let b = false;
+      if (row.flag==true){
+        b = true;
+      }
+      //主表审核状态通过与不通过都不显示
+      if (row.processStatus=='0' || row.processStatus=='1'){
+        b = false;
+      }
+      return b;
+    },
+    process(data) {
+      this.shFrom.id = undefined
+      this.shFrom.id = data.id;
+      this.shFrom.processStatus = '';
+      this.shFrom.processComments = '';
+      this.dialogVisible = true;
+    },
     getUsers(value){
       if (!value) return;
       getWorker({ranks:value}).then(response => {
@@ -403,6 +528,7 @@ export default {
     resetQuery() {
       this.resetForm("queryForm");
       this.workerListSelect=[]
+      this.queryParams.createTimes=[]
       this.handleQuery();
     },
     // 多选框选中数据
@@ -429,22 +555,29 @@ export default {
         this.title = "修改巡检车队";
       });
     },
-
+    reviewListOpen(row){
+      this.reviewList = [];
+      this.reviewListShow=true;
+      getReviewList({emrId: row.id}).then(res=>this.reviewList = res.rows);
+    },
     openshShow(data, isBatch) {
       this.formSH = {
         id: undefined,
         uids: [],
+        postNameArias: undefined,
         processStatus: undefined,
         processComments: undefined,
       }
       if (isBatch)
         this.formSH.uids = this.ids
       else
-        this.formSH.id = data.id
+        this.formSH.uids = [data.id]
       this.openSH = true
     },
 
     submitFormSH() {
+      const postNameArias = this.$store.state.user.postName;
+      this.formSH.postNameArias = postNameArias
       this.$refs["formSH"].validate(valid => {
         if (valid) {
           this.buttonLoading = true;

+ 12 - 10
src/views/gas/regulatingBoxMaintenance/index.vue

@@ -167,13 +167,13 @@
           <dict-tag :options="dict.type.regulating_box_maintenance" :value="scope.row.maintenanceItem.split(',')"/>
         </template>
       </el-table-column>
-      <el-table-column label="上传人" align="center" prop="createByName"/>
+<!--      <el-table-column label="上传人" align="center" prop="createByName"/>-->
       <el-table-column label="上传时间" align="center" prop="createTime"/>
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
           <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
-                    v-if="scope.row.processStatus != null && scope.row.processStatus != '-1' "/>
-          <span v-else></span>
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="照片" align="center">
@@ -248,11 +248,12 @@
             prop="userPost"
             label="岗位"
             width="65">
-            <!--            <template slot-scope="scope">-->
-            <!--              <span v-if="scope.row.userPost == 'admin'">管理员</span>-->
-            <!--              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>-->
-            <!--              <span v-if="scope.row.userPost == 'director'">处长</span>-->
-            <!--            </template>-->
+            <template slot-scope="scope">
+              <span v-if="scope.row.userPost == 'admin'">管理员</span>
+              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+              <span v-if="scope.row.userPost == 'director'">处长</span>
+              <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+            </template>
           </el-table-column>
           <el-table-column
             prop="processStatus"
@@ -294,7 +295,7 @@
           <el-select v-model="shFrom.processStatus" placeholder="请选择审核状态" clearable size="small"
                      @change="$forceUpdate">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -395,6 +396,7 @@ export default {
       exportLoading: false,
       // 选中数组
       ids: [],
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       //审核记录
       reviewListShow: false,
       reviewList: [],
@@ -555,7 +557,7 @@ export default {
       if (isBatch)
         this.shFrom.uids = this.ids
       else
-        this.shFrom.id = data.id;
+        this.shFrom.uids = [data.id];
       this.shFrom.processStatus = '';
       this.shFrom.processComments = '';
       this.shFrom.postNameArias = null;

+ 14 - 11
src/views/gas/regulatorBox/index.vue

@@ -151,8 +151,9 @@
       <el-table-column label="创建时间" align="center" prop="createTime"/>
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
-          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus" v-if="scope.row.processStatus != null && scope.row.processStatus != '-1' "/>
-          <span v-else></span>
+          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="照片" align="center">
@@ -235,11 +236,12 @@
             prop="userPost"
             label="岗位"
             width="65">
-            <!--            <template slot-scope="scope">-->
-            <!--              <span v-if="scope.row.userPost == 'admin'">管理员</span>-->
-            <!--              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>-->
-            <!--              <span v-if="scope.row.userPost == 'director'">处长</span>-->
-            <!--            </template>-->
+            <template slot-scope="scope">
+              <span v-if="scope.row.userPost == 'admin'">管理员</span>
+              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+              <span v-if="scope.row.userPost == 'director'">处长</span>
+              <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+            </template>
           </el-table-column>
           <el-table-column
             prop="processStatus"
@@ -273,7 +275,7 @@
         <el-form-item label="审核状态" prop="processStatus">
           <el-select v-model="shFrom.processStatus" placeholder="请选择审核状态" clearable size="small" @change="$forceUpdate">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -648,8 +650,8 @@
             </el-form-item>
           </el-col>
           <el-col :span="24">
-            <el-form-item label="备注" prop="remark">
-              <el-input v-model="form.remark" type="textarea" placeholder="请输入内容"/>
+            <el-form-item label="备注" prop="remarks">
+              <el-input v-model="form.remarks" type="textarea" placeholder="请输入内容"/>
             </el-form-item>
           </el-col>
           <el-form-item label="审核状态" v-show="isDisabled && form.processStatus!=null">
@@ -755,6 +757,7 @@ export default {
           }
         }]
       },
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       shFrom:{
         id: '',
         uids: [],
@@ -1073,7 +1076,7 @@ export default {
       if (isBatch)
         this.shFrom.uids = this.ids
       else
-        this.shFrom.id = data.id;
+        this.shFrom.uids = [data.id];
       this.shFrom.processStatus = '';
       this.shFrom.processComments = '';
       this.dialogVisible = true;

+ 29 - 29
src/views/gas/roadSectionInspection/index.vue

@@ -121,18 +121,18 @@
           v-hasPermi="['gas:roadSectionInspection:export']"
         >导出</el-button>
       </el-col>
-      <el-col :span="1.5">
-        <el-button
-          type="danger"
-          plain
-          icon="el-icon-search"
-          size="mini"
-          :disabled="multiple"
-          @click="openshShow(null,true)"
-          v-hasPermi="['gas:regulatingBoxMaintenance:remove']"
-        >批量审核
-        </el-button>
-      </el-col>
+<!--      <el-col :span="1.5">-->
+<!--        <el-button-->
+<!--          type="danger"-->
+<!--          plain-->
+<!--          icon="el-icon-search"-->
+<!--          size="mini"-->
+<!--          :disabled="multiple"-->
+<!--          @click="openshShow(null,true)"-->
+<!--          v-hasPermi="['gas:regulatingBoxMaintenance:remove']"-->
+<!--        >批量审核-->
+<!--        </el-button>-->
+<!--      </el-col>-->
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -156,12 +156,12 @@
           <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}') }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="上传人" align="center" prop="createByName" width="180">
-      </el-table-column>
+<!--      <el-table-column label="上传人" align="center" prop="createByName" width="180"/>-->
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
-          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus" v-if="scope.row.processStatus != null && scope.row.processStatus != '-1' "/>
-          <span v-else></span>
+          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="照片" align="center">
@@ -249,11 +249,12 @@
             prop="userPost"
             label="岗位"
             width="65">
-            <!--            <template slot-scope="scope">-->
-            <!--              <span v-if="scope.row.userPost == 'admin'">管理员</span>-->
-            <!--              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>-->
-            <!--              <span v-if="scope.row.userPost == 'director'">处长</span>-->
-            <!--            </template>-->
+                        <template slot-scope="scope">
+                          <span v-if="scope.row.userPost == 'admin'">管理员</span>
+                          <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+                          <span v-if="scope.row.userPost == 'director'">处长</span>
+                          <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+                        </template>
           </el-table-column>
           <el-table-column
             prop="processStatus"
@@ -287,7 +288,7 @@
         <el-form-item label="审核状态" prop="processStatus">
           <el-select v-model="formSH.processStatus"  @change="$forceUpdate" placeholder="请选择审核状态" clearable size="small">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -311,7 +312,7 @@
         <el-form-item label="审核状态" prop="processStatus">
           <el-select v-model="shFrom.processStatus"  @change="$forceUpdate" placeholder="请选择审核状态" clearable size="small">
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -400,6 +401,7 @@ import {listPostAll} from "@/api/system/post";
 import Cookies from "js-cookie";
 import {getWorker} from "@/api/gas/user";
 import {getReviewList} from "@/api/gas/roadSectionInspection.js";
+import {batchReview} from "@/api/gas/patrolTeam";
 
 export default {
   name: "RoadSectionInspection",
@@ -421,6 +423,7 @@ export default {
       // 选中数组
       ids: [],
       workerList: [],
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -501,10 +504,7 @@ export default {
         ],
         findTime: [
           { required: true, message: "发现时间不能为空", trigger: "blur" }
-        ],
-        remark: [
-          { required: true, message: "备注不能为空", trigger: "blur" }
-        ],
+        ]
       },
       workerListSelect:[]
     };
@@ -586,7 +586,7 @@ export default {
           this.dialogVisible = false;
         });
       }else if (this.shFrom.uids.length > 0) {
-        batchReview(this.shFrom).then(response => {
+        batchReviewsRoadSectionInspection(this.shFrom).then(response => {
           this.$modal.msgSuccess("审核成功");
           this.openSH = false;
           this.getList();
@@ -597,7 +597,7 @@ export default {
     },
     process(data) {
       this.shFrom.id = undefined
-      this.shFrom.id = data.id;
+      this.shFrom.uids = [data.id];
       this.shFrom.processStatus = '';
       this.shFrom.processComments = '';
       this.dialogVisible = true;

+ 16 - 13
src/views/gas/valveWellInspection/index.vue

@@ -156,11 +156,12 @@
             prop="userPost"
             label="岗位"
             width="65">
-            <!--            <template slot-scope="scope">-->
-            <!--              <span v-if="scope.row.userPost == 'admin'">管理员</span>-->
-            <!--              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>-->
-            <!--              <span v-if="scope.row.userPost == 'director'">处长</span>-->
-            <!--            </template>-->
+            <template slot-scope="scope">
+              <span v-if="scope.row.userPost == 'admin'">管理员</span>
+              <span v-if="scope.row.userPost == 'deputyDirector'">副处长</span>
+              <span v-if="scope.row.userPost == 'director'">处长</span>
+              <span v-if="scope.row.userPost.indexOf('xx')>-1">队长</span>
+            </template>
           </el-table-column>
           <el-table-column
             prop="processStatus"
@@ -207,12 +208,13 @@
           <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}') }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="上传人" align="center" prop="createByName" width="180">
-      </el-table-column>
+<!--      <el-table-column label="上传人" align="center" prop="createByName" width="180">-->
+<!--      </el-table-column>-->
       <el-table-column label="审核状态" align="center" prop="processStatus">
         <template slot-scope="scope">
-          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus" v-if="scope.row.processStatus != null && scope.row.processStatus != '-1' "/>
-          <span v-else></span>
+          <dict-tag :options="dict.type.process_status" :value="scope.row.processStatus"
+                    v-if="scope.row.processStatus != null"/>
+          <span v-else>未审核</span>
         </template>
       </el-table-column>
       <el-table-column label="备注" align="center" prop="remark"/>
@@ -286,7 +288,7 @@
         <el-form-item label="审核状态">
           <el-select v-model="shFrom.processStatus" placeholder="请选择审核状态" clearable size="small"  @change="$forceUpdate()" >
             <el-option
-              v-for="dict in dict.type.process_status"
+              v-for="dict in dictList"
               :key="dict.value"
               :label="dict.label"
               :value="dict.value"
@@ -378,6 +380,7 @@ export default {
   dicts: ['find_problem','process_status'],
   data() {
     return {
+      dictList:[{label:'通过',value:'0'},{label:'不通过',value:'1'}],
       //审核记录
       reviewListShow: false,
       reviewList: [],
@@ -453,7 +456,7 @@ export default {
         discoverProblems: undefined,
         discoverTime: undefined,
         createTimes:[],
-        processStatus: '',
+        processStatus: undefined,
         postNameArias:this.$store.state.user.postName,
         ranks:(Cookies.get("postName").indexOf('xx') > -1 ? parseInt(Cookies.get("postId")) : undefined),
       },
@@ -633,12 +636,12 @@ export default {
       if (isBatch)
         this.shFrom.uids = this.ids
       else
-        this.shFrom.id = data.id
+        this.shFrom.uids = [data.id]
       this.dialogVisible = true
     },
     process(data) {
       this.shFrom.id = undefined
-      this.shFrom.id = data.id;
+      this.shFrom.uids = [data.id];
       this.shFrom.processStatus = '';
       this.shFrom.processComments = '';
       this.dialogVisible = true;