{"version":3,"sources":["webpack:///./src/views/fund/fundMaintain/edit.vue?f1be","webpack:///./src/views/fund/fundMaintain/edit.vue?af74","webpack:///./src/views/fund/fundMaintain/edit.vue?97b3","webpack:///./src/views/fund/fundMaintain/edit.vue","webpack:///./src/components/SimpleUploadImage/index.vue?8860","webpack:///./src/views/fund/fundMaintain/edit.vue?c368","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/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","webpack:///./src/components/MultipleUploadImage/index.vue?d045","webpack:///./src/components/MultipleUploadImage/index.vue?6e31","webpack:///./src/components/MultipleUploadImage/index.vue?edd5","webpack:///./src/components/MultipleUploadImage/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","dataId","on","$event","$router","back","ref","roleRule","form","_v","model","value","callback","$$v","$set","expression","typeList","childList","honorTypeList","checkList","_l","item","key","displayName","_s","staticStyle","index","required","pattern","message","trigger","loading","_e","hostTypeFile","cancel","save","staticRenderFns","id","usageRange","undefined","canAnonymous","fundRange","sexList","sex","yesOrNoList","name","type","founderName","intialCaptial","mobileTelephone","email","$route","params","Number","api","fund","get","then","res","managementFeePercentage","split","fetchEnumType","fetchDataDictionary","enumService","getValues","typeName","dataDictionary","getDataDictionaryListByKey","maxResultCount","items","$refs","dataForm","validate","valid","join","update","body","$message","success","error","Fund","components","Tinymce","AbSelect","Ueditor","MultipleUploadFile","SimpleUploadImage","MultipleUploadImage","component","baseURL","uploadParameter","onSuccess","attachmentList","onRemove","beforeRemove","onPreview","attachmentIds","hostId","toString","attachmentService","getAttachments","hostType","length","map","fileName","push","$emit","file","result","attachmentId","$confirm","indexOf","response","splice","window","open","url","getOU","getTenantId","Authorization","getToken","Array","default","placeholder","disabled","filterable","clearable","val","itemValue","itemKey","newVal","deep","headers","handleSuccess","beforeUpload","stopPropagation","handleRemove","$nextTick","console","log","isLt2M","size","String","class","hide","hideUpload","fileList","limit","handlePictureCardPreview","masterFileMax","handleChange","dialogVisible","dialogImageUrl","imagePathArray","imagePaths","forEach","m","files","warning"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,iBAAiB,CAACG,MAAM,CAAC,MAAQ,KAAK,QAAUP,EAAIQ,OAAO,SAAS,UAAUC,GAAG,CAAC,KAAO,SAASC,GAAQ,OAAOV,EAAIW,QAAQC,WAAWR,EAAG,UAAU,CAACS,IAAI,WAAWN,MAAM,CAAC,MAAQP,EAAIc,SAAS,MAAQd,EAAIe,KAAK,iBAAiB,QAAQ,CAACX,EAAG,KAAK,CAACJ,EAAIgB,GAAG,YAAYZ,EAAG,SAAS,CAACG,MAAM,CAAC,OAAS,KAAK,CAACH,EAAG,SAAS,CAACG,MAAM,CAAC,KAAO,IAAI,CAACH,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,OAAO,KAAO,SAAS,CAACH,EAAG,WAAW,CAACa,MAAM,CAACC,MAAOlB,EAAIe,KAAS,KAAEI,SAAS,SAAUC,GAAMpB,EAAIqB,KAAKrB,EAAIe,KAAM,OAAQK,IAAME,WAAW,gBAAgB,IAAI,GAAGlB,EAAG,SAAS,CAACG,MAAM,CAAC,KAAO,IAAI,CAACH,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,OAAO,KAAO,SAAS,CAACH,EAAG,YAAY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GACvBjH,KAAK8J,eAAiB7C,EAAKS,IAC3B1H,KAAK6J,eAAgB,IA1EzB,oCA6EgBM,EAAYX,GACxBR,QAAQC,IAAIkB,EAAOX,GAEnBxJ,KAAKmF,SAASiF,QAAd,gBAA+BpK,KAAKyJ,MAApC,YAhFJ,mCAmFeU,EAAYX,MAnF3B,8BAqCa,MACT,MAAO,CACL,mCAA0B,OAAW7B,aAArC,aAA0B,EAAkBhF,GAC5C,eAAgB,OAAUiF,YAC1B,+BAA2B,OAAWE,UACtC,sBAAuB,2BA1C7B,sCA+CI,MAAO,CAACnB,SAAU3G,KAAK2G,cA/C3B,GAAiD,QAED,gBAA7C,eAAM,SAAU,CAACvD,KAAMgG,OAAQpB,QAAS,M,iCAGzC,gBADC,eAAK,CAAC/F,UAAU,K,+BAIjB,gBADC,eAAK,CAACA,UAAU,EAAO+F,QAAS,M,4BAPd,EAAmB,gBAJvC,eAAU,CACT7E,KAAM,yBAGa,WC5D6X,I,YCO9Y2C,EAAY,eACd,EACAhG,EACA4C,GACA,EACA,KACA,WACA,MAIa,OAAAoD,E","file":"js/chunk-6445a539.4cfa83d0.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('el-page-header',{attrs:{\"title\":\"返回\",\"content\":_vm.dataId?'修改基金信息':'新增基金信息'},on:{\"back\":function($event){return _vm.$router.back()}}}),_c('el-form',{ref:\"dataForm\",attrs:{\"rules\":_vm.roleRule,\"model\":_vm.form,\"label-position\":\"top\"}},[_c('h2',[_vm._v(\"基金基本信息\")]),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"基金名称\",\"prop\":\"name\"}},[_c('el-input',{model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_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)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_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\":6}},[_c('el-form-item',{attrs:{\"label\":\"关注领域\",\"prop\":\"focusArea\"}},[_c('el-input',{model:{value:(_vm.form.focusArea),callback:function ($$v) {_vm.$set(_vm.form, \"focusArea\", $$v)},expression:\"form.focusArea\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"基金荣誉\",\"prop\":\"honorType\"}},[_c('ab-select',{staticClass:\"width-100\",attrs:{\"list\":_vm.honorTypeList,\"item-value\":\"displayName\",\"item-key\":\"key\",\"placeholder\":\"选择类型\"},model:{value:(_vm.form.honorType),callback:function ($$v) {_vm.$set(_vm.form, \"honorType\", $$v)},expression:\"form.honorType\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_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)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"管理费比例(%)\",\"prop\":\"managementFeePercentage\"}},[_c('div',{staticClass:\"percent\"},[_c('el-input',{attrs:{\"type\":\"number\",\"step\":1},model:{value:(_vm.form.managementFeePercentage),callback:function ($$v) {_vm.$set(_vm.form, \"managementFeePercentage\", $$v)},expression:\"form.managementFeePercentage\"}})],1)])],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"资金来源\",\"prop\":\"capitalSource\"}},[_c('el-input',{model:{value:(_vm.form.capitalSource),callback:function ($$v) {_vm.$set(_vm.form, \"capitalSource\", $$v)},expression:\"form.capitalSource\"}})],1)],1)],1),_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),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"成立日期\",\"prop\":\"foundDate\"}},[_c('el-date-picker',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"截止时间\",\"value-format\":\"yyyy-MM-dd\",\"format\":\"yyyy-MM-dd\"},model:{value:(_vm.form.foundDate),callback:function ($$v) {_vm.$set(_vm.form, \"foundDate\", $$v)},expression:\"form.foundDate\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"是否可匿名捐赠\",\"prop\":\"canAnonymous\"}},[_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)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"宗旨\",\"prop\":\"purpose\"}},[_c('el-input',{model:{value:(_vm.form.purpose),callback:function ($$v) {_vm.$set(_vm.form, \"purpose\", $$v)},expression:\"form.purpose\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":12}},[_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)],1),_c('el-divider'),_c('section',[_c('h2',[_vm._v(\"发起方信息\")]),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"发起单位/个人\",\"prop\":\"founderName\"}},[_c('el-input',{model:{value:(_vm.form.founderName),callback:function ($$v) {_vm.$set(_vm.form, \"founderName\", $$v)},expression:\"form.founderName\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"mobileTelephone\",\"rules\":[{required:true,pattern:/^1[345789]\\d{9}$/,message:'请输入正确的手机号',trigger:'blur'}]}},[_c('el-input',{model:{value:(_vm.form.mobileTelephone),callback:function ($$v) {_vm.$set(_vm.form, \"mobileTelephone\", $$v)},expression:\"form.mobileTelephone\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"邮箱\",\"prop\":\"email\"}},[_c('el-input',{model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"固定电话\",\"prop\":\"fixTelephone\"}},[_c('el-input',{model:{value:(_vm.form.fixTelephone),callback:function ($$v) {_vm.$set(_vm.form, \"fixTelephone\", $$v)},expression:\"form.fixTelephone\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"QQ\",\"prop\":\"qq\"}},[_c('el-input',{model:{value:(_vm.form.qq),callback:function ($$v) {_vm.$set(_vm.form, \"qq\", $$v)},expression:\"form.qq\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"联系人\",\"prop\":\"contacts\"}},[_c('el-input',{model:{value:(_vm.form.contacts),callback:function ($$v) {_vm.$set(_vm.form, \"contacts\", $$v)},expression:\"form.contacts\"}})],1)],1)],1)],1),_c('el-divider'),_c('section',[_c('h2',[_vm._v(\"基金图片\")]),_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"基金图片上传\",\"prop\":\"titleImage\"}},[(!_vm.loading)?_c('multiple-upload-image',{attrs:{\"limit\":1,\"host-type\":_vm.hostTypeFile},model:{value:(_vm.form.titleImage),callback:function ($$v) {_vm.$set(_vm.form, \"titleImage\", $$v)},expression:\"form.titleImage\"}}):_vm._e()],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"批示图片上传\",\"prop\":\"instructionsImage\"}},[(!_vm.loading)?_c('multiple-upload-image',{attrs:{\"host-type\":_vm.hostTypeFile},model:{value:(_vm.form.instructionsImage),callback:function ($$v) {_vm.$set(_vm.form, \"instructionsImage\", $$v)},expression:\"form.instructionsImage\"}}):_vm._e()],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"牌匾图片上传\",\"prop\":\"plaqueImage\"}},[(!_vm.loading)?_c('multiple-upload-image',{attrs:{\"host-type\":_vm.hostTypeFile},model:{value:(_vm.form.plaqueImage),callback:function ($$v) {_vm.$set(_vm.form, \"plaqueImage\", $$v)},expression:\"form.plaqueImage\"}}):_vm._e()],1)],1)],1)],1),_c('el-divider'),_c('section',[_c('h2',[_vm._v(\"附件\")]),_c('el-form-item',{attrs:{\"prop\":\"savedAttachments\"}},[_c('multiple-upload-file',{attrs:{\"host-type\":_vm.hostTypeFile,\"host-id\":_vm.dataId},model:{value:(_vm.form.savedAttachments),callback:function ($$v) {_vm.$set(_vm.form, \"savedAttachments\", $$v)},expression:\"form.savedAttachments\"}})],1)],1),_c('el-divider'),_c('section',[_c('h2',[_vm._v(\"基金详情\")]),_c('el-form-item',{attrs:{\"prop\":\"description\"}},[_c('ueditor',{ref:\"editor\",attrs:{\"height\":650},model:{value:(_vm.form.description),callback:function ($$v) {_vm.$set(_vm.form, \"description\", $$v)},expression:\"form.description\"}})],1)],1)],1),_c('div',[_c('el-button',{attrs:{\"type\":\"default\"},on:{\"click\":_vm.cancel}},[_vm._v(\"返回\")]),_c('el-button',{attrs:{\"type\":\"primary\"},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\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\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, DonatedAmountConfigCreateOrUpdateDto, DonatedAmountConfigSourceType,\r\n FundCreateOrUpdateDto,\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\nimport MultipleUploadImage from \"@/components/MultipleUploadImage/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 MultipleUploadImage\r\n },\r\n})\r\nexport default class EditFundMaintain extends Vue {\r\n @Ref() readonly dataForm!: ElForm;\r\n dataId!: number;\r\n form: FundCreateOrUpdateDto = {\r\n id: 0,\r\n usageRange: undefined,\r\n canAnonymous: true,\r\n };\r\n typeList: any = [];\r\n childList: any = [];\r\n honorTypeList: any = [];\r\n fundRange: any = [];\r\n sexList: any = [];\r\n checkList: 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\r\n loading = true;\r\n\r\n get hostTypeFile() {\r\n return AttachmentHostType.Fund;\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.fund.get({id: this.dataId}).then((res) => {\r\n this.form = {...res};\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\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: 'Sex', maxResultCount: 1000})\r\n .then((res: DataDictionaryDtoPagedResultDto) => {\r\n this.sexList = 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.$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 this.form.managementFeePercentage = (this.form.managementFeePercentage ?? 0) / 100;\r\n await api.fund.update({\r\n body: this.form,\r\n });\r\n this.$router.back();\r\n this.$message.success(\"操作成功\");\r\n } else {\r\n this.$message.error(\"请检查表单\");\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.$router.back();\r\n }\r\n\r\n roleRule = {\r\n name: [\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 founderName: [\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 mobileTelephone: [\r\n {\r\n required: true,\r\n message: \"手机号码必填\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n email: [\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!./edit.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!./edit.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./edit.vue?vue&type=template&id=015f2b05&scoped=true&\"\nimport script from \"./edit.vue?vue&type=script&lang=ts&\"\nexport * from \"./edit.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./edit.vue?vue&type=style&index=0&id=015f2b05&lang=scss&scoped=true&\"\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 \"015f2b05\",\n null\n \n)\n\nexport default component.exports","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&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=015f2b05&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=015f2b05&lang=scss&scoped=true&\"","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('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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-upload',{class:{hide: _vm.hideUpload},attrs:{\"multiple\":true,\"list-type\":\"picture-card\",\"file-list\":_vm.fileList,\"limit\":_vm.limit,\"data\":_vm.uploadParameter,\"action\":(_vm.baseURL + \"/api/services/app/Attachment/UploadToOss\"),\"headers\":_vm.headers,\"on-success\":_vm.handleSuccess,\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"before-upload\":_vm.beforeUpload,\"on-exceed\":_vm.masterFileMax,\"on-change\":_vm.handleChange}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})])],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\r\nimport {Component, Model, Prop, Vue} from \"vue-property-decorator\";\r\nimport {UserModule} from \"@/store/modules/user\";\r\nimport {AppModule} from \"@/store/modules/app\";\r\nimport {AttachmentHostType} from \"@/api/appService\";\r\n\r\n@Component({\r\n name: 'MultipleUploadImage'\r\n})\r\n\r\nexport default class MultipleUploadImage extends Vue {\r\n\r\n @Model('change', {type: String, default: ''}) readonly imagePaths!: string;\r\n\r\n @Prop({required: true})\r\n hostType!: AttachmentHostType;\r\n\r\n @Prop({required: false, default: 20})\r\n limit?: number;\r\n\r\n private fileList: any[] = []\r\n\r\n private imagePathArray: string[] = []\r\n\r\n private dialogImageUrl: string = ''\r\n private dialogVisible: boolean = false\r\n private hideUpload: boolean = false\r\n\r\n async created() {\r\n console.log('MultipleUploadImage created')\r\n if (this.imagePaths && this.imagePaths !== '') {\r\n this.imagePathArray = this.imagePaths.split(',');\r\n this.imagePathArray.forEach(m => {\r\n this.fileList.push({url: m});\r\n })\r\n }\r\n this.handleChange(null, this.fileList)\r\n }\r\n\r\n async handleSuccess(res: any, file: any) {\r\n if (res.success) {\r\n this.imagePathArray.push(res.result.url)\r\n this.fileList.push({url: res.result.url})\r\n this.$emit('change', this.imagePathArray.join(','))\r\n }\r\n }\r\n\r\n get headers() {\r\n return {\r\n 'Abp-OrganizationUnitId': UserModule.getOU?.id,\r\n 'Abp-TenantId': AppModule.getTenantId,\r\n 'Authorization': `Bearer ${UserModule.getToken}`,\r\n '.AspNetCore.Culture': 'c=zh-Hans|uic=zh-Hans'\r\n }\r\n }\r\n\r\n get uploadParameter() {\r\n return {hostType: this.hostType};\r\n }\r\n\r\n private beforeUpload(file: any) {\r\n debugger\r\n console.log(file);\r\n const isJPG = file.type === \"image/jpeg\";\r\n const isLt2M = file.size / 1024 / 1024 < 10;\r\n if (!isLt2M) {\r\n this.$message.error(\"上传图片大小不能超过 10MB!\");\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n\r\n handleRemove(file: any) {\r\n console.log(file);\r\n let index = this.imagePathArray!.indexOf(file.url)\r\n this.imagePathArray!.splice(index, 1);\r\n this.fileList!.splice(index, 1);\r\n this.$emit(\"change\", this.imagePathArray.join(','))\r\n this.handleChange(null, this.fileList)\r\n }\r\n\r\n handlePictureCardPreview(file: any) {\r\n this.dialogImageUrl = file.url;\r\n this.dialogVisible = true;\r\n }\r\n\r\n masterFileMax(files: any, fileList: any) {\r\n console.log(files, fileList);\r\n\r\n this.$message.warning(`请最多上传 ${this.limit} 张图片。`);\r\n }\r\n\r\n handleChange(files: any, fileList: any){\r\n // this.hideUpload = fileList.length >= this.limit!;\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!./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=a8db4470&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 \"a8db4470\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}