{"version":3,"sources":["webpack:///./src/components/SimpleUploadImage/index.vue?8860","webpack:///./src/components/MultipleUploadFile/index.vue?1421","webpack:///./src/components/MultipleUploadFile/index.vue?ac02","webpack:///./src/components/MultipleUploadFile/index.vue?7dc0","webpack:///./src/components/MultipleUploadFile/index.vue","webpack:///./src/components/AbSelect/index.vue?6d18","webpack:///./src/components/AbSelect/index.vue?6669","webpack:///./src/components/AbSelect/index.vue?d427","webpack:///./src/components/AbSelect/index.vue","webpack:///./src/views/fund/fundApply/editFundApply.vue?a463","webpack:///./src/views/fund/fundApply/editFundApply.vue?4733","webpack:///./src/views/fund/fundApply/editFundApply.vue?0183","webpack:///./src/views/fund/fundApply/editFundApply.vue","webpack:///./src/components/SimpleUploadImage/index.vue?9d04","webpack:///./src/components/SimpleUploadImage/index.vue?2f6b","webpack:///./src/components/SimpleUploadImage/index.vue?7bd2","webpack:///./src/components/SimpleUploadImage/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","baseURL","uploadParameter","onSuccess","attachmentList","onRemove","beforeRemove","onPreview","_v","staticRenderFns","attachmentIds","hostId","toString","api","attachmentService","getAttachments","hostType","then","res","length","map","item","name","fileName","push","id","$emit","file","success","result","attachmentId","$confirm","index","indexOf","response","splice","window","open","url","getOU","getTenantId","Authorization","getToken","type","Array","default","required","component","placeholder","disabled","filterable","clearable","loading","model","value","callback","$$v","val","expression","_l","key","itemValue","itemKey","newVal","deep","staticClass","ref","roleRule","form","$set","typeList","childList","pattern","message","trigger","_s","checkList","displayName","dataId","hostTypeFile","on","cancel","btnDisabled","save","canAnonymous","radio","honorTypeList","fundRange","sex","yesOrNoList","fundName","applicantName","intialCaptial","applicantMobileTelephone","applicantEmail","$route","params","Number","fundApply","get","managementFeePercentage","usageRange","split","fetchEnumType","fetchDataDictionary","enumService","getValues","typeName","dataDictionary","getDataDictionaryListByKey","maxResultCount","items","$refs","dataForm","validate","valid","join","update","body","$router","back","$message","catch","reason","error","FundApply","components","Tinymce","AbSelect","Ueditor","MultipleUploadFile","SimpleUploadImage","headers","handleSuccess","beforeUpload","$event","stopPropagation","handleRemove","_e","$nextTick","console","log","isLt2M","size","String"],"mappings":"kHAAA,yBAAsf,EAAG,G,2DCAzf,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,MAAM,CAAC,OAAUN,EAAIO,QAAU,2CAA4C,KAAOP,EAAIQ,gBAAgB,aAAaR,EAAIS,UAAU,SAAW,GAAG,YAAYT,EAAIU,eAAe,YAAYV,EAAIW,SAAS,gBAAgBX,EAAIY,aAAa,aAAaZ,EAAIa,YAAY,CAACT,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,QAAQ,KAAO,YAAY,CAACN,EAAIc,GAAG,WAAW,IAC9bC,EAAkB,G,gMCkBD,EAArB,yG,0BASE,EAAAL,eAAmC,GACnC,EAAAM,cAA2B,GAV7B,2DAYS,WACDC,EAAS,GACgB,kBAAjBhB,KAAKgB,SACfA,EAAShB,KAAKgB,OAAOC,YAEvBC,EAAA,KAAIC,kBACDC,eAAe,CACdJ,OAAQA,EACRK,SAAUrB,KAAKqB,WAEhBC,MAAK,SAAAC,GACJ,EAAKd,eAAiBc,EAClB,EAAKd,eAAgBe,OAAS,GAChC,EAAKf,eAAgBgB,KAAI,SAACC,GACxBA,EAAKC,KAAOD,EAAKE,SACjB,EAAKb,cAAec,KAAKH,EAAKI,OAGlC,EAAKC,MAAM,SAAU,EAAKhB,oBA9BlC,2FAmCkBQ,EAAUS,GAnC5B,iFAoCQT,EAAIU,UACNjC,KAAKe,cAAec,KAAKN,EAAIW,OAAOC,cACpCnC,KAAK+B,MAAM,SAAU/B,KAAKe,gBAtChC,+IA2CeiB,GACX,OAAOhC,KAAKoC,SAAL,eAAsBJ,EAAKL,KAA3B,QA5CX,+BAgDWK,GACPhC,KAAK+B,MAAM,WAAYC,GACvB,IAAIK,E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AAM,CAAC,IAAMN,EAAI4C,OAAQ5C,EAAc,WAAEI,EAAG,IAAI,CAACmE,YAAY,iBAAiBe,GAAG,CAAC,MAAQ,SAASuD,GAAiC,OAAzBA,EAAOC,kBAAyB9I,EAAI+I,aAAaF,OAAY7I,EAAIgJ,MAAM5I,EAAG,IAAI,CAACmE,YAAY,uCAAuC,IACvnBxD,EAAkB,G,wHC0BD,EAArB,mPAUsBS,EAAUS,GAVhC,iFAWQT,EAAIU,UACNjC,KAAK2C,IAAMpB,EAAIW,OAAOS,IACtB3C,KAAK+B,MAAM,SAAUR,EAAIW,OAAOS,KAChC3C,KAAKgJ,aAdX,6RAmBIhJ,KAAK+B,MAAM,SAAU,IAnBzB,4IAmCuBC,GACnBiH,QAAQC,IAAIlH,GACEA,EAAKgB,KAAnB,IACMmG,EAASnH,EAAKoH,KAAO,KAAO,KAAO,GACzC,QAAKD,IACHnJ,KAAK8H,SAASG,MAAM,uBACb,KAzCb,8BAsBa,MACT,MAAO,CACL,mCAA0B,OAAWrF,aAArC,aAA0B,EAAkBd,GAC5C,eAAgB,OAAUe,YAC1B,+BAA2B,OAAWE,UACtC,sBAAuB,2BA3B7B,sCAgCI,MAAO,CAAC1B,SAAUrB,KAAKqB,cAhC3B,GAA+C,QAEC,gBAA7C,eAAM,SAAU,CAAC2B,KAAMqG,OAAQnG,QAAS,M,0BAGzC,gBADC,eAAK,CAACC,UAAU,K,+BAIjB,gBADC,eAAK,CAACA,UAAU,EAAOD,SAAS,K,iCAPd,EAAiB,gBAHrC,eAAU,CACTvB,KAAK,uBAEc,WC3B6X,I,wBCQ9YyB,EAAY,eACd,EACAtD,EACAgB,GACA,EACA,KACA,WACA,MAIa,OAAAsC,E","file":"js/chunk-355639f1.d7cfb138.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=673a343a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=673a343a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{attrs:{\"action\":(_vm.baseURL + \"/api/services/app/Attachment/UploadToOss\"),\"data\":_vm.uploadParameter,\"on-success\":_vm.onSuccess,\"multiple\":\"\",\"file-list\":_vm.attachmentList,\"on-remove\":_vm.onRemove,\"before-remove\":_vm.beforeRemove,\"on-preview\":_vm.onPreview}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport {Component, Model, Prop, Vue, Watch} from \"vue-property-decorator\";\nimport Base64 from \"@/utils/Base64\";\nimport api from \"@/api\";\nimport {UserModule} from \"@/store/modules/user\";\nimport {AppModule} from \"@/store/modules/app\";\nimport {AttachmentDto, AttachmentHostType} from \"@/api/appService\";\n\n@Component({\n name: \"multipleUploadFile\"\n})\nexport default class multipleUploadFile extends Vue {\n @Model(\"change\", {type: Array, default: () => []}) readonly fileIds?: number[] | undefined;\n\n @Prop({required: false})\n hostType!: AttachmentHostType;\n\n @Prop({required: true})\n hostId!: string | number;\n\n attachmentList?: AttachmentDto[] = [];\n attachmentIds?: number[] = [];\n\n created() {\n let hostId = ''\n if (typeof (this.hostId) === 'number') {\n hostId = this.hostId.toString()\n }\n api.attachmentService\n .getAttachments({\n hostId: hostId,\n hostType: this.hostType\n })\n .then(res => {\n this.attachmentList = res;\n if (this.attachmentList!.length > 0) {\n this.attachmentList!.map((item: any) => {\n item.name = item.fileName;\n this.attachmentIds!.push(item.id);\n });\n }\n this.$emit(\"change\", this.attachmentIds);\n });\n }\n\n // 上传成功\n async onSuccess(res: any, file: any) {\n if (res.success) {\n this.attachmentIds!.push(res.result.attachmentId);\n this.$emit(\"change\", this.attachmentIds);\n }\n }\n\n // 删除前\n beforeRemove(file: any) {\n return this.$confirm(`确定移除 ${file.name}?`);\n }\n\n // 删除成功\n onRemove(file: any) {\n this.$emit(\"onRemove\", file);\n let index = this.attachmentIds!.indexOf(file.id);\n if (index == -1) {\n index = this.attachmentIds!.indexOf(file.response.result.attachmentId);\n }\n this.attachmentIds!.splice(index, 1);\n this.$emit(\"change\", this.attachmentIds);\n }\n\n onPreview(file: any) {\n window.open(file.url);\n }\n\n get uploadParameter() {\n return {hostType: this.hostType};\n }\n\n get headers() {\n return {\n \"Abp-OrganizationUnitId\": UserModule.getOU?.id,\n \"Abp-TenantId\": AppModule.getTenantId,\n Authorization: `Bearer ${UserModule.getToken}`,\n \".AspNetCore.Culture\": \"c=zh-Hans|uic=zh-Hans\"\n };\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=80f8c4fc&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"80f8c4fc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-select',{attrs:{\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled,\"filterable\":_vm.filterable,\"clearable\":_vm.clearable,\"loading\":_vm.loading},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.list),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item[_vm.itemValue],\"value\":item[_vm.itemKey],\"disabled\":_vm.disabled}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n import {Component, Vue, Inject, Prop, Watch, Model} from \"vue-property-decorator\";\nimport api from \"@/api\";\n\n@Component({name:'AbSelect'})\nexport default class AbSelect extends Vue {\n\n @Model('change',{required:true,default:''})readonly value!: number|string;\n\n @Prop({ required: false, default: false }) filterable!: boolean;\n\n // 页面上显示的值\n @Prop({ required: true }) itemValue!: string;\n\n // 传给后台的值再数据中的属性\n @Prop({ required: true }) itemKey!: string;\n\n @Prop({ required: false }) name!: string | number;\n\n @Prop({ required: false }) placeholder!: string;\n\n // 数据数组\n @Prop({ required: true }) list!: any[];\n\n @Prop({ required: false }) itemImage!: string | undefined;\n\n @Prop({ required: false }) itemTime!: string | undefined;\n\n @Prop({ required: false, default: false }) disabled!: boolean;\n\n @Prop({ required: false }) color!: string | undefined;\n @Prop({ required: false, default: true }) clearable!: boolean;\n @Prop({ required: false, default: false }) loading!: boolean;\n\n private val: number|string = '';\n\n created(){\n if(!this.loading){\n this.val = this.value;\n }\n }\n @Watch(\"value\",{deep:true})\n getValue(newVal:string | number) {\n this.val = newVal\n }\n\n @Watch(\"val\")\n onValueChange(newVal:string | number) {\n this.$emit('change',newVal);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=b8522dd8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b8522dd8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('el-form',{ref:\"dataForm\",attrs:{\"rules\":_vm.roleRule,\"model\":_vm.form,\"label-position\":\"top\"}},[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"基金名称\",\"prop\":\"fundName\"}},[_c('el-input',{model:{value:(_vm.form.fundName),callback:function ($$v) {_vm.$set(_vm.form, \"fundName\", $$v)},expression:\"form.fundName\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"基金类型\",\"prop\":\"type\"}},[_c('ab-select',{staticClass:\"width-100\",attrs:{\"list\":_vm.typeList,\"item-value\":\"text\",\"item-key\":\"value\",\"placeholder\":\"选择类型\"},model:{value:(_vm.form.type),callback:function ($$v) {_vm.$set(_vm.form, \"type\", $$v)},expression:\"form.type\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"基金子类型\",\"prop\":\"type\"}},[_c('ab-select',{staticClass:\"width-100\",attrs:{\"list\":_vm.childList,\"item-value\":\"key\",\"item-key\":\"key\",\"placeholder\":\"选择类型\"},model:{value:(_vm.form.fundCategory),callback:function ($$v) {_vm.$set(_vm.form, \"fundCategory\", $$v)},expression:\"form.fundCategory\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"发起单位/个人\",\"prop\":\"applicantName\"}},[_c('el-input',{model:{value:(_vm.form.applicantName),callback:function ($$v) {_vm.$set(_vm.form, \"applicantName\", $$v)},expression:\"form.applicantName\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"起设资金金额\",\"prop\":\"intialCaptial\"}},[_c('el-input',{attrs:{\"type\":\"number\"},model:{value:(_vm.form.intialCaptial),callback:function ($$v) {_vm.$set(_vm.form, \"intialCaptial\", $$v)},expression:\"form.intialCaptial\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"applicantMobileTelephone\",\"rules\":[{ required: true, pattern: /^1[345789]\\d{9}$/, message: '请输入正确的手机号', trigger: 'blur' }]}},[_c('el-input',{model:{value:(_vm.form.applicantMobileTelephone),callback:function ($$v) {_vm.$set(_vm.form, \"applicantMobileTelephone\", $$v)},expression:\"form.applicantMobileTelephone\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"邮箱\",\"prop\":\"applicantEmail\"}},[_c('el-input',{model:{value:(_vm.form.applicantEmail),callback:function ($$v) {_vm.$set(_vm.form, \"applicantEmail\", $$v)},expression:\"form.applicantEmail\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"固定电话\",\"prop\":\"applicantFixTelephone\"}},[_c('el-input',{model:{value:(_vm.form.applicantFixTelephone),callback:function ($$v) {_vm.$set(_vm.form, \"applicantFixTelephone\", $$v)},expression:\"form.applicantFixTelephone\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"QQ\",\"prop\":\"applicantQQ\"}},[_c('el-input',{model:{value:(_vm.form.applicantQQ),callback:function ($$v) {_vm.$set(_vm.form, \"applicantQQ\", $$v)},expression:\"form.applicantQQ\"}})],1)],1),_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"基金简介\",\"prop\":\"summary\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.summary),callback:function ($$v) {_vm.$set(_vm.form, \"summary\", $$v)},expression:\"form.summary\"}})],1)],1),_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"是否可匿名捐赠\"}},[_c('el-radio-group',{model:{value:(_vm.form.canAnonymous),callback:function ($$v) {_vm.$set(_vm.form, \"canAnonymous\", $$v)},expression:\"form.canAnonymous\"}},_vm._l((_vm.yesOrNoList),function(item,index){return _c('el-radio',{key:index,attrs:{\"label\":item.value}},[_vm._v(_vm._s(item.key))])}),1)],1)],1),_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"资金使用范围\",\"prop\":\"usageRange\"}},[_c('el-checkbox-group',{model:{value:(_vm.checkList),callback:function ($$v) {_vm.checkList=$$v},expression:\"checkList\"}},_vm._l((_vm.fundRange),function(item){return _c('el-checkbox',{key:item.key,attrs:{\"label\":item.displayName}},[_vm._v(_vm._s(item.displayName)+\" \")])}),1)],1)],1),_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"上传附件\",\"prop\":\"content\"}},[_c('multiple-upload-file',{attrs:{\"hostId\":_vm.dataId,\"host-type\":_vm.hostTypeFile},model:{value:(_vm.form.savedAttachments),callback:function ($$v) {_vm.$set(_vm.form, \"savedAttachments\", $$v)},expression:\"form.savedAttachments\"}})],1)],1)],1)],1),_c('div',[_c('el-button',{attrs:{\"type\":\"default\"},on:{\"click\":_vm.cancel}},[_vm._v(\"返回\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"disabled\":_vm.btnDisabled},on:{\"click\":_vm.save}},[_vm._v(\"保存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Ueditor from \"@/components/Ueditor/index.vue\";\r\nimport {Component, Ref, Vue} from \"vue-property-decorator\";\r\nimport api from \"@/api\";\r\nimport Tinymce from \"@/components/Tinymce/index.vue\";\r\nimport {\r\n AttachmentHostType,\r\n DataDictionaryDtoPagedResultDto,\r\n FundApplyCreateOrUpdateDto,\r\n} from \"@/api/appService\";\r\nimport {ElForm} from \"element-ui/types/form\";\r\nimport AbSelect from \"@/components/AbSelect/index.vue\";\r\nimport MultipleUploadFile from \"@/components/MultipleUploadFile/index.vue\";\r\nimport SimpleUploadImage from \"@/components/SimpleUploadImage/index.vue\";\r\n\r\n@Component({\r\n components: {\r\n Tinymce,\r\n AbSelect,\r\n Ueditor,\r\n MultipleUploadFile,\r\n SimpleUploadImage,\r\n },\r\n})\r\nexport default class CreateFundMaintain extends Vue {\r\n @Ref() readonly dataForm!: ElForm;\r\n dataId?: number = 0;\r\n form: FundApplyCreateOrUpdateDto = {\r\n canAnonymous: true,\r\n };\r\n radio: string = \"\";\r\n typeList: any = [];\r\n childList: any = [];\r\n honorTypeList: any = [];\r\n checkList: any = [];\r\n fundRange: any = [];\r\n sex = \"\";\r\n yesOrNoList = [\r\n {\r\n key: \"是\",\r\n value: true,\r\n },\r\n {\r\n key: \"否\",\r\n value: false,\r\n },\r\n ];\r\n btnDisabled: boolean = false;\r\n\r\n get hostTypeFile() {\r\n return AttachmentHostType.FundApply;\r\n }\r\n\r\n created() {\r\n if(this.$route.params.id){\r\n this.dataId = Number(this.$route.params.id);\r\n api.fundApply.get({ id: this.dataId }).then((res) => {\r\n this.form = { ...res };\r\n this.form.id = res.id;\r\n this.form.managementFeePercentage = (this.form.managementFeePercentage??0)*100;\r\n if (this.form.usageRange) {\r\n this.checkList = this.form.usageRange?.split(\",\");\r\n }\r\n this.loading = false;\r\n });\r\n }\r\n this.fetchEnumType();\r\n this.fetchDataDictionary();\r\n }\r\n\r\n async fetchEnumType() {\r\n await api.enumService\r\n .getValues({\r\n typeName: \"FundType\",\r\n })\r\n .then((res) => {\r\n this.typeList = res;\r\n });\r\n }\r\n\r\n async fetchDataDictionary() {\r\n await api.dataDictionary.getDataDictionaryListByKey({key: 'HonorType', maxResultCount: 1000})\r\n .then((res: DataDictionaryDtoPagedResultDto) => {\r\n this.honorTypeList = res.items\r\n })\r\n await api.dataDictionary.getDataDictionaryListByKey({key: 'FundRange', maxResultCount: 1000})\r\n .then((res: DataDictionaryDtoPagedResultDto) => {\r\n this.fundRange = res.items\r\n })\r\n await api.dataDictionary.getDataDictionaryListByKey({key: 'FundCategory', maxResultCount: 1000})\r\n .then((res: DataDictionaryDtoPagedResultDto) => {\r\n this.childList = res.items\r\n })\r\n }\r\n\r\n async save() {\r\n this.btnDisabled = true;\r\n (this.$refs.dataForm as any).validate(async (valid: boolean) => {\r\n if (valid) {\r\n if (this.checkList) {\r\n this.form.usageRange = this.checkList.join(\",\");\r\n }\r\n await api.fundApply.update({\r\n body: this.form,\r\n }).then(() => {\r\n this.$router.back();\r\n this.$message.success(\"修改成功\");\r\n }).catch(reason => {\r\n this.btnDisabled = false;\r\n });\r\n\r\n } else {\r\n this.$message.error(\"请检查表单\");\r\n this.btnDisabled = false;\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.$router.back();\r\n // (this.$refs.dataForm as any).resetFields();\r\n // this.$emit(\"input\", false);\r\n }\r\n\r\n roleRule = {\r\n fundName: [\r\n {\r\n required: true,\r\n message: \"基金名称必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n type: [\r\n {\r\n required: true,\r\n message: \"基金类型必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n applicantName: [\r\n {\r\n required: true,\r\n message: \"发起单位/个人必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n intialCaptial: [\r\n {\r\n required: true,\r\n message: \"起设资金金额必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n applicantMobileTelephone: [\r\n {\r\n required: true,\r\n message: \"手机号码必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n applicantEmail: [\r\n {\r\n required: true,\r\n message: \"邮箱必填\",\r\n trigger: \"blur\",\r\n },\r\n {\r\n message: \"请填写正确的邮箱地址\",\r\n type: \"email\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n };\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editFundApply.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./editFundApply.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./editFundApply.vue?vue&type=template&id=4f6756f6&\"\nimport script from \"./editFundApply.vue?vue&type=script&lang=ts&\"\nexport * from \"./editFundApply.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"data\":_vm.uploadParameter,\"action\":(_vm.baseURL + \"/api/services/app/Attachment/UploadToOss\"),\"show-file-list\":false,\"headers\":_vm.headers,\"on-success\":_vm.handleSuccess,\"before-upload\":_vm.beforeUpload}},[(_vm.url)?[_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.url}}),(_vm.showDelete)?_c('i',{staticClass:\"el-icon-delete\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleRemove($event)}}}):_vm._e()]:_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Component, Model, Prop, Vue} from \"vue-property-decorator\";\nimport Base64 from \"@/utils/Base64\";\nimport api from \"@/api\";\nimport {UserModule} from \"@/store/modules/user\";\nimport {AppModule} from \"@/store/modules/app\";\nimport {AttachmentHostType} from \"@/api/appService\";\n\n@Component({\n name:'SimpleUploadImage'\n})\nexport default class SimpleUploadImage extends Vue {\n\n @Model('change', {type: String, default: ''}) url!: string;\n\n @Prop({required: true})\n hostType!: AttachmentHostType;\n\n @Prop({required: false, default: false})\n showDelete!: boolean;\n\n async handleSuccess(res: any, file: any) {\n if (res.success) {\n this.url = res.result.url;\n this.$emit('change', res.result.url)\n this.$nextTick()\n }\n }\n\n async handleRemove() {\n this.$emit('change', '')\n }\n\n get headers() {\n return {\n 'Abp-OrganizationUnitId': UserModule.getOU?.id,\n 'Abp-TenantId': AppModule.getTenantId,\n 'Authorization': `Bearer ${UserModule.getToken}`,\n '.AspNetCore.Culture': 'c=zh-Hans|uic=zh-Hans'\n }\n }\n\n get uploadParameter() {\n return {hostType: this.hostType};\n }\n\n private beforeUpload(file: any) {\n console.log(file);\n const isJPG = file.type === \"image/jpeg\";\n const isLt2M = file.size / 1024 / 1024 < 10;\n if (!isLt2M) {\n this.$message.error(\"上传头像图片大小不能超过 10MB!\");\n return false;\n } else {\n return true;\n }\n }\n\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=673a343a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=673a343a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"673a343a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}