{"version":3,"sources":["webpack:///./src/components/PagedTableView/index.vue?bce5","webpack:///./src/components/PagedTableView/index.vue?18c1","webpack:///./src/components/PagedTableView/index.vue?ca9e","webpack:///./src/components/PagedTableView/index.vue","webpack:///./src/components/ImportExcel/index.vue?25f4","webpack:///./src/views/organization/list.vue?20b0","webpack:///./src/views/organization/list.vue?bf71","webpack:///./src/views/organization/list.vue?7f6b","webpack:///./src/views/organization/list.vue","webpack:///./src/components/ImportExcel/index.vue?37e8","webpack:///./src/components/ImportExcel/index.vue?a2c5","webpack:///./src/components/ImportExcel/index.vue?c312","webpack:///./src/components/ImportExcel/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/organization/list.vue?8bc1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","hiddenQueryForm","expression","attrs","nativeOn","$event","preventDefault","model","callback","$$v","queryForm","_t","on","handleSearch","_v","handleResetSearch","_s","totalMoneyTitle","_f","totalMoney","_e","table","tableItems","sort","handleSelectionChange","page","pageSizeChoose","pageSize","totalCount","$set","handleSizeChange","current_change","detailTitle","showDetail","onCloseDetail","staticRenderFns","listLoading","sorting","newValue","fetchData","$bus","$on","selection","$emit","console","log","pageParameter","skipCount","maxResultCount","fetchResult","searchFunction","Object","assign","then","res","items","resetForm","key","excludeResetKeys","indexOf","undefined","refreshData","e","prop","order","$router","push","indexRouteName","pageSizes","length","$route","meta","title","required","default","component","scopedSlots","_u","fn","proxy","centerDialogVisible","staticStyle","baseURL","scope","handleMenu","slot","type","index","$index","item","row","_l","handleCreate","id","displayName","contactEmailAddress","contactMobilePhone","contactName","orgTypeList","fetchDataDictionary","api","dataDictionary","getDataDictionaryListByKey","params","organizationUnit","getAll","column","cellValue","hostId","callBack","customFormService","getCustomFormId","hostType","OrganizationUnit","toString","formId","query","$confirm","confirmButtonText","cancelButtonText","catch","jumpDetail","handleEdit","handleDelete","handleResearch","String","organizationType","delete","$message","message","orgId","components","PagedTableView","AbSelect","ImportExcel","uploadFile","form","show","ref","rules","data","url","uploadHeaders","handleRemove","handleUploadSuccess","handleUploadError","submitUpload","submitting","Year","Month","Target","$refs","upload","submit","result","importResults","json","JSON","parse","error","ouId","getTenantId","getToken","placeholder","disabled","filterable","clearable","loading","val","itemValue","itemKey","newVal","deep"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,SAAS,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQV,EAAIW,gBAAiBC,WAAW,qBAAqBN,YAAY,SAASO,MAAM,CAAC,QAAU,iBAAiB,CAACT,EAAG,UAAU,CAACE,YAAY,aAAaO,MAAM,CAAC,QAAS,GAAMC,SAAS,CAAC,OAAS,SAASC,GAAQA,EAAOC,mBAAoBC,MAAM,CAACP,MAAOV,EAAa,UAAEkB,SAAS,SAAUC,GAAMnB,EAAIoB,UAAUD,GAAKP,WAAW,cAAc,CAACZ,EAAIqB,GAAG,aAAajB,EAAG,YAAY,CAACE,YAAY,mBAAmBO,MAAM,CAAC,KAAO,WAAWS,GAAG,CAAC,MAAQtB,EAAIuB,eAAe,CAACnB,EAAG,IAAI,CAACE,YAAY,mBAAmBN,EAAIwB,GAAG,SAASpB,EAAG,YAAY,CAACE,YAAY,mBAAmBO,MAAM,CAAC,KAAO,WAAWS,GAAG,CAAC,MAAQtB,EAAIyB,oBAAoB,CAACrB,EAAG,IAAI,CAACE,YAAY,oBAAoBN,EAAIwB,GAAG,WAAWxB,EAAIqB,GAAG,kBAAkB,IAAI,GAAGrB,EAAIqB,GAAG,WAAYrB,EAAkB,eAAEI,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACN,EAAIw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AGD,gBADC,eAAM,Q,4BAGN,MA5CkB,EAAQ,gBAD5B,eAAU,CAAC9K,KAAK,cACI,WChB6X,I,YCO9Y6E,EAAY,eACd,EACAtF,EACA8C,GACA,EACA,KACA,WACA,MAIa,OAAAwC,E,2CClBf,yBAAkoB,EAAG,G","file":"js/chunk-45016c7a.1152d680.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-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hiddenQueryForm),expression:\"!hiddenQueryForm\"}],staticClass:\"row-bg\",attrs:{\"justify\":\"space-around\"}},[_c('el-form',{staticClass:\"query-form\",attrs:{\"inline\":true},nativeOn:{\"submit\":function($event){$event.preventDefault();}},model:{value:(_vm.queryForm),callback:function ($$v) {_vm.queryForm=$$v},expression:\"queryForm\"}},[_vm._t(\"condition\"),_c('el-button',{staticClass:\"margin-bottom-20\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSearch}},[_c('i',{staticClass:\"el-icon-search\"}),_vm._v(\"查询 \")]),_c('el-button',{staticClass:\"margin-bottom-20\",attrs:{\"type\":\"default\"},on:{\"click\":_vm.handleResetSearch}},[_c('i',{staticClass:\"el-icon-refresh\"}),_vm._v(\"重置刷新 \")]),_vm._t(\"other-buttons\")],2)],1),_vm._t(\"buttons\"),(_vm.showTotalMoney)?_c('div',{staticClass:\"margin-bottom-20\"},[_vm._v(_vm._s(_vm.totalMoneyTitle)+\":\"+_vm._s(_vm._f(\"formatMoney\")(_vm.totalMoney))+\"元\")]):_vm._e(),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.table.listLoading),expression:\"table.listLoading\"}],attrs:{\"data\":_vm.tableItems,\"element-loading-text\":\"loading...\",\"border\":\"\",\"stripe\":\"\",\"fit\":\"\",\"highlight-current-row\":\"\"},on:{\"sort-change\":_vm.sort,\"selection-change\":_vm.handleSelectionChange}},[_vm._t(\"table\")],2),_c('el-pagination',{attrs:{\"current-page\":_vm.table.page,\"page-sizes\":_vm.pageSizeChoose,\"page-size\":_vm.table.pageSize,\"layout\":\"total,sizes, prev, pager, next\",\"total\":_vm.table.totalCount},on:{\"update:currentPage\":function($event){return _vm.$set(_vm.table, \"page\", $event)},\"update:current-page\":function($event){return _vm.$set(_vm.table, \"page\", $event)},\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.current_change}}),_c('el-drawer',{attrs:{\"title\":_vm.detailTitle,\"visible\":_vm.showDetail,\"before-close\":_vm.onCloseDetail},on:{\"update:visible\":function($event){_vm.showDetail=$event}}},[_c('router-view')],1)],2)}\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\r\nimport {Component, Prop, Watch} from \"vue-property-decorator\";\r\n\r\ninterface ISoringPagedResultDto {\r\n sorting: string;\r\n maxResultCount: number;\r\n skipCount: number;\r\n}\r\n\r\nimport {Vue} from \"vue-property-decorator\";\r\nimport {constants} from \"http2\";\r\n\r\n@Component({name: \"PagedTableView\"})\r\nexport default class PagedTableView extends Vue {\r\n @Prop()\r\n queryForm: any;\r\n\r\n @Prop({required: true})\r\n searchFunction!: Function;\r\n\r\n @Prop({})\r\n pageSizes!: Array;\r\n\r\n @Prop({required: false, default: 10})\r\n pageSize!: number;\r\n\r\n @Prop({required: false, default: 0})\r\n showTotalMoney!: number;\r\n @Prop({required: false, default: 0})\r\n totalMoney!: number;\r\n @Prop({required: false, default: \"合计\"})\r\n totalMoneyTitle!: number;\r\n\r\n @Prop()\r\n resetForm!: Function;\r\n\r\n @Prop({required: false})\r\n excludeResetKeys!: Array;\r\n\r\n @Prop({required: false, default: false})\r\n hiddenQueryForm!: boolean;\r\n\r\n @Prop({required: false, default: ''})\r\n indexRouteName!: string;\r\n\r\n @Prop({required: false, default: 0})\r\n detailId: any;\r\n\r\n get pageSizeChoose() {\r\n if (this.pageSizes && this.pageSizes.length) {\r\n return this.pageSizes;\r\n } else {\r\n return [10, 20, 50, 100];\r\n }\r\n }\r\n\r\n showDetail: boolean = false;\r\n\r\n @Watch('detailId')\r\n onDetailIdChange(newValue: any) {\r\n if (newValue) {\r\n this.showDetail = true;\r\n } else {\r\n this.showDetail = false\r\n }\r\n }\r\n\r\n\r\n // private fields\r\n tableItems: any = [];\r\n table: any = {\r\n listLoading: true,\r\n page: 1,\r\n totalCount: 0,\r\n pageSize: 0,\r\n sorting: \"\",\r\n };\r\n\r\n\r\n created() {\r\n this.table.pageSize = this.pageSize;\r\n this.fetchData();\r\n\r\n let $bus = (this as any).$bus;\r\n if ($bus) {\r\n $bus.$on(\"data-updated\", () => this.fetchData());\r\n $bus.$on(\"data-created\", () => this.fetchData());\r\n $bus.$on(\"data-deleted\", () => this.fetchData());\r\n $bus.$on(\"api-action-completed\", () => this.fetchData());\r\n }\r\n }\r\n\r\n handleSelectionChange(selection: any[]) {\r\n this.$emit(\"selectionList\", selection);\r\n }\r\n\r\n refreshData() {\r\n console.log(\"pagedTableView:refreshData\");\r\n this.table.page = 1;\r\n this.fetchData();\r\n }\r\n\r\n\r\n fetchData() {\r\n const pageParameter: ISoringPagedResultDto = {\r\n skipCount: (this.table.page - 1) * this.table.pageSize,\r\n maxResultCount: this.table.pageSize,\r\n sorting: this.table.sorting,\r\n };\r\n this.table.listLoading = true;\r\n\r\n const fetchResult = this.searchFunction(\r\n Object.assign({}, this.queryForm, pageParameter)\r\n );\r\n fetchResult.then((res: any) => {\r\n this.table.listLoading = false;\r\n this.tableItems = res.items!;\r\n this.table.totalCount = res.totalCount!;\r\n if (this.table.totalCount) {\r\n this.$emit(\"fetchDataList\", this.tableItems);\r\n }\r\n });\r\n\r\n return fetchResult;\r\n }\r\n\r\n // events handles\r\n handleSearch() {\r\n this.table.page = 1;\r\n this.fetchData();\r\n }\r\n\r\n handleResetSearch() {\r\n if (this.resetForm !== null && typeof this.resetForm === \"function\") {\r\n this.resetForm();\r\n } else {\r\n if (this.queryForm) {\r\n for (let key in this.queryForm) {\r\n if (\r\n (this.excludeResetKeys &&\r\n this.excludeResetKeys.indexOf(key) === -1) ||\r\n !this.excludeResetKeys\r\n )\r\n this.queryForm[key] = undefined;\r\n }\r\n }\r\n }\r\n this.refreshData();\r\n }\r\n\r\n // 更新当前页\r\n async current_change(e: number) {\r\n this.table.page = e;\r\n await this.fetchData();\r\n }\r\n\r\n // Table排序\r\n async sort(e: any) {\r\n console.log(\"sort : \", e);\r\n if (e.prop && e.order) {\r\n this.table.sorting = `${e.prop} ${e.order}`;\r\n }\r\n this.fetchData();\r\n }\r\n\r\n // 修改一页显示的条目\r\n handleSizeChange(e: number) {\r\n this.table.pageSize = e;\r\n this.fetchData();\r\n }\r\n\r\n onCloseDetail() {\r\n this.showDetail = false\r\n this.$emit('detail-close')\r\n this.$router.push({\r\n name: this.indexRouteName\r\n })\r\n\r\n }\r\n\r\n get detailTitle() {\r\n if ((this as any).$route.meta.title) {\r\n return (this as any).$route.meta.title;\r\n } else {\r\n return \"详情\";\r\n }\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!./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=4dfb1dff&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 \"4dfb1dff\",\n null\n \n)\n\nexport default component.exports","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!./index.vue?vue&type=style&index=0&id=f5bb15f8&scoped=true&lang=scss&\"; 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!./index.vue?vue&type=style&index=0&id=f5bb15f8&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('paged-table-view',{attrs:{\"search-function\":_vm.fetchData,\"query-form\":_vm.queryForm},scopedSlots:_vm._u([{key:\"condition\",fn:function(){return [_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"placeholder\":\"合作方名称\"},model:{value:(_vm.queryForm.displayName),callback:function ($$v) {_vm.$set(_vm.queryForm, \"displayName\", $$v)},expression:\"queryForm.displayName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"placeholder\":\"联系人姓名\"},model:{value:(_vm.queryForm.contactName),callback:function ($$v) {_vm.$set(_vm.queryForm, \"contactName\", $$v)},expression:\"queryForm.contactName\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"placeholder\":\"邮箱\"},model:{value:(_vm.queryForm.contactEmailAddress),callback:function ($$v) {_vm.$set(_vm.queryForm, \"contactEmailAddress\", $$v)},expression:\"queryForm.contactEmailAddress\"}})],1),_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"placeholder\":\"手机号码\"},model:{value:(_vm.queryForm.contactMobilePhone),callback:function ($$v) {_vm.$set(_vm.queryForm, \"contactMobilePhone\", $$v)},expression:\"queryForm.contactMobilePhone\"}})],1)]},proxy:true},{key:\"buttons\",fn:function(){return [_c('el-divider',{staticClass:\"query-form-divider\"}),_c('el-button',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.Organization:Create'),expression:\"'Pages.Organization:Create'\"}],staticClass:\"margin-bottom-20\",attrs:{\"type\":\"success\"},on:{\"click\":function($event){_vm.centerDialogVisible = true}}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"新增 \")]),_c('a',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"href\":(_vm.baseURL + \"/api/services/app/OrganizationUnit/DownloadTemplate\"),\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_c('el-button',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.Organization:Import'),expression:\"'Pages.Organization:Import'\"}],attrs:{\"type\":\"primary\"}},[_c('i',{staticClass:\"el-icon-download\"}),_vm._v(\"下载导入模板 \")])],1),_c('import-excel',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.Organization:Import'),expression:\"'Pages.Organization:Import'\"}],staticStyle:{\"margin-left\":\"10px\"},attrs:{\"url\":\"/api/services/app/OrganizationUnit/Import\",\"title\":\"导入合作方\"}},[_vm._v(\"导入\")])]},proxy:true},{key:\"table\",fn:function(){return [_c('el-table-column',{attrs:{\"label\":\"合作方名称\",\"prop\":\"displayName\"}}),_c('el-table-column',{attrs:{\"label\":\"联系人姓名\",\"prop\":\"contactName\"}}),_c('el-table-column',{attrs:{\"label\":\"邮箱\",\"prop\":\"contactEmailAddress\"}}),_c('el-table-column',{attrs:{\"label\":\"手机号\",\"prop\":\"contactMobilePhone\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-dropdown',{staticClass:\"el-dropdown\",attrs:{\"hide-on-click\":false},on:{\"command\":_vm.handleMenu}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\" 操作菜单 \"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"command\":{type:'detail', index:scope.$index, item:scope.row}}},[_vm._v(\"查看\")]),_c('el-dropdown-item',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.Organization:Edit'),expression:\"'Pages.Organization:Edit'\"}],attrs:{\"command\":{type:'edit',index:scope.$index, item:scope.row},\"divided\":\"\"}},[_vm._v(\" 编辑\")]),_c('el-dropdown-item',{attrs:{\"command\":{type:'research',index:scope.$index, item:scope.row},\"divided\":\"\"}},[_vm._v(\" 查看尽职调查报告\")])],1)],1)]}}])})]},proxy:true}])}),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.centerDialogVisible,\"width\":\"30%\",\"center\":\"\"},on:{\"update:visible\":function($event){_vm.centerDialogVisible=$event}}},[_c('span',[_vm._v(\"请选择合作方类型\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},_vm._l((_vm.orgTypeList),function(item,index){return _c('el-button',{key:index,attrs:{\"type\":index%2===0?'success':'primary'},on:{\"click\":function($event){return _vm.handleCreate(item.id)}}},[_vm._v(_vm._s(item.displayName))])}),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\r\nimport api from \"@/api/index\"; //ABP API接口\r\nimport { Vue, Component, Ref } from \"vue-property-decorator\";\r\nimport ImportExcel from \"@/components/ImportExcel/index.vue\";\r\n\r\nimport {\r\n CustomFormType,\r\n DataDictionaryDto, DataDictionaryDtoPagedResultDto,\r\n OrganizationUnitCreateOrUpdateDto, OrganizationUnitDto,\r\n OrganizationUnitDtoPagedResultDto\r\n} from \"@/api/appService\";\r\nimport PagedTableView from \"@/components/PagedTableView/index.vue\";\r\nimport AbSelect from \"@/components/AbSelect/index.vue\";\r\nimport moment from \"moment\";\r\n@Component({\r\n name: \"RoleList\",\r\n components: {\r\n PagedTableView,\r\n AbSelect,\r\n ImportExcel\r\n }\r\n})\r\nexport default class OrganizationList extends Vue {\r\n tableItems: OrganizationUnitDtoPagedResultDto[] = [];\r\n\r\n centerDialogVisible: boolean = false;\r\n\r\n queryForm = {\r\n displayName: \"\",\r\n contactEmailAddress: \"\",\r\n contactMobilePhone: \"\",\r\n contactName: \"\",\r\n };\r\n\r\n orgTypeList:DataDictionaryDto[] | undefined = []\r\n\r\n created() {\r\n this.fetchDataDictionary()\r\n }\r\n async fetchDataDictionary() {\r\n await api.dataDictionary.getDataDictionaryListByKey({key: 'OrganizationUnitType',maxResultCount:1000})\r\n .then((res:DataDictionaryDtoPagedResultDto)=>{\r\n this.orgTypeList = res.items\r\n })\r\n }\r\n\r\n // 获取表数据\r\n fetchData(params: any) {\r\n return api.organizationUnit.getAll(params);\r\n }\r\n\r\n formatOrganizationType(value: any, column: any, cellValue: any) {\r\n switch (cellValue) {\r\n case \"Partner\":\r\n return \"合作方\";\r\n\r\n case \"School\":\r\n return \"学校\";\r\n\r\n default:\r\n return \"未知\";\r\n }\r\n }\r\n\r\n async getCustomFormId(hostId:string|undefined,callBack:any) {\r\n await api.customFormService.getCustomFormId({\r\n hostType: CustomFormType.OrganizationUnit,\r\n hostId: hostId\r\n }).then(res=>{\r\n callBack(res)\r\n })\r\n }\r\n\r\n // 新建\r\n handleCreate(id:number) {\r\n this.getCustomFormId(id.toString(),(formId:string)=>{\r\n if(formId) {\r\n this.$router.push({\r\n name: \"organizationCreate\",\r\n query: {\r\n formId: formId,\r\n hostId: id.toString()\r\n }\r\n });\r\n } else {\r\n this.$confirm('暂无表单,是否前往创建?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n this.$router.push({\r\n name: \"partnerCustomForm\",\r\n });\r\n }).catch(() => {\r\n this.centerDialogVisible = false\r\n });\r\n }\r\n })\r\n }\r\n\r\n handleMenu(e: any) {\r\n switch (e.type) {\r\n case \"detail\": {\r\n this.jumpDetail(e.index, e.item);\r\n return;\r\n }\r\n case \"edit\": {\r\n this.handleEdit(e.index, e.item);\r\n return;\r\n }\r\n case \"delete\": {\r\n this.handleDelete(e.index, e.item);\r\n return;\r\n }\r\n case \"research\": {\r\n this.handleResearch(e.index, e.item);\r\n return;\r\n }\r\n }\r\n }\r\n\r\n // 编辑\r\n handleEdit(index: number, row:OrganizationUnitDto) {\r\n this.getCustomFormId(String(row!.organizationType),(formId:string)=>{\r\n this.$router.push({\r\n name: \"organizationEdit\",\r\n params: { id: row.id!.toString() },\r\n query: {\r\n formId: formId,\r\n }\r\n });\r\n })\r\n }\r\n\r\n // 查看详情\r\n jumpDetail(index: number, row: OrganizationUnitDto) {\r\n this.getCustomFormId(String(row!.organizationType),(formId:string)=>{\r\n this.$router.push({\r\n name: \"orgDetail\",\r\n query: {\r\n id: row.id!.toString(),\r\n formId: formId,\r\n }\r\n });\r\n })\r\n }\r\n\r\n // 删除\r\n async handleDelete(index: number, row: OrganizationUnitCreateOrUpdateDto) {\r\n this.$confirm(\"你确定删除吗?\", \"提示\").then(async () => {\r\n await api.organizationUnit.delete({ id: row.id }).then(res => {\r\n this.$message({\r\n type: \"success\",\r\n message: \"删除成功!\"\r\n });\r\n });\r\n });\r\n }\r\n\r\n // 查看尽职调查报告\r\n handleResearch(index: number, row:OrganizationUnitDto) {\r\n this.$router.push({\r\n name: 'dueDiligenceRecordList',\r\n query: {\r\n orgId: String(row.id)\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!./list.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!./list.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=bfe72814&scoped=true&\"\nimport script from \"./list.vue?vue&type=script&lang=ts&\"\nexport * from \"./list.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./list.vue?vue&type=style&index=0&id=bfe72814&scoped=true&lang=scss&\"\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 \"bfe72814\",\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:\"upload-template-btn\"},[_c('el-button',{attrs:{\"type\":\"success\"},on:{\"click\":_vm.uploadFile}},[_c('i',{staticClass:\"el-icon-upload\"}),_vm._v(_vm._s(_vm.title))]),_c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.form.show,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){return _vm.$set(_vm.form, \"show\", $event)}}},[_c('el-form',{ref:\"dataForm\",attrs:{\"rules\":_vm.form.rules,\"model\":_vm.form.data,\"label-position\":\"top\"}},[_c('el-form-item',{attrs:{\"label\":\"附件\"}},[_c('el-upload',{ref:\"upload\",staticClass:\"upload-demo\",attrs:{\"action\":(\"\" + _vm.baseURL + _vm.url),\"data\":_vm.form.data,\"headers\":_vm.uploadHeaders,\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleUploadSuccess,\"on-error\":_vm.handleUploadError,\"auto-upload\":false,\"name\":\"File\"}},[_c('el-button',{attrs:{\"slot\":\"trigger\",\"size\":\"small\",\"type\":\"primary\"},slot:\"trigger\"},[_vm._v(\"选取文件\")])],1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"default\"},on:{\"click\":function($event){_vm.form.show = false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitUpload}},[_vm._v(\"确定\")])],1)],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\nimport {Component, Prop, Vue} from \"vue-property-decorator\";\nimport {UserModule} from \"@/store/modules/user\";\nimport {getOu} from \"@/utils/cookies\";\nimport {AppModule} from \"@/store/modules/app\";\n\n@Component({name:'ImportExcel'})\nexport default class ImportExcel extends Vue{\n\n @Prop({required:false,default:'模板上传'})\n title!:string;\n\n @Prop({required:true})\n url!:string;\n\n form ={\n show:false,\n submitting: false,\n data: {\n Year: \"\",\n Month: \"\",\n Target: 0\n },\n rules: {}\n };\n\n\n get uploadHeaders(){\n return {\n \"Abp-OrganizationUnitId\": UserModule.ouId || getOu(),\n \"Abp-TenantId\": AppModule.getTenantId,\n \"Abp.ManagePlatform\":true,\n \"Authorization\" :`Bearer ${UserModule.getToken}`\n }\n }\n\n uploadFile() {\n this.form.show = true;\n }\n\n handleRemove() {}\n\n submitUpload() {\n (this.$refs.upload as any).submit();\n }\n\n handleUploadSuccess(res:any) {\n if (res.result.importResults && res.result.importResults.length > 0) {\n this.jumpDetail(res.result.importResults);\n this.form.show = false;\n }\n }\n\n handleUploadError(res:any) {\n const json = JSON.parse(res.message);\n this.$message({\n type: \"error\",\n message: `上传失败!${json.error.message}`\n });\n this.form.show = false;\n }\n jumpDetail(table:any) {\n this.$router.push({\n name: \"uploadTemplateDetail\",\n params: {\n table: table\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=f5bb15f8&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=f5bb15f8&scoped=true&lang=scss&\"\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 \"f5bb15f8\",\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","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!./list.vue?vue&type=style&index=0&id=bfe72814&scoped=true&lang=scss&\"; 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!./list.vue?vue&type=style&index=0&id=bfe72814&scoped=true&lang=scss&\""],"sourceRoot":""}