Browse Source

招聘会购买门票提示

Xiao_123 2 months ago
parent
commit
988507b9f4
2 changed files with 5 additions and 3 deletions
  1. 3 1
      components.d.ts
  2. 2 2
      src/views/recruit/enterprise/jobFair/index.vue

+ 3 - 1
components.d.ts

@@ -30,7 +30,6 @@ declare module 'vue' {
     CtTextField: typeof import('./src/components/CtVuetify/CtTextField/index.vue')['default']
     DatePicker: typeof import('./src/components/DatePicker/index.vue')['default']
     Echarts: typeof import('./src/components/Echarts/index.vue')['default']
-    ElCascader: typeof import('element-plus/es')['ElCascader']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
     Empty: typeof import('./src/components/Empty/index.vue')['default']
     File: typeof import('./src/components/Upload/file.vue')['default']
@@ -74,4 +73,7 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
+  export interface ComponentCustomProperties {
+    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
+  }
 }

+ 2 - 2
src/views/recruit/enterprise/jobFair/index.vue

@@ -23,7 +23,7 @@
     @close="handleClose"
   >
     <div class="color-warning mb-5">
-      <p>您当前没有参加招聘会的权限</p>
+      <p>您暂时无法参加该招聘会</p>
       <p>您可以通过下方扫码购买招聘会门票参与~</p>
     </div>
     <div v-if="payType" id="codeBox" class="code pa-0 resume-box">
@@ -248,7 +248,7 @@ const handleBlockEnterprise = async (val) => {
       // 没有设置门票金额则提示无权限参加
       if (!val?.admissionPrice || val?.admissionPrice <= 0) return Snackbar.warning(error.msg)
       // 设置门票金额则提示购买门票
-      Snackbar.warning('您当前暂无权限参与招聘会,请先购买门票')
+      Snackbar.warning('您暂时无法参加该招聘会,请先购买门票')
       info.value = val
       if (timer.value) clearInterval(timer.value); timer.value = null
       await getCodeList()