{"version":3,"sources":["webpack:///./src/components/heritageCruise/cruiseMakeup/view.vue?5551","webpack:///./src/components/heritageCruise/cruiseMakeup/view.vue?287f","webpack:///./src/components/heritageCruise/cruiseMakeup/view.vue?8851","webpack:///./src/components/heritageCruise/cruiseMakeup/view.vue","webpack:///./src/components/upload/multiFile.vue?1657","webpack:///./src/components/upload/multiFile.vue?9c00","webpack:///./src/components/upload/multiFile.vue?dbd5","webpack:///./src/components/upload/multiFile.vue","webpack:///./src/api/heritageCruise/cruiseMakeup.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","showDialog","closeDialog","model","value","callback","$$v","expandNames","expression","slot","staticClass","_v","directives","name","rawName","ref","_s","_f","form","StartDate","EndDate","HeritageUnitId","UnitCode","UnitName","modifiers","DetailList","expandKeys","scopedSlots","_u","key","fn","scope","row","SubList","length","on","$event","rowExpand","class","expandClass","HeritageCruisePointId","_e","PlanType","Comments","loading","Id","AttachType","onFileChange","ActionList","NewDate","staticRenderFns","hasFile","data","list","files","id","findIndex","v","event","column","pointId","keyIndex","push","splice","window","eventBus","$on","fetchData","$off","then","response","forEach","e","catch","error","console","log","components","ViewDialog","viewLink","multiFile","component","viewModel","showUploader","_l","index","getFileUrl","Name","delFile","uploadGuid","fileList","f","TempGuid","opt","opts","refType","refId","guid","refresh","$emit","info","targetId","getFileList","$nextTick","$confirm","confirmButtonText","cancelButtonText","type","$message","message","isMulti","exts","fileExt","referId","referType","tempGuid","default","apiUrl","GetList","GetTasks","Back","Delete","Get","View","Post","Put","emptyCruiseMakeup","DateRange","Date","Status","AttachGuid","getList","param","method","url","params","getTasks","removeData","backData","getInfo","viewInfo","postData","putData"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,KAAO,SAAS,MAAQ,SAAS,QAAUN,EAAIO,WAAW,MAAQP,E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AAO,eAAS,CACZC,OAAQ,MACRC,IAAKf,EACLgB,OAAQH,KAGHK,EAAa,SAAClF,GACvB,OAAO,eAAS,CACZ8E,OAAQ,SACRC,IAAKb,EAAOlE,MAGPmF,EAAW,SAACnF,GACrB,OAAO,eAAS,CACZ8E,OAAQ,OACRC,IAAKd,EAAKjE,MAGLoF,EAAU,SAACpF,GACpB,OAAO,eAAS,CACZ8E,OAAQ,MACRC,IAAKZ,EAAInE,MAGJqF,EAAW,SAACrF,GACrB,OAAO,eAAS,CACZ8E,OAAQ,MACRC,IAAKX,EAAKpE,MAGLsF,EAAW,SAAC3H,GACrB,OAAO,eAAS,CACZmH,OAAQ,OACRC,IAAKV,EACLxE,KAAMlC,KAGD4H,EAAU,SAACvF,EAAYrC,GAChC,OAAO,eAAS,CACZmH,OAAQ,MACRC,IAAKT,EAAItE,GACTH,KAAMlC","file":"js/chunk-08521d56.d55a16ed.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('view-dialog',{attrs:{\"size\":\"medium\",\"title\":\"线下巡查明细\",\"visible\":_vm.showDialog,\"close\":_vm.closeDialog}},[_c('el-collapse',{model:{value:(_vm.expandNames),callback:function ($$v) {_vm.expandNames=$$v},expression:\"expandNames\"}},[_c('el-collapse-item',{attrs:{\"title\":\"巡查信息\",\"name\":\"base\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 巡查信息\\n \")]),_c('el-form',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"formMakeup\",attrs:{\"label-width\":\"200px\"}},[_c('div',[_c('el-row',[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"巡查时间\",\"prop\":\"CruiseDate\"}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatDate\")(_vm.form.StartDate))+\"至\"+_vm._s(_vm._f(\"formatDate\")(_vm.form.EndDate))+\"\\n \")])],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"文保单位\",\"prop\":\"UnitName\"}},[_c('view-link',{attrs:{\"viewType\":\"HeritageUnit\",\"viewId\":_vm.form.HeritageUnitId,\"title\":\"点击查看明细\"}},[_vm._v(\"\\n [\"+_vm._s(_vm.form.UnitCode)+\"]\"+_vm._s(_vm.form.UnitName))])],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":20,\"offset\":2}},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading.body\",value:(_vm.listLoading),expression:\"listLoading\",modifiers:{\"body\":true}}],ref:\"dataTable\",attrs:{\"data\":_vm.form.DetailList,\"max-height\":\"500\",\"row-key\":\"HeritageCruisePointId\",\"expand-row-keys\":_vm.expandKeys,\"stripe\":\"\",\"highlight-current-row\":\"\",\"row-class-name\":\"hide-expand-icon\"}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\"}}),_c('el-table-column',{attrs:{\"prop\":\"PointName\",\"label\":\"巡查点\",\"width\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"PointDesc\",\"label\":\"说明\",\"width\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"\",\"width\":\"151\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.SubList&&scope.row.SubList.length>0)?_c('el-button',{staticClass:\"expand-btn\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.rowExpand(scope.row)}}},[_c('i',{class:_vm.expandClass(scope.row.HeritageCruisePointId)}),_vm._v(\"关联任务\\n \")]):_vm._e()]}}])},[_c('span')]),_c('el-table-column',{attrs:{\"type\":\"expand\",\"width\":\"1\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[_c('el-table',{ref:\"subTable\",attrs:{\"data\":scope.row.SubList,\"max-height\":\"360\",\"stripe\":\"\",\"highlight-current-row\":\"\"}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\"}}),_c('el-table-column',{attrs:{\"prop\":\"PlanName\",\"label\":\"巡查计划\",\"width\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"PlanType\",\"label\":\"类型\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"planTypeFilter\")(scope.row.PlanType)))])]}}],null,true)}),_c('el-table-column',{attrs:{\"prop\":\"ScheduleName\",\"label\":\"安排计划\",\"width\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"StartDate\",\"label\":\"开始时间\",\"width\":\"151\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"formatDateTime\")(scope.row.StartDate)))])]}}],null,true)}),_c('el-table-column',{attrs:{\"prop\":\"EndDate\",\"label\":\"结束时间\",\"width\":\"151\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"formatDateTime\")(scope.row.EndDate)))])]}}],null,true)})],1)],1)],1)]}}])})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"说明\",\"prop\":\"Comments\"}},[_c('span',{staticClass:\"view-textarea\"},[_vm._v(_vm._s(_vm.form.Comments))])])],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"附件\",\"prop\":\"AttachPath\"}},[(!_vm.loading)?_c('multi-file',{ref:\"mfAttach\",attrs:{\"viewModel\":\"true\",\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachType},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1)],1)],1)])],2),_c('el-collapse-item',{attrs:{\"title\":\"操作记录\",\"name\":\"action\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 操作记录\\n \")]),_c('div',[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-table',{ref:\"dataTable\",attrs:{\"data\":_vm.form.ActionList,\"fit\":\"\",\"highlight-current-row\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"NewDate\",\"label\":\"操作时间\",\"width\":\"151\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"formatDateTime\")(scope.row.NewDate)))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"UserName\",\"label\":\"操作人\"}}),_c('el-table-column',{attrs:{\"prop\":\"ActionTypeName\",\"label\":\"操作类型\"}}),_c('el-table-column',{attrs:{\"label\":\"备注\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.Comments)+\"\\n \")]}}])})],1)],1)],1)],1)],2)],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\r\n// import Element from 'element-ui'\r\nimport { Component, Vue, Watch } from 'vue-property-decorator'\r\nimport {\r\n viewInfo, CruiseMakeupData, CruiseMakeupDetailData, emptyCruiseMakeup\r\n} from '@/api/heritageCruise/cruiseMakeup'\r\nimport multiFile from '@/components/upload/multiFile.vue'\r\nimport { UploadOptData } from '@/api/common/upload'\r\nimport { AttachInfo } from '@/api/common/attach'\r\nimport ViewDialog from '@/components/dialog/viewDialog.vue'\r\nimport viewLink from '@/components/viewLink.vue'\r\n\r\n@Component({\r\n components: { ViewDialog, viewLink, multiFile }\r\n})\r\nexport default class CruiseMakeupView extends Vue {\r\n public expandNames: string[] = ['base', 'action']\r\n public showDialog: boolean = false\r\n public loading: boolean = false\r\n\r\n public form: CruiseMakeupData = emptyCruiseMakeup\r\n public $refs!: {}\r\n public hasFile: boolean = true\r\n public onFileChange(data: { opts: UploadOptData; files: AttachInfo[] }) {\r\n const list = data.files\r\n this.hasFile = list.length > 0\r\n }\r\n public expandKeys: number[] = []\r\n public expandClass(id: number): string {\r\n if (this.expandKeys.findIndex(v => v == id) > -1) {\r\n return 'el-icon-arrow-down'\r\n }\r\n else {\r\n return 'el-icon-arrow-right'\r\n }\r\n }\r\n public rowExpand(row: CruiseMakeupDetailData, event: any, column: any) {\r\n const f = this.form\r\n const pointId = row.HeritageCruisePointId\r\n const keyIndex = this.expandKeys.findIndex(v => v == pointId)\r\n if (keyIndex < 0) {\r\n //展开,查询子级\r\n this.expandKeys.push(pointId)\r\n } else {\r\n // 移除展开项 \r\n this.expandKeys.splice(keyIndex, 1)\r\n }\r\n }\r\n\r\n public created() { }\r\n public mounted() {\r\n window.eventBus.$on('viewCruiseMakeup', (id: number) => {\r\n this.showDialog = true\r\n this.fetchData(id)\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('viewCruiseMakeup')\r\n }\r\n public closeDialog() {\r\n this.showDialog = false\r\n }\r\n public fetchData(id: number) {\r\n this.loading = true\r\n viewInfo(id).then((response: { data: any }) => {\r\n this.form = response.data\r\n this.form.DetailList.forEach((e: CruiseMakeupDetailData) => {\r\n if (e.SubList && e.SubList.length > 0) {\r\n this.expandKeys.push(e.HeritageCruisePointId)\r\n // this.rowExpand(e, null, null)\r\n }\r\n })\r\n this.loading = false\r\n }).catch((error: any) => {\r\n console.log(error)\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!./view.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!./view.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./view.vue?vue&type=template&id=3254ef26&scoped=true&\"\nimport script from \"./view.vue?vue&type=script&lang=ts&\"\nexport * from \"./view.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 \"3254ef26\",\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:\"file-container\"},[(!_vm.viewModel)?_c('el-button',{attrs:{\"type\":\"upload\"},on:{\"click\":_vm.showUploader}},[_c('i',{staticClass:\"iconfont icon-upload3\"}),_vm._v(\"上传\")]):_vm._e(),_c('ul',{staticClass:\"el-upload-list el-upload-list--text\"},_vm._l((_vm.fileList),function(e,index){return _c('li',{key:index,staticClass:\"el-upload-list__item is-success\",attrs:{\"tabindex\":index}},[_c('a',{staticClass:\"el-upload-list__item-name\",attrs:{\"href\":_vm.getFileUrl(e),\"target\":\"_blank\",\"title\":\"点击查看明细\"}},[_vm._v(\"\\n \"+_vm._s(e.Name)+\"\\n \")]),(!_vm.viewModel)?_c('a',{staticClass:\"remove-item\",on:{\"click\":function($event){return _vm.delFile(index)}}},[_c('i',{staticClass:\"iconfont icon-close\"})]):_vm._e()])}),0)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport { UploadOptData, fileServer } from '@/api/common/upload'\r\nimport { AttachInfo, getList, remove } from '@/api/common/attach'\r\nimport { newGuid } from '@/configs/functions'\r\n\r\n@Component\r\nexport default class multiFile extends Vue {\r\n @Prop({ default: false })\r\n public viewModel!: boolean\r\n @Prop({ default: 0 })\r\n public referId!: number\r\n @Prop({ default: 0 })\r\n public referType!: number\r\n @Prop({ default: '' })\r\n public tempGuid!: string\r\n @Prop({ default: '' })\r\n public fileExt!: string\r\n\r\n //每次调用组件都生成一个guid,用来在上传完成后的回传\r\n public uploadGuid: string = ''\r\n get opts(): UploadOptData {\r\n return {\r\n isMulti: true, //是否支持多个附件,以列表展示\r\n exts: this.fileExt, //格式限制 .pdf.doc.docx.png.jpg.gif\r\n refId: this.referId,\r\n refType: this.referType, // 从后台获取,refType=(byte)EnumHelper.AttachType.对应枚举\r\n guid: this.tempGuid // newGuid() // 从后台获取,guid=Guid.NewGuid().ToString()\r\n }\r\n }\r\n public fileList: AttachInfo[] = []\r\n\r\n public getFileUrl(f: AttachInfo) {\r\n return fileServer(f.Id, f.TempGuid, f.Name)\r\n }\r\n //后端如果有直接返回附件列表,就调用这个方法,直接设置附件,这样就不要单独查询了\r\n public setData(data: AttachInfo[]) {\r\n this.fileList = []\r\n this.fileList = data\r\n }\r\n public getData() {\r\n return this.fileList\r\n }\r\n public getFileList() {\r\n var opt = this.opts\r\n if ((opt.refType > 0 && opt.refId > 0) ||\r\n (opt.refType > 0 && opt.guid != '')) {\r\n getList(opt.refId, opt.refType, opt.guid).then(\r\n (response: { data: any }) => {\r\n this.fileList = response.data\r\n this.refresh()\r\n }\r\n )\r\n }\r\n }\r\n public refresh() {\r\n this.$emit('fileChange', { opts: this.opts, files: this.fileList })\r\n }\r\n public created() {\r\n if (this.uploadGuid == '') {\r\n this.uploadGuid = newGuid()\r\n }\r\n }\r\n public mounted() {\r\n window.eventBus.$on('uploadComplete', (info: any) => {\r\n if (info.targetId == this.uploadGuid) {\r\n // this.opts = info.opt\r\n this.getFileList()\r\n }\r\n })\r\n\r\n this.$nextTick(() => {\r\n this.getFileList()\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('uploadComplete')\r\n }\r\n //打开上传组件\r\n public showUploader() {\r\n if (this.uploadGuid == '') {\r\n this.uploadGuid = newGuid()\r\n }\r\n window.eventBus.$emit('openUploader', {\r\n targetId: this.uploadGuid,\r\n opt: this.opts\r\n })\r\n }\r\n public delFile(index: number) {\r\n let f = this.fileList[index]\r\n const id = f.Id\r\n if (id > 0) {\r\n this.$confirm(`此操作将永久删除该文件, 是否继续?`, '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n remove(id).then(() => {\r\n this.$message({\r\n type: 'success',\r\n message: '删除成功!'\r\n })\r\n this.fileList.splice(index, 1)\r\n // this.$set(this.fileList, index, f)\r\n this.refresh()\r\n })\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '已取消删除'\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!./multiFile.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!./multiFile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./multiFile.vue?vue&type=template&id=698a16c0&scoped=true&\"\nimport script from \"./multiFile.vue?vue&type=script&lang=ts&\"\nexport * from \"./multiFile.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 \"698a16c0\",\n null\n \n)\n\nexport default component.exports","import { tryAxios } from '@/api/common/auth'\r\nimport { urlPrefix } from '@/configs/api'\r\n\r\nconst apiUrl = `${urlPrefix}/CruiseMakeup`\r\n//#region select数据源相关api\r\nconst GetStatusList = `${apiUrl}/GetStatusList`\r\nconst GetList = `${apiUrl}`\r\nconst GetTasks = `${apiUrl}/tasks`\r\nconst Back = (id: number) => `${apiUrl}/back/${id}`\r\nconst Delete = (id: number) => `${apiUrl}/${id}`\r\nconst Get = (id: number) => `${apiUrl}/${id}`\r\nconst View = (id: number) => `${apiUrl}/view/${id}`\r\nconst Post = `${apiUrl}`\r\nconst Put = (id: number) => `${apiUrl}/${id}`\r\n//#endregion\r\nexport const emptyCruiseMakeup: CruiseMakeupData = {\r\n DateRange: [],\r\n\r\n Id: 0,\r\n HeritageUnitId: 0,\r\n StartDate: new Date(),\r\n EndDate: new Date(),\r\n Status: 0,\r\n Comments: '',\r\n\r\n UnitCode: '',\r\n UnitName: '',\r\n\r\n AttachType: 0,\r\n AttachGuid: '',\r\n DetailList: []\r\n}\r\nexport interface CruiseMakeupData {\r\n DateRange: string[]\r\n\r\n Id: number\r\n HeritageUnitId: number\r\n StartDate: Date\r\n EndDate: Date\r\n Status: number\r\n Comments: string\r\n\r\n UnitCode: string\r\n UnitName: string\r\n AttachType: number\r\n AttachGuid: string\r\n\r\n DetailList: CruiseMakeupDetailData[]\r\n}\r\nexport interface CruiseMakeupDetailData {\r\n Id: number\r\n MakeupId: number\r\n HeritageCruisePointId: number\r\n Status: number\r\n Comments: string\r\n\r\n CruiseId: number\r\n PointName: string\r\n PointDesc: string\r\n\r\n SubList: CruiseMakeupSubDetailData[]\r\n}\r\nexport interface CruiseMakeupSubDetailData {\r\n Checked: boolean\r\n Id: number\r\n MakeupDetailId: number\r\n TaskDetailId: number\r\n TaskCruiserId: number\r\n Status: number\r\n\r\n PlanId: number\r\n PlanName: string\r\n PlanType: number\r\n ScheduleId: number\r\n ScheduleName: string\r\n\r\n StartDate: Date\r\n EndDate: Date\r\n DetailStatus: number\r\n}\r\nexport const getStatusList = (firstType: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetStatusList,\r\n params: { type: firstType }\r\n })\r\n}\r\nexport const getList = (param?: any) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetList,\r\n params: param\r\n })\r\n}\r\nexport const getTasks = (param?: any) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetTasks,\r\n params: param\r\n })\r\n}\r\nexport const removeData = (id: number) => {\r\n return tryAxios({\r\n method: 'delete',\r\n url: Delete(id)\r\n })\r\n}\r\nexport const backData = (id: number) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: Back(id)\r\n })\r\n}\r\nexport const getInfo = (id: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: Get(id)\r\n })\r\n}\r\nexport const viewInfo = (id: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: View(id)\r\n })\r\n}\r\nexport const postData = (form: any) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: Post,\r\n data: form\r\n })\r\n}\r\nexport const putData = (id: number, form: any) => {\r\n return tryAxios({\r\n method: 'put',\r\n url: Put(id),\r\n data: form\r\n })\r\n}"],"sourceRoot":""}