{"version":3,"sources":["webpack:///./src/components/SimpleUploadImage/index.vue?8860","webpack:///./src/views/fund/fundMaintain/create.vue?1e57","webpack:///./src/views/fund/fundMaintain/create.vue?f96b","webpack:///./src/views/fund/fundMaintain/create.vue?17ef","webpack:///./src/views/fund/fundMaintain/create.vue","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"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","ref","attrs","roleRule","form","model","value","callback","$$v","$set","expression","typeList","childList","required","pattern","message","trigger","_l","item","index","key","_v","_s","checkList","displayName","dataId","hostTypeFile","on","cancel","btnDisabled","save","staticRenderFns","canAnonymous","radio","honorTypeList","fundRange","sex","yesOrNoList","fundName","type","applicantName","intialCaptial","applicantMobileTelephone","applicantEmail","fetchEnumType","fetchDataDictionary","api","enumService","getValues","typeName","then","res","dataDictionary","getDataDictionaryListByKey","maxResultCount","items","$refs","dataForm","validate","valid","usageRange","join","fundApply","create","body","$router","back","$message","success","catch","reason","error","FundApply","components","Tinymce","AbSelect","Ueditor","MultipleUploadFile","SimpleUploadImage","component","baseURL","uploadParameter","onSuccess","attachmentList","onRemove","beforeRemove","onPreview","attachmentIds","hostId","toString","attachmentService","getAttachments","hostType","length","map","name","fileName","push","id","$emit","file","result","attachmentId","$confirm","indexOf","response","splice","window","open","url","getOU","getTenantId","Authorization","getToken","Array","default","placeholder","disabled","filterable","clearable","loading","val","itemValue","itemKey","newVal","deep","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ACzC,QAAKD,IACH7I,KAAKwE,SAASI,MAAM,uBACb,KAzCb,8BAsBa,MACT,MAAO,CACL,mCAA0B,OAAWuC,aAArC,aAA0B,EAAkBZ,GAC5C,eAAgB,OAAUa,YAC1B,+BAA2B,OAAWE,UACtC,sBAAuB,2BA3B7B,sCAgCI,MAAO,CAACrB,SAAUjG,KAAKiG,cAhC3B,GAA+C,QAEC,gBAA7C,eAAM,SAAU,CAACrD,KAAMmG,OAAQvB,QAAS,M,0BAGzC,gBADC,eAAK,CAACtG,UAAU,K,+BAIjB,gBADC,eAAK,CAACA,UAAU,EAAOsG,SAAS,K,iCAPd,EAAiB,gBAHrC,eAAU,CACTpB,KAAK,uBAEc,WC3B6X,I,wBCQ9YhB,EAAY,eACd,EACAtF,EACAsC,GACA,EACA,KACA,WACA,MAIa,OAAAgD,E","file":"js/chunk-6e484b8f.49a1c867.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('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 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.create({\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!./create.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!./create.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./create.vue?vue&type=template&id=15606971&\"\nimport script from \"./create.vue?vue&type=script&lang=ts&\"\nexport * from \"./create.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',{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"],"sourceRoot":""}