Browse Source

修改bug

lisy 5 months ago
parent
commit
c846a5ba05
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/training/models/meeting-detail-attend.vue

+ 5 - 4
src/views/training/models/meeting-detail-attend.vue

@@ -61,7 +61,7 @@
                 </el-form-item>
                 <el-form-item label="参会状态:" prop="signupStatus">
                     <el-select v-model="queryParams.signupStatus" placeholder="请选择参会状态" clearable style="width: 180px">
-                        <el-option v-for="item in dm_training_signup_status_list" :key="item.value" :label="item.label"
+                        <el-option v-for="item in lm_signup_status_app_show" :key="item.value" :label="item.label"
                             :value="item.value" />
                     </el-select>
                 </el-form-item>
@@ -95,7 +95,8 @@
             </vxe-column>
             <vxe-column title="参会状态" min-width="100" fixed="right">
                 <template #default="{ row }">
-                    <DictTag :options="dm_training_signup_status_list" :value="row?.signupStatusForPc"></DictTag>
+                    <DictTag v-if="row?.signupStatusForPc" :options="lm_signup_status_app_show" :value="row?.signupStatusForPc"></DictTag>
+                    <div v-else>-</div>
                 </template>
             </vxe-column>
             <vxe-column v-if="form?.conditions?.totalCheck == '1'" title="审核状态" min-width="100" fixed="right">
@@ -112,7 +113,7 @@
             </vxe-column>
             <vxe-column v-if="form?.conditions?.totalCheck == '1'" title="操作" width="250" align="center" fixed="right">
                 <template #default="{ row }">
-                    <el-button type="danger" size="small" v-if="row?.res !== '0'" @click="openDialog(row)"
+                    <el-button type="danger" size="small" v-if="row?.res !== '0' || row?.signInFlag =='1'" @click="openDialog(row)"
                         style="color: white">重审</el-button>
                     <el-button size="small" color="#33aeeb" @click="openDialog(row)" style="color: white"
                         v-else>审核</el-button>
@@ -153,7 +154,7 @@ import { colNoData } from '@/utils/noData';
 import registrationInfo from './registration-info.vue';
 import { debounce } from 'lodash';
 const { proxy } = getCurrentInstance() as ComponentInternalInstance;
-const { cpy_res_status, dm_training_signup_status_list, lm_check_join_type } = toRefs<any>(proxy?.useDict('cpy_res_status', 'dm_training_signup_status_list', 'lm_check_join_type'));
+const { cpy_res_status, lm_signup_status_app_show, lm_check_join_type } = toRefs<any>(proxy?.useDict('cpy_res_status', 'lm_signup_status_app_show', 'lm_check_join_type'));
 // 获取详情
 const props = defineProps({
     form: {