"use strict";var r=require("../common/vendor.js"),s=require("../api/common.js");require("../common/request.js");const u={data(){return{inquirySubTypes:[],companyId:null,companyUserId:null,isShare:null}},onLoad(e){this.isShare=e.isShare,this.companyId=e.companyId,this.companyUserId=e.companyUserId,this.getConfig()},onShow(){},methods:{getConfig(){var e={key:"his.inquiryConfig"};s.getConfigByKey(e).then(i=>{i.code==200&&(console.log(i),this.inquirySubTypes=JSON.parse(i.data).inquirySubType)},i=>{})},doInquiryForm(e){this.$isLogin().then(i=>{console.log(i),i?e==1||e==2||e==6||e==5||e==7||e==8||e==9||e==10?r.index.navigateTo({url:"/pages_order/inquiryForm2_1?inquiryType=2&orderType=2&inquirySubType="+e+"&companyId="+this.companyId+"&companyUserId="+this.companyUserId+"&isShare="+this.isShare}):e==3&&r.index.navigateTo({url:"/pages_order/inquiryForm2_2?inquiryType=2&orderType=2&inquirySubType="+e+"&companyId="+this.companyId+"&companyUserId="+this.companyUserId+"&isShare="+this.isShare}):r.index.navigateTo({url:"/pages/auth/login"})})}}};function d(e,i,y,m,o,a){return{a:r.f(o.inquirySubTypes,(n,t,h)=>({a:r.t(n.lable),b:r.o(p=>a.doInquiryForm(n.value))}))}}var c=r._export_sfc(u,[["render",d],["__scopeId","data-v-9f8e773a"],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_order/inquirySelectType.vue"]]);wx.createPage(c);
