Ver código fonte

微信提审

pansl 1 ano atrás
pai
commit
c14cc93e2b

+ 30 - 13
src/views/videoManage/wechatAudit/tabs/wechatAuditStatus/index.vue

@@ -4,7 +4,8 @@
       <el-radio-group v-model="query.status" @change="search">
         <el-radio v-for="item in statusListTop" :label="item.value" :key="item.value">{{ item.name }}</el-radio>
       </el-radio-group>
-      <div class="w-full text-red-500">注:请仔细核对提审内容,若多次审核驳回,可能会导致提审最终失败,最终失败后,对应短剧将失去提审资格</div>
+      <div v-if="['1,5', '4'].includes(query.status)" class="w-full text-red-500">
+        注:请仔细核对提审内容,若多次审核驳回,可能会导致提审最终失败,最终失败后,对应短剧将失去提审资格</div>
     </div>
     <div class="flex justify-between">
       <Search :search="search" :reset="resetQuery">
@@ -57,7 +58,7 @@
             </div>
           </template>
         </el-table-column>
-        <el-table-column prop="shelf_type_str" label="《广播电视节目制作许可证》" show-overflow-tooltip min-width="150">
+        <el-table-column prop="shelf_type_str" label="《广播电视节目制作许可证》" show-overflow-tooltip min-width="200">
           <template #default="scope">
             <el-link type="primary" :href="scope.row.production_license_img" target="_blank">广播电视节目制作许可证</el-link>
           </template>
@@ -67,7 +68,30 @@
             <el-link type="primary" :href="scope.row.authorized_img" target="_blank">剧目播放授权材料</el-link>
           </template>
         </el-table-column>
-        <el-table-column label="操作">
+        <el-table-column prop="apply_at" label="提审时间" show-overflow-tooltip min-width="150">
+          <template #default="scope">
+            <div>{{ scope.row.apply_at }}</div>
+          </template>
+        </el-table-column>
+        <el-table-column prop="check_at" v-if="['2', '3', '4'].includes(query.status)" label="审核时间" show-overflow-tooltip
+          min-width="150">
+          <template #default="scope">
+            <div>{{ scope.row.apply_at }}</div>
+          </template>
+        </el-table-column>
+        <el-table-column prop="status" v-if="['1,5', '2', '3', '4'].includes(query.status)" label="审核状态"
+          show-overflow-tooltip min-width="150">
+          <template #default="scope">
+            <div>{{ scope.row.status_str }}</div>
+          </template>
+        </el-table-column>
+        <el-table-column prop="check_reason" v-if="['4'].includes(query.status)" label="审核原因" show-overflow-tooltip
+          min-width="150">
+          <template #default="scope">
+            <div>{{ scope.row.check_reason }}</div>
+          </template>
+        </el-table-column>
+        <el-table-column label="操作" v-if="isShowOperate">
           <template #default="scope">
             <el-button @click="open(scope.row)" link type="primary" size="small"
               v-action="'video.video.update'">编辑</el-button><br />
@@ -109,11 +133,13 @@ const userStore = useUserStore()
 const statusListTop = ref([
   // { name: '待审核', value: '0' },
   { name: '审核中', value: '1,5' },
-  { name: '审核通过', value: '3' },
   { name: '审核驳回', value: '4' },
+  { name: '审核通过', value: '3' },
   { name: '最终失败', value: '2' },
 ])
 
+
+const isShowOperate = computed(() => ['4'].includes(query.value.status))
 const videoList = ref([])
 
 const initVideoList = (params?: object) => {
@@ -184,15 +210,6 @@ const handleSelectionChange = (val: []) => {
   multipleSelection.value = val;
 };
 
-const closeType = (type) => {
-  console.log(type, 'typetype');
-  switch (type) {
-    case 'videoSyncVisible':
-      videoSyncVisible.value = false
-      break;
-  }
-  search()
-}
 
 const mulSet = () => {
   if (multipleSelection.value.length <= 0) {