Explorar o código

云端管理报表:筛选增加“工作ID”、列表增加“待托管”标识

zweizhao %!s(int64=7) %!d(string=hai) anos
pai
achega
4a5da9fee7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      pages/main/index/cloud_job.vue

+ 5 - 0
pages/main/index/cloud_job.vue

@@ -50,6 +50,7 @@
             :value="item.direction_id"
           ></el-option>
         </el-select>
+        <el-input placeholder="工作ID" v-model="jobID"></el-input>
         <el-input placeholder="企业方ID" v-model="comID"></el-input>
         <el-input placeholder="开发者ID" v-model="devID"></el-input>
         <el-input placeholder="审核人员名字" v-model="checkID"></el-input>
@@ -88,6 +89,7 @@
               @click="clickDetail(scope.row['id'])"
             >{{scope.row[prop]}}</el-button>
             <span v-else-if="prop === 'status'">{{scope.row['statusName']}}</span>
+            <span v-else-if="prop === 'id'">{{scope.row['id']}}<span v-if="!scope.row.deposit_status" style="color: red;">(待托管)</span></span>
             <span v-else>{{scope.row[prop] || '--'}}</span>
           </template>
         </el-table-column>
@@ -162,6 +164,8 @@ export default {
       devID: '',
       // 企业id
       comID: '',
+      // 工作ID
+      jobID: '',
       // 审核人员id
       checkID: '',
       unDeposit: false,
@@ -248,6 +252,7 @@ export default {
         developer_id: this.devID,
         uid: this.comID,
         checker_id: this.checkID,
+        job_id: this.jobID,
         direction_id: this.selectedDirection,
         status: this.selectedStatus,
         not_deposit: this.unDeposit ? '1' : '0',