{"version":3,"sources":["webpack:///./src/components/SimpleUploadImage/index.vue?8860","webpack:///./src/views/fund/fundUser/edit.vue?2ad9","webpack:///./src/views/fund/fundUser/edit.vue?6f87","webpack:///./src/views/fund/fundUser/edit.vue?80a0","webpack:///./src/views/fund/fundUser/edit.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","attrs","form","id","on","$event","$router","back","ref","roleRule","_v","fundList","model","value","callback","$$v","$set","expression","_e","_l","item","key","displayName","_s","required","pattern","message","trigger","dutyList","hostTypeFile","cancel","save","staticRenderFns","sexList","sex","userName","fundId","password","duty","name","surname","emailAddress","type","$route","params","api","fundUser","get","Number","then","res","fetchDataDictionary","fetchFundList","fund","getAll","maxResultCount","items","dataDictionary","getDataDictionaryListByKey","$refs","dataForm","validate","valid","update","body","create","$message","success","error","FundApply","components","Tinymce","AbSelect","Ueditor","MultipleUploadFile","SimpleUploadImage","component","baseURL","uploadParameter","onSuccess","attachmentList","onRemove","beforeRemove","onPreview","attachmentIds","hostId","toString","attachmentService","getAttachments","hostType","length","map","fileName","push","$emit","file","result","attachmentId","$confirm","index","indexOf","response","splice","window","open","url","getOU","getTenantId","Authorization","getToken","Array","default","placeholder","disabled","filterable","clearable","loading","val","itemValue","itemKey","newVal","deep","headers","handleSuccess","beforeUpload","stopPropagation","handleRemove","$nextTick","console","log","isLt2M","size","String"],"mappings":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xE,KAAK8G,IAAMvD,EAAI8C,OAAOS,IACtB9G,KAAKmG,MAAM,SAAU5C,EAAI8C,OAAOS,KAChC9G,KAAKoI,aAdX,6RAmBIpI,KAAKmG,MAAM,SAAU,IAnBzB,4IAmCuBC,GACnBiC,QAAQC,IAAIlC,GACEA,EAAKrD,KAAnB,IACMwF,EAASnC,EAAKoC,KAAO,KAAO,KAAO,GACzC,QAAKD,IACHvI,KAAKuE,SAASE,MAAM,uBACb,KAzCb,8BAsBa,MACT,MAAO,CACL,mCAA0B,OAAWsC,aAArC,aAA0B,EAAkBvG,GAC5C,eAAgB,OAAUwG,YAC1B,+BAA2B,OAAWE,UACtC,sBAAuB,2BA3B7B,sCAgCI,MAAO,CAACpB,SAAU9F,KAAK8F,cAhC3B,GAA+C,QAEC,gBAA7C,eAAM,SAAU,CAAC/C,KAAM0F,OAAQrB,QAAS,M,0BAGzC,gBADC,eAAK,CAACvF,UAAU,K,+BAIjB,gBADC,eAAK,CAACA,UAAU,EAAOuF,SAAS,K,iCAPd,EAAiB,gBAHrC,eAAU,CACTxE,KAAK,uBAEc,WC3B6X,I,wBCQ9YqC,EAAY,eACd,EACAnF,EACAuC,GACA,EACA,KACA,WACA,MAIa,OAAA4C,E","file":"js/chunk-507ca1da.3c42e1b4.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-page-header',{attrs:{\"content\":_vm.form.id?'修改基金成员':'新增基金成员'},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('section',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"所属基金\",\"prop\":\"fundId\"}},[_c('ab-select',{staticClass:\"width-100\",attrs:{\"list\":_vm.fundList,\"item-value\":\"name\",\"item-key\":\"id\",\"placeholder\":\"选择所属基金\",\"filterable\":true},model:{value:(_vm.form.fundId),callback:function ($$v) {_vm.$set(_vm.form, \"fundId\", $$v)},expression:\"form.fundId\"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"账号\",\"prop\":\"userName\"}},[_c('el-input',{model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, \"userName\", $$v)},expression:\"form.userName\"}})],1)],1)],1),(!_vm.form.id)?_c('el-row',[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1)],1)],1):_vm._e(),_c('el-row',[_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-divider'),_c('h2',[_vm._v(\"用户资料\")]),_c('section',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":4}},[_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\":4}},[_c('el-form-item',{attrs:{\"label\":\"真实姓名\",\"prop\":\"surname\"}},[_c('el-input',{model:{value:(_vm.form.surname),callback:function ($$v) {_vm.$set(_vm.form, \"surname\", $$v)},expression:\"form.surname\"}})],1)],1),_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{attrs:{\"label\":\"性别\",\"prop\":\"sex\"}},[_c('el-radio-group',{model:{value:(_vm.form.sex),callback:function ($$v) {_vm.$set(_vm.form, \"sex\", $$v)},expression:\"form.sex\"}},_vm._l((_vm.sexList),function(item){return _c('el-radio',{key:item.key,attrs:{\"label\":item.displayName}},[_vm._v(_vm._s(item.displayName))])}),1)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"Email\",\"prop\":\"emailAddress\"}},[_c('el-input',{model:{value:(_vm.form.emailAddress),callback:function ($$v) {_vm.$set(_vm.form, \"emailAddress\", $$v)},expression:\"form.emailAddress\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"phoneNumber\",\"rules\":[{ required: true, pattern: /^1[345789]\\d{9}$/, message: '请输入正确的手机号', trigger: 'blur' }]}},[_c('el-input',{model:{value:(_vm.form.phoneNumber),callback:function ($$v) {_vm.$set(_vm.form, \"phoneNumber\", $$v)},expression:\"form.phoneNumber\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"身份证号\",\"prop\":\"idNo\"}},[_c('el-input',{model:{value:(_vm.form.idNo),callback:function ($$v) {_vm.$set(_vm.form, \"idNo\", $$v)},expression:\"form.idNo\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"职务\",\"prop\":\"duty\"}},[_c('ab-select',{staticClass:\"width-100\",attrs:{\"list\":_vm.dutyList,\"item-value\":\"displayName\",\"item-key\":\"key\",\"placeholder\":\"选择类型\"},model:{value:(_vm.form.duty),callback:function ($$v) {_vm.$set(_vm.form, \"duty\", $$v)},expression:\"form.duty\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"所在企业\",\"prop\":\"company\"}},[_c('el-input',{model:{value:(_vm.form.company),callback:function ($$v) {_vm.$set(_vm.form, \"company\", $$v)},expression:\"form.company\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"企业职务\",\"prop\":\"companyDuty\"}},[_c('el-input',{model:{value:(_vm.form.companyDuty),callback:function ($$v) {_vm.$set(_vm.form, \"companyDuty\", $$v)},expression:\"form.companyDuty\"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"成员图片上传\",\"prop\":\"headImgUrl\"}},[_c('simple-upload-image',{attrs:{\"host-type\":_vm.hostTypeFile},model:{value:(_vm.form.headImgUrl),callback:function ($$v) {_vm.$set(_vm.form, \"headImgUrl\", $$v)},expression:\"form.headImgUrl\"}})],1)],1)],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\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 NotifyTemplateCreateOrUpdateDto,\r\n CmsCategoryType, AttachmentHostType, DataDictionaryDtoPagedResultDto, FundDtoPagedResultDto, FundDto, FundUserDto\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 CreateNotify extends Vue {\r\n @Ref() readonly dataForm!: ElForm;\r\n form: FundUserDto = {\r\n id: 0\r\n };\r\n dutyList: any = [];\r\n sexList: any = [];\r\n sex = '';\r\n fundList: FundDto[] = [];\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 api.fundUser\r\n .get({ id: Number(this.$route.params.id) })\r\n .then(res => {\r\n this.form = { ...res };\r\n });\r\n }\r\n this.fetchDataDictionary();\r\n this.fetchFundList()\r\n }\r\n\r\n async fetchFundList() {\r\n await api.fund.getAll({maxResultCount:65535})\r\n .then((res:FundDtoPagedResultDto)=>{\r\n this.fundList = res.items??[]\r\n })\r\n }\r\n\r\n async fetchDataDictionary() {\r\n await api.dataDictionary.getDataDictionaryListByKey({key: 'Duty', maxResultCount:1000})\r\n .then((res:DataDictionaryDtoPagedResultDto)=>{\r\n this.dutyList = 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 }\r\n async save() {\r\n (this.$refs.dataForm as any).validate(async (valid: boolean) => {\r\n if (valid) {\r\n if (this.form!.id) {\r\n await api.fundUser.update({\r\n body: this.form\r\n });\r\n } else {\r\n await api.fundUser.create({\r\n body: this.form\r\n });\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 // (this.$refs.dataForm as any).resetFields();\r\n // this.$emit(\"input\", false);\r\n }\r\n\r\n roleRule = {\r\n userName: [\r\n {\r\n required: true,\r\n message: \"账号必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n fundId: [\r\n {\r\n required: true,\r\n message: \"所属基金必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n password: [\r\n {\r\n required: true,\r\n message: \"密码必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n duty: [\r\n {\r\n required: true,\r\n message: \"职务必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n name: [\r\n {\r\n required: true,\r\n message: \"昵称必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n surname: [\r\n {\r\n required: true,\r\n message: \"真实姓名必填\",\r\n trigger: \"blur\"\r\n }\r\n ],\r\n emailAddress: [\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!./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=168dde9b&\"\nimport script from \"./edit.vue?vue&type=script&lang=ts&\"\nexport * from \"./edit.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":""}