Ver Fonte

添加注释

huangbin há 4 anos atrás
pai
commit
f000796420
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/views/information/custom/compoments/add/index.vue

+ 4 - 0
src/views/information/custom/compoments/add/index.vue

@@ -280,8 +280,11 @@ export default defineComponent({
     name: 'add-custom',
     components: {},
     setup() {
+        // 控制关闭弹窗
         const { visible, cancel } = closeModal('custom_info_btn_add');
+        // 证件类型
         const cardTypeList = ref<AllEnums[]>(getCardType());
+        // 表单
         const formRef = ref();
         const formState: UnwrapRef<FormState> = reactive(initFormState());
         const rules = {
@@ -290,6 +293,7 @@ export default defineComponent({
             nickname: [{ required: true, message: '请输入企业简称', trigger: 'blur' }],
             cardtype: [{ required: true, message: '请选择证件类型', trigger: 'change' }],
         };
+        // 下单方法
         const { loading, applyAction } = handleApply();
         function isPersonal(): boolean {
             return formState.userinfotype === '1';