wupengfei
7 小时以前 4ef86d8a1f494caa1e136ff78f9ea258d01164b1
apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
@@ -37,6 +37,7 @@
            </div> -->
          </div>
          <TaskPrice
            v-if="detail.releaseStatus !== EnumTaskReleaseStatus.Stopped"
            :value="toThousand(detail.serviceFee ?? 0)"
            :unit="BillingMethodEnumUnit[detail.billingMethod]"
          />
@@ -123,7 +124,7 @@
        @click="handleCall"
      ></PageFooterAction>
      <PageFooterBtn
        v-if="from === 'sign'"
        v-if="from === 'sign' && !!detail?.applyButton"
        type="primary"
        :disabled="detail?.applyButton === GetTaskInfoQueryResultApplyButton.WaitHire"
        @click="handleSign"
@@ -236,18 +237,21 @@
  }
});
const handleApply = useAccessLogin(async () => {
  try {
    let params: API.ApplyTaskCommand = {
      ids: [id],
    };
    let res = await taskUserServices.applyTask(params);
    if (res) {
      Message.success('报名成功');
      refetch({ type: 'inactive' });
    }
  } catch (error) {}
});
const handleApply = useAccessReal(
  async () => {
    try {
      let params: API.ApplyTaskCommand = {
        ids: [id],
      };
      let res = await taskUserServices.applyTask(params);
      if (res) {
        Message.success('报名成功');
        refetch({ type: 'inactive' });
      }
    } catch (error) {}
  },
  { message: '实名成功后才可报名,请前往实名认证' }
);
const handleAttention = useAccessLogin(async () => {
  try {