{"version":3,"sources":["webpack:///./src/api/eighthHeritage/eighthHeritage.ts","webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./src/components/heritageUnit/form/positionList.vue?5585","webpack:///./src/components/heritageUnit/form/positionList.vue?5ca3","webpack:///./src/components/heritageUnit/form/positionList.vue?816e","webpack:///./src/components/heritageUnit/form/positionList.vue","webpack:///./src/components/heritageUnit/form/fileList.vue?b677","webpack:///./src/components/heritageUnit/form/fileList.vue?42fc","webpack:///./src/components/heritageUnit/form/fileList.vue?af71","webpack:///./src/components/heritageUnit/form/fileList.vue","webpack:///./src/components/heritageUnit/form/part/form.vue?ef88","webpack:///./src/components/heritageUnit/form/part/form.vue?9972","webpack:///./src/components/heritageUnit/form/part/form.vue?bc87","webpack:///./src/components/heritageUnit/form/part/form.vue"],"names":["apiUrl","GetList","GetListToEntrust","Get","id","View","Post","Put","Delete","DeleteUnitFile","attachId","GetReviewStatusList","PostBack","PostAccept","ExportWord","GetEntrustToExport","ExportBatch","batchCode","emptyBack","Id","UnitId","UnitCode","UnitName","Comments","emptyEighthCompose","UnitInfoId","PublishClassifyId","ClassifyName","ComposeName","AgeName","Area","emptyEighthUnit","DynamicAttachType","DynamicAttachs","IsDraft","AreaList","ComposeList","CityId","CityName","CountyId","CountyName","AreaTypeName","LevelName","SubClassifyName","BatchName","StatisticAgeName","Category","LevelId","HeritageCode","HeritageName","HeritageShortName","SubClassifyId","SubClassifyOther","BatchId","PublishAge","StatisticAgeId","PublishAddress","DetailAddress","BuiltArea","FloorArea","AreaType","AreaCode","AreaName","Longitude","Latitude","SeaHeight","Location","PointExplain","OwnerShip","UsageName","Administration","Usage","ApplyUnitName","ApplyDate","Date","StateSummary","Description","Background","ProtectBackground","Valuation","Assessment","CompareAnalysis","FourTasks","Security","RelatedResearch","RelatedWork","ComingWork","InformantName","InformantUnit","InformantTel","InformantEmail","Status","NewUserId","NewDate","UpdateUserId","UpdateDate","LngDegree","LngSecond","LngMinute","LatDegree","LatSecond","LatMinute","getReviewStatusList","firstType","method","url","params","type","getList","param","getListToEntrust","getInfo","viewInfo","exportWord","postBack","form","data","postAccept","postData","putData","removeData","removeEighthUnitFile","getEntrustToExport","exportBatch","fails","module","exports","arg","call","$export","aFunction","toObject","$sort","sort","test","P","F","undefined","comparefn","this","render","_vm","_h","$createElement","_c","_self","staticClass","ref","attrs","dataSource","scopedSlots","_u","key","fn","props","_l","row","e","i","LangueName","_v","_s","LangContent","scope","PositionName","filterSource","filterMethod","TypeName","_f","HeritageLongitude","HeritageLatitude","SubSequence","viewModel","_e","on","$event","editData","$index","removData","slot","openMap","addData","staticRenderFns","name","modifyIndex","centerName","unitId","listId","dataList","uploadGuid","points","mapTitle","window","eventBus","$emit","value","a","b","typeA","PositionType","typeB","seqA","seqB","index","f","$set","newData","Object","assign","len","length","seq","showDataForm","item","$confirm","confirmButtonText","cancelButtonText","then","splice","catch","$message","message","HeritageUnitId","defType","defIndex","findIndex","push","info","targetId","console","log","$on","updateData","$off","fs","types","forEach","indexOf","text","sortMethod","default","components","component","addFile","AttachId","refInFor","FileCode","FileName","delFile","editFile","directives","rawName","getFileUrl","AttInfo","expression","Name","showDetail","fileList","emptyAttach","TempGuid","Ext","Path","SavePath","Size","emptyForm","FileType","FileCreateDate","FileMade","FileSpec","Specification","FileTypeName","AttachType","AttachGuid","newFile","referType","fileType","showFileForm","file","promist","category","updateFile","showDialog","close","onSubmit","rules","model","callback","$$v","expandNames","classifyChange","Key","Val","ListId","arrNaturalDamageResIds","arrHumanDamageResIds","AttachTypePic","required","trigger","validator","validate","SaveStatusId","SaveTypeId","validateNaturalDamageRes","formInfo","validateHumanDamageRes","DamageDescription","rule","NaturalDamageIds","IsDamage","Error","HumanDamageIds","hasNatural","loading","Select","defItem","levelList","propertyList","classifyList","subClassifyList","areaList","ageList","batchList","cityList","countyList","heritageStatusList","heritageSaveList","naturalDamageResList","humanDamageResList","classifyOtherId","showSubClassifyOther","naturalOtherId","humanOtherId","$refs","positionCtrl","setData","PositionList","picCtrl","Pictures","drawCtrl","Drawings","getData","open","fetchSource","fetchData","formData","resetFields","closeDialog","typeEmpty","None","response","UnitProperty","otherIndex","v","ExInfo","Flag2","HeritageAge","HeritageSaveStatus","HeritageSaveType","NaturalDamageRes","Flag1","HumanDamageRes","dataId","$nextTick","clearValidate","setCtrlsData","error","getCtrlsData","valid","obj","msg","IsError","sendData","dangerouslyUseHTMLString","Message","show","UnitPropertyIds","newVal","join","FormDialog","UnitPositionList","UnitFileList"],"mappings":"kHAAA,8lBAKMA,EAAS,GAAH,OAAM,OAAN,uBAENC,EAAU,GAAH,OAAMD,GACbE,EAAmB,GAAH,OAAMF,EAAN,gBAChBG,EAAM,SAACC,GAAD,gBAAmBJ,EAAnB,YAA6BI,IACnCC,EAAO,SAACD,GAAD,gBAAmBJ,EAAnB,iBAAkCI,IACzCE,EAAO,GAAH,OAAMN,GACVO,EAAM,SAACH,GAAD,gBAAmBJ,EAAnB,YAA6BI,IACnCI,EAAS,SAACJ,GAAD,gBAAmBJ,EAAnB,YAA6BI,IACtCK,EAAiB,SAACL,EAAYM,GAAb,gBAAqCV,EAArC,uBAA0DI,EAA1D,qBAAyEM,IAG1FC,GADgB,GAAH,OAAMX,EAAN,cACS,GAAH,OAAMA,EAAN,qBACnBY,EAAW,GAAH,OAAMZ,EAAN,SACRa,EAAa,SAACT,GAAD,gBAAmBJ,EAAnB,mBAAoCI,IAEjDU,EAAa,SAACV,GAAD,gBAAmBJ,EAAnB,uBAAwCI,EAAxC,UAEbW,EAAqB,GAAH,OAAMf,EAAN,oBAClBgB,EAAc,SAACC,GAAD,gBAA0BjB,EAA1B,wBAAgDiB,EAAhD,UAGPC,EAA4B,CACrCC,GAAI,EACJC,OAAQ,EACRC,SAAU,GACVC,SAAU,GACVC,SAAU,IAEDC,EAAwC,CACjDL,GAAI,EACJM,WAAY,EACZC,kBAAmB,EACnBC,aAAc,GAEdC,YAAa,GACbC,QAAS,GACTC,KAAM,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,gBAAkBC,EAAOC,KAAK,OAlD5C,2CAsDI,OAAO,eAAe9O,KAAKxB,KAAKmM,iBAtDpC,aAwD2BkE,GACvB7O,KAAKxB,KAAKmM,eAAiBkE,EAAOC,KAAK,OAzD3C,6CA6DI,OAAO,eAAe9O,KAAKxB,KAAKgM,mBA7DpC,aA+D6BqE,GACzB7O,KAAKxB,KAAKgM,iBAAmBqE,EAAOC,KAAK,SAhE7C,GAA0C,QAIxC,gBADC,eAAK,CAAEzI,QAAS,Q,kCAHE,EAAY,gBAHhC,eAAU,CACTC,WAAY,CAAEyI,WAAA,OAAYC,iBAAA,OAAkBC,aAAA,WAEzB,WC9Yga,I,YCOjb1I,EAAY,eACd,EACAtG,EACA0C,GACA,EACA,KACA,WACA,MAIa,aAAA4D,E","file":"js/chunk-5489c9bb.6685995d.js","sourcesContent":["import { tryAxios } from '@/api/common/auth'\r\nimport { urlPrefix } from '@/configs/api'\r\nimport { UnitAreaData } from '@/api/heritageUnit/unitBase'\r\nimport { DynamicAttachData } from '@/api/common/attach'\r\n\r\nconst apiUrl = `${urlPrefix}/EighthHeritageUnit`\r\n//#region EighthHeritage\r\nconst GetList = `${apiUrl}`\r\nconst GetListToEntrust = `${apiUrl}/entrustList`\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\nconst Delete = (id: number) => `${apiUrl}/${id}`\r\nconst DeleteUnitFile = (id: number, attachId: number) => `${apiUrl}/DelFile?id=${id}&attachId=${attachId}`\r\n\r\nconst GetStatusList = `${apiUrl}/GetStatus`\r\nconst GetReviewStatusList = `${apiUrl}/GetReviewStatus`\r\nconst PostBack = `${apiUrl}/back`\r\nconst PostAccept = (id: number) => `${apiUrl}/accept/${id}`\r\n\r\nconst ExportWord = (id: number) => `${apiUrl}/exportWord/${id}?h_np`\r\n\r\nconst GetEntrustToExport = `${apiUrl}/entrustToExport`\r\nconst ExportBatch = (batchCode: string) => `${apiUrl}/exportBatch/${batchCode}?h_np`\r\n//#endregion\r\n///文保单位列表实体,另外加增删改权限控制\r\nexport const emptyBack: EighthBackData = {\r\n Id: 0,\r\n UnitId: 0,\r\n UnitCode: '',\r\n UnitName: '',\r\n Comments: ''\r\n}\r\nexport const emptyEighthCompose: EighthComposeData = {\r\n Id: 0,\r\n UnitInfoId: 0,\r\n PublishClassifyId: 0,\r\n ClassifyName: '',\r\n\r\n ComposeName: '',\r\n AgeName: '',\r\n Area: '',\r\n Comments: ''\r\n}\r\nexport const emptyEighthUnit: EighthUnitData = {\r\n DynamicAttachType: 0,\r\n DynamicAttachs: [],\r\n IsDraft: false,\r\n AreaList: [],\r\n ComposeList: [],\r\n CityId: 0,\r\n CityName: '',\r\n CountyId: 0,\r\n CountyName: '',\r\n AreaTypeName: '',\r\n LevelName: '',\r\n ClassifyName: '',\r\n SubClassifyName: '',\r\n BatchName: '',\r\n StatisticAgeName: '',\r\n\r\n Id: 0,\r\n Category: 0,\r\n LevelId: 0,\r\n HeritageCode: '',\r\n HeritageName: '',\r\n HeritageShortName: '',\r\n PublishClassifyId: 0,\r\n SubClassifyId: 0,\r\n SubClassifyOther: '',\r\n BatchId: 0,\r\n PublishAge: '',\r\n StatisticAgeId: 0,\r\n PublishAddress: '',\r\n DetailAddress: '',\r\n BuiltArea: 0,\r\n FloorArea: 0,\r\n AreaType: 0,\r\n AreaCode: '',\r\n AreaName: '',\r\n\r\n Longitude: 0,\r\n Latitude: 0,\r\n SeaHeight: 0,\r\n Location: '',\r\n PointExplain: '',\r\n\r\n OwnerShip: '',\r\n UsageName: '',\r\n Administration: '',\r\n Usage: '',\r\n ApplyUnitName: '',\r\n ApplyDate: new Date(),\r\n\r\n StateSummary: '',\r\n Description: '',\r\n Background: '',\r\n ProtectBackground: '',\r\n Valuation: '',\r\n Assessment: '',\r\n CompareAnalysis: '',\r\n FourTasks: '',\r\n Security: '',\r\n\r\n RelatedResearch: '',\r\n RelatedWork: '',\r\n ComingWork: '',\r\n\r\n InformantName: '',\r\n InformantUnit: '',\r\n InformantTel: '',\r\n InformantEmail: '',\r\n Status: 0,\r\n\r\n NewUserId: 0,\r\n NewDate: new Date(),\r\n UpdateUserId: 0,\r\n UpdateDate: new Date(),\r\n\r\n LngDegree: 0,\r\n LngSecond: 0,\r\n LngMinute: 0,\r\n\r\n LatDegree: 0,\r\n LatSecond: 0,\r\n LatMinute: 0\r\n}\r\nexport interface EighthUnitListData {\r\n [key: string]: any\r\n UnitId: number\r\n UnitCode: string\r\n UnitName: string\r\n PublishName: string\r\n Category: number\r\n CategoryName: string\r\n LevelId: number\r\n LevelName: string\r\n BatchId: number\r\n BatchName: string\r\n ClassifyId: number\r\n ClassifyName: string\r\n SubClassifyId: number\r\n SubClassifyName: string\r\n StatisticAgeId: number\r\n StatisticAgeName: string\r\n PublishAge: string\r\n AreaType: number\r\n AreaTypeName: string\r\n CityId: number\r\n CountyId: number\r\n CityName: string\r\n CountyName: string\r\n AreaCode: string\r\n AreaName: string\r\n Status: number\r\n NewUserId: number\r\n UpdateDate: Date\r\n\r\n DoEdit: boolean\r\n DoDel: boolean\r\n DoBack: boolean\r\n DoExport: boolean\r\n DoAudit: boolean\r\n}\r\n//待委托评审列表\r\nexport interface EighthUnitEntrustListData {\r\n [key: string]: any\r\n UnitId: number\r\n UnitCode: string\r\n UnitName: string\r\n Category: number\r\n CategoryName: string\r\n LevelId: number\r\n LevelName: string\r\n BatchId: number\r\n BatchName: string\r\n ClassifyId: number\r\n ClassifyName: string\r\n SubClassifyId: number\r\n SubClassifyName: string\r\n StatisticAgeId: number\r\n StatisticAgeName: string\r\n PublishAge: string\r\n AreaType: number\r\n AreaTypeName: string\r\n CityId: number\r\n CountyId: number\r\n CityName: string\r\n CountyName: string\r\n AreaCode: string\r\n AreaName: string\r\n Status: number\r\n UpdateDate: Date\r\n\r\n ExpertAllocateId: number\r\n AllocateCount: number\r\n CompleteCount: number\r\n PendingCount: number\r\n CanAllocate: boolean\r\n\r\n DoEdit: boolean\r\n DoDel: boolean\r\n DoBack: boolean\r\n DoExport: boolean\r\n DoAudit: boolean\r\n DoAllocate: boolean//委托评审,分配专家\r\n}\r\nexport interface EighthBackData {\r\n [key: string]: any\r\n Id: number\r\n UnitId: number\r\n UnitName: string\r\n Comments: string\r\n}\r\nexport interface EighthComposeData {\r\n [key: string]: any\r\n Id: number\r\n UnitInfoId: number\r\n ComposeName: string\r\n AgeName: string\r\n Area: string\r\n Comments: string\r\n\r\n PublishClassifyId: number\r\n ClassifyName: string\r\n}\r\nexport interface EighthUnitData {\r\n [key: string]: any\r\n DynamicAttachType: number\r\n DynamicAttachs: DynamicAttachData[]\r\n IsDraft: boolean\r\n AreaList: UnitAreaData[]\r\n ComposeList: EighthComposeData[]\r\n CityId: number\r\n CityName: string\r\n CountyId: number\r\n CountyName: string\r\n AreaTypeName: string\r\n LevelName: string\r\n ClassifyName: string\r\n SubClassifyName: string\r\n BatchName: string\r\n StatisticAgeName: string\r\n\r\n Id: number\r\n Category: number\r\n LevelId: number\r\n HeritageCode: string\r\n HeritageName: string\r\n HeritageShortName: string\r\n PublishClassifyId: number\r\n SubClassifyId: number\r\n SubClassifyOther: string\r\n BatchId: number\r\n PublishAge: string\r\n StatisticAgeId: number\r\n PublishAddress: string\r\n DetailAddress: string\r\n BuiltArea: number\r\n FloorArea: number\r\n AreaType: number\r\n AreaCode: string\r\n AreaName: string\r\n\r\n Longitude: number\r\n Latitude: number\r\n SeaHeight: number\r\n Location: string\r\n PointExplain: string\r\n\r\n OwnerShip: string\r\n UsageName: string\r\n Administration: string\r\n Usage: string\r\n ApplyUnitName: string\r\n ApplyDate: Date\r\n\r\n StateSummary: string\r\n Description: string\r\n Background: string\r\n ProtectBackground: string\r\n Valuation: string\r\n Assessment: string\r\n CompareAnalysis: string\r\n FourTasks: string\r\n Security: string\r\n\r\n RelatedResearch: string\r\n RelatedWork: string\r\n ComingWork: string\r\n\r\n InformantName: string\r\n InformantUnit: string\r\n InformantTel: string\r\n InformantEmail: string\r\n Status: number\r\n\r\n NewUserId: number\r\n NewDate: Date\r\n UpdateUserId: number\r\n UpdateDate: Date\r\n\r\n LngDegree: number\r\n LngSecond: number\r\n LngMinute: number\r\n\r\n LatDegree: number\r\n LatSecond: number\r\n LatMinute: 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 getReviewStatusList = (firstType: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetReviewStatusList,\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 getListToEntrust = (param: any) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetListToEntrust,\r\n params: param\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 exportWord = (id: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: ExportWord(id),\r\n })\r\n}\r\nexport const postBack = (form: EighthBackData) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: PostBack,\r\n data: form\r\n })\r\n}\r\nexport const postAccept = (id: number) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: PostAccept(id),\r\n })\r\n}\r\nexport const postData = (form: EighthUnitData) => {\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: EighthUnitData) => {\r\n return tryAxios({\r\n method: 'put',\r\n url: Put(id),\r\n data: form\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 removeEighthUnitFile = (id: number, attachId: number) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: DeleteUnitFile(id, attachId)\r\n })\r\n}\r\nexport const getEntrustToExport = (param: any) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetEntrustToExport,\r\n params: param\r\n })\r\n}\r\nexport const exportBatch = (batchCode: string) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: ExportBatch(batchCode),\r\n })\r\n}","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-table\"},[_c('el-table',{ref:\"tbPositions\",attrs:{\"max-height\":\"500\",\"data\":_vm.dataSource}},[_c('el-table-column',{attrs:{\"type\":\"expand\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-form',{attrs:{\"label-position\":\"left\",\"inline\":\"\"}},_vm._l((props.row.LangItems),function(e,i){return _c('el-form-item',{key:i,attrs:{\"label\":e.LangueName+'名称'}},[_c('span',[_vm._v(_vm._s(e.LangContent))])])}),1)]}}])}),_c('el-table-column',{attrs:{\"label\":\"坐标名称\",\"show-overflow-tooltip\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.PositionName)+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"PositionType\",\"label\":\"类型\",\"width\":\"120\",\"filters\":_vm.filterSource,\"filter-method\":_vm.filterMethod,\"filter-placement\":\"bottom-end\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',[_vm._v(_vm._s(scope.row.TypeName))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"经度\",\"width\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatPosition\")(scope.row.HeritageLongitude))+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"纬度\",\"width\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm._f(\"formatPosition\")(scope.row.HeritageLatitude))+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"HeritageSeaHeight\",\"label\":\"海拔(米)\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"PositionDesc\",\"label\":\"测点说明\",\"width\":\"\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"LocationAddress\",\"label\":\"测点地址\",\"width\":\"\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"排序\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(scope.row.SubSequence)+\"\\n \")]}}])},[_c('span')]),_c('el-table-column',{attrs:{\"class-name\":\"action\",\"label\":\"\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(!_vm.viewModel)?_c('el-tooltip',{attrs:{\"content\":\"修改\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":function($event){return _vm.editData(scope.$index)}}},[_c('i',{staticClass:\"iconfont icon-pen-edit\"})])]):_vm._e(),(!_vm.viewModel)?_c('el-tooltip',{attrs:{\"content\":\"删除\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":function($event){return _vm.removData(scope.$index)}}},[_c('i',{staticClass:\"iconfont icon-trash\"})])]):_vm._e()]}}])},[_c('template',{slot:\"header\"},[_c('el-tooltip',{attrs:{\"content\":\"坐标预览\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":_vm.openMap}},[_c('i',{staticClass:\"iconfont icon-map-red\"})])]),(!_vm.viewModel)?_c('el-tooltip',{attrs:{\"content\":\"添加\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":_vm.addData}},[_c('i',{staticClass:\"iconfont icon-btn-add\"})])]):_vm._e()],1),_c('span')],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\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\nimport { UnitPositionData, emptyPoint } from '@/api/heritageUnit/unitBase'\r\nimport { newGuid } from '@/configs/functions'\r\n\r\n@Component({\r\n components: {}\r\n})\r\nexport default class UnitPositionList extends Vue {\r\n public name = 'UnitPositionList'\r\n public modifyIndex: number = -1\r\n @Prop({ default: false })\r\n public viewModel: boolean = false\r\n @Prop({ default: '' })\r\n public centerName: string = ''\r\n @Prop({ default: 0 })\r\n public unitId: number = 0\r\n @Prop({ default: 0 })\r\n public listId: number = 0\r\n\r\n //由父级传入\r\n public dataList: UnitPositionData[] = []\r\n\r\n public openMap() {\r\n const data: { points: UnitPositionData[], unitId: number, mapTitle: string } = {\r\n points: this.dataList,\r\n unitId: this.unitId,\r\n mapTitle: this.centerName\r\n }\r\n window.eventBus.$emit('openUnitCoordPreview', data)\r\n }\r\n get filterSource(): any {\r\n let fs: any = []\r\n let types: number[] = []\r\n this.dataList.forEach((item: UnitPositionData, i: number) => {\r\n if (types.indexOf(item.PositionType) < 0) {\r\n fs.push({ text: item.TypeName, value: item.TypeName })\r\n types.push(item.PositionType)\r\n }\r\n })\r\n return fs\r\n }\r\n public filterMethod(value: string, row: UnitPositionData): boolean {\r\n return row.TypeName === value\r\n }\r\n get dataSource(): UnitPositionData[] {\r\n var f: UnitPositionData[] = this.dataList // Object.assign({}, this.dataList)\r\n return f.sort(this.sortMethod)\r\n }\r\n public sortMethod(a: UnitPositionData, b: UnitPositionData) {\r\n let typeA = a.PositionType\r\n let typeB = b.PositionType\r\n if (typeA == typeB) {\r\n let seqA = a.SubSequence\r\n let seqB = b.SubSequence\r\n return seqA > seqB ? 1 : seqA < seqB ? -1 : 0\r\n } else {\r\n return typeA > typeB ? 1 : -1\r\n }\r\n }\r\n public sortChanged(index: number) {\r\n let f = this.dataList[index]\r\n this.$set(this.dataList, index, f)\r\n }\r\n\r\n // dynamic component\r\n public $refs!: {\r\n // lngLatCtrl: UnitLngLat\r\n }\r\n public setData(data: UnitPositionData[]) {\r\n this.dataList = data\r\n }\r\n public getData() {\r\n return this.dataList\r\n }\r\n public addData() {\r\n this.modifyIndex = -1\r\n var newData = Object.assign({}, emptyPoint)\r\n const len = this.dataList.length\r\n let seq = 0\r\n if (len > 0) {\r\n seq = this.dataList[len - 1].SubSequence\r\n }\r\n newData.SubSequence = seq + 1\r\n this.showDataForm(newData)\r\n }\r\n public editData(index: number) {\r\n this.modifyIndex = index\r\n var item = this.dataList[index]\r\n var data = Object.assign({}, item)\r\n this.showDataForm(data)\r\n }\r\n public removData(index: number) {\r\n this.$confirm(`确定要删除吗?`, '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n this.dataList.splice(index, 1)\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '操作已取消'\r\n })\r\n })\r\n }\r\n public updateData(data: UnitPositionData) {\r\n data.UnitId = this.unitId\r\n data.HeritageUnitId = this.listId\r\n if (this.modifyIndex >= 0) {\r\n this.$set(this.dataList, this.modifyIndex, data)\r\n } else {\r\n const defType = 1\r\n const defIndex = this.dataList.findIndex(\r\n (e: UnitPositionData) => e.PositionType == defType\r\n )\r\n if (data.PositionType == defType && defIndex > -1) {\r\n this.$confirm('单位坐标点只能设置一个,要覆盖原来的坐标吗?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n this.$set(this.dataList, defIndex, data)\r\n this.$message({\r\n type: 'success',\r\n message: '已覆盖!'\r\n })\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '取消覆盖'\r\n })\r\n })\r\n } else {\r\n this.dataList.push(data)\r\n }\r\n }\r\n this.modifyIndex = -1\r\n }\r\n //每次调用组件都生成一个guid,用来在上传完成后的回传\r\n public uploadGuid: string = ''\r\n public showDataForm(info: UnitPositionData) {\r\n if (this.uploadGuid == '') {\r\n this.uploadGuid = newGuid()\r\n }\r\n window.eventBus.$emit('openLngLatForm', {\r\n targetId: this.uploadGuid,\r\n data: info\r\n })\r\n }\r\n public closeDataForm() {\r\n console.log('closeLngLatForm')\r\n }\r\n public mounted() {\r\n window.eventBus.$on('submitLngLatForm', (info: any) => {\r\n if (info.targetId == this.uploadGuid) {\r\n this.updateData(info.data)\r\n }\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('submitLngLatForm')\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!./positionList.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!./positionList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./positionList.vue?vue&type=template&id=7214bdd8&scoped=true&\"\nimport script from \"./positionList.vue?vue&type=script&lang=ts&\"\nexport * from \"./positionList.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 \"7214bdd8\",\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:\"gallery-container\"},[_c('div',{staticClass:\"img-box btn-add\",on:{\"click\":_vm.addFile}},[_c('el-tooltip',{attrs:{\"placement\":\"top\"}},[_c('div',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_vm._v(\"新增\")]),_c('i',{staticClass:\"el-icon-plus\"})])],1),_vm._l((_vm.fileList),function(f,index){return _c('div',{key:f.AttachId,ref:\"imgs\",refInFor:true,staticClass:\"img-box\"},[_c('div',{staticClass:\"img-title\"},[_c('div',[_c('span',[_vm._v(\"[\"+_vm._s(f.FileCode)+\"]\")]),_vm._v(_vm._s(f.FileName))])]),_c('el-tooltip',{attrs:{\"placement\":\"right\",\"content\":\"删除\"}},[_c('a',{staticClass:\"img-btn btn-del\",on:{\"click\":function($event){return _vm.delFile(index)}}},[_c('i',{staticClass:\"el-icon-delete\"})])]),_c('el-tooltip',{attrs:{\"placement\":\"left\",\"content\":\"修改\"}},[_c('a',{staticClass:\"img-btn btn-edit\",on:{\"click\":function($event){return _vm.editFile(index)}}},[_c('i',{staticClass:\"el-icon-edit\"})])]),(f.AttachId>0)?_c('el-tooltip',{attrs:{\"placement\":\"top\",\"content\":\"查看明细\"}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.getFileUrl(f.AttInfo)),expression:\"getFileUrl(f.AttInfo)\"}],key:f.AttachId,attrs:{\"alt\":f.AttInfo.Name},on:{\"click\":function($event){return _vm.showDetail(index)}}})]):_vm._e()],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\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\nimport { UnitFileData, removeUnitFile } from '@/api/heritageUnit/unitBase'\r\nimport { removeEighthUnitFile } from '@/api/eighthHeritage/eighthHeritage'\r\nimport { thumbnailServer } from '@/api/common/upload'\r\nimport { newGuid } from '@/configs/functions'\r\nimport { AttachInfo } from '@/api/common/attach'\r\n\r\n@Component\r\nexport default class UnitFileList extends Vue {\r\n public name = 'UnitFileList'\r\n\r\n @Prop({ default: 0 })\r\n public category!: number //0.HeritageUnitFileList 1.EighthUnitFileList\r\n @Prop({ default: 0 })\r\n public unitId!: number\r\n @Prop({ default: 1 }) //1照片 2图纸 3四有中的照片 4四有中的图纸\r\n public fileType!: number\r\n @Prop({ default: 1 })\r\n public referType!: number\r\n\r\n public modifyIndex: number = -1\r\n //由父级传入\r\n public fileList: UnitFileData[] = []\r\n\r\n public emptyAttach: AttachInfo = {\r\n Id: 0,\r\n TempGuid: '',\r\n Name: '',\r\n Ext: '',\r\n Path: '',\r\n SavePath: '',\r\n Size: 0,\r\n Comments: ''\r\n }\r\n public emptyForm: UnitFileData = {\r\n Id: 0,\r\n UnitId: 0,\r\n FileType: 0, //0:图片 1:图纸\r\n FileCode: '', // 代码\r\n FileName: '', // 名称\r\n AttachId: 0,\r\n FileCreateDate: new Date(), // 制作日期\r\n FileMade: '', // 制作人\r\n FileSpec: '',\r\n Specification: '',\r\n NewUserId: 0,\r\n NewDate: new Date(),\r\n\r\n FileTypeName: '',\r\n AttachType: 0,\r\n AttachGuid: '',\r\n AttInfo: this.emptyAttach\r\n }\r\n public setData(data: UnitFileData[]) {\r\n this.fileList = data\r\n }\r\n public getData() {\r\n return this.fileList\r\n }\r\n\r\n public showDetail(index: number) {\r\n var f = this.fileList[index]\r\n window.eventBus.$emit('openUnitFileDetail', f)\r\n }\r\n\r\n public getFileUrl(f: AttachInfo) {\r\n return thumbnailServer(f.Id, f.TempGuid, f.Name)\r\n }\r\n // dynamic component\r\n public $refs!: {\r\n // unitFileCtrl: UnitFileForm\r\n }\r\n public addFile() {\r\n this.modifyIndex = -1\r\n // this.$refs.unitFileCtrl.newData(this.fileType, this.referType)\r\n var newFile = Object.assign({}, this.emptyForm)\r\n newFile.AttachType = this.referType\r\n newFile.FileType = this.fileType\r\n newFile.UnitId = this.unitId\r\n this.showFileForm(newFile)\r\n }\r\n public editFile(index: number) {\r\n this.modifyIndex = index\r\n var item = this.fileList[index]\r\n // this.$refs.unitFileCtrl.modifyData(file)\r\n var file = Object.assign({}, item)\r\n this.showFileForm(file)\r\n }\r\n public updateFile(data: UnitFileData) {\r\n if (this.modifyIndex >= 0) {\r\n // this.fileList[this.modifyIndex] = data\r\n this.$set(this.fileList, this.modifyIndex, data)\r\n } else {\r\n this.fileList.push(data)\r\n }\r\n this.modifyIndex = -1\r\n }\r\n public closeFileForm() {\r\n console.log('closeFileForm')\r\n }\r\n public delFile(index: number) {\r\n this.$confirm(`确定要删除该项吗?`, '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n var file = this.fileList[index]\r\n if (file.Id > 0 || file.AttachId > 0) {\r\n const promist =\r\n this.category == 0\r\n ? removeUnitFile(file.Id, file.AttachId)\r\n : removeEighthUnitFile(file.Id, file.AttachId)\r\n promist.then(() => {\r\n this.$message({\r\n type: 'success',\r\n message: '删除成功!'\r\n })\r\n this.fileList.splice(index, 1)\r\n })\r\n } else {\r\n this.$message({\r\n type: 'success',\r\n message: '删除成功!'\r\n })\r\n this.fileList.splice(index, 1)\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 //每次调用组件都生成一个guid,用来在上传完成后的回传\r\n public uploadGuid: string = ''\r\n public showFileForm(file: UnitFileData) {\r\n if (this.uploadGuid == '') {\r\n this.uploadGuid = newGuid()\r\n }\r\n //第八批\r\n if (this.category == 1) {\r\n this.uploadGuid += '_EighthUnit'\r\n }\r\n window.eventBus.$emit('openUnitFileForm', {\r\n targetId: this.uploadGuid,\r\n data: file\r\n })\r\n }\r\n public mounted() {\r\n window.eventBus.$on('submitUnitFileForm', (info: any) => {\r\n if (info.targetId == this.uploadGuid) {\r\n this.updateFile(info.data)\r\n }\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('submitUnitFileForm')\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!./fileList.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!./fileList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./fileList.vue?vue&type=template&id=3404e7fe&scoped=true&\"\nimport script from \"./fileList.vue?vue&type=script&lang=ts&\"\nexport * from \"./fileList.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 \"3404e7fe\",\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('form-dialog',{attrs:{\"size\":\"max\",\"title\":\"组成部分\",\"visible\":_vm.showDialog,\"close\":_vm.close,\"submit\":_vm.onSubmit}},[_c('el-form',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"formData\",attrs:{\"model\":_vm.form,\"label-width\":\"200px\",\"status-icon\":\"\",\"rules\":_vm.rules}},[_c('el-collapse',{model:{value:(_vm.expandNames),callback:function ($$v) {_vm.expandNames=$$v},expression:\"expandNames\"}},[_c('el-collapse-item',{attrs:{\"name\":\"basic\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 基本信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"文物点名称\",\"prop\":\"HeritageName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入文物点名称\"},model:{value:(_vm.form.HeritageName),callback:function ($$v) {_vm.$set(_vm.form, \"HeritageName\", $$v)},expression:\"form.HeritageName\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"文物组成类型\",\"prop\":\"PublishClassifyId\"}},[_c('el-select',{on:{\"change\":function($event){return _vm.classifyChange(1)}},model:{value:(_vm.form.PublishClassifyId),callback:function ($$v) {_vm.$set(_vm.form, \"PublishClassifyId\", $$v)},expression:\"form.PublishClassifyId\"}},_vm._l((_vm.classifyList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"文物点时代\",\"prop\":\"StatisticAgeId\"}},[_c('el-select',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.StatisticAgeId),callback:function ($$v) {_vm.$set(_vm.form, \"StatisticAgeId\", $$v)},expression:\"form.StatisticAgeId\"}},_vm._l((_vm.ageList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"具体年代\",\"prop\":\"PublishAge\"}},[_c('el-input',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.PublishAge),callback:function ($$v) {_vm.$set(_vm.form, \"PublishAge\", $$v)},expression:\"form.PublishAge\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"占地面积\",\"prop\":\"FloorArea\"}},[_c('el-input',{model:{value:(_vm.form.FloorArea),callback:function ($$v) {_vm.$set(_vm.form, \"FloorArea\", $$v)},expression:\"form.FloorArea\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"建筑面积\",\"prop\":\"BuiltArea\"}},[_c('el-input',{model:{value:(_vm.form.BuiltArea),callback:function ($$v) {_vm.$set(_vm.form, \"BuiltArea\", $$v)},expression:\"form.BuiltArea\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"公布地址\",\"prop\":\"PublishAddress\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入公布地址\"},model:{value:(_vm.form.PublishAddress),callback:function ($$v) {_vm.$set(_vm.form, \"PublishAddress\", $$v)},expression:\"form.PublishAddress\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"现地址\",\"prop\":\"DetailAddress\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入现地址\"},model:{value:(_vm.form.DetailAddress),callback:function ($$v) {_vm.$set(_vm.form, \"DetailAddress\", $$v)},expression:\"form.DetailAddress\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"简介\",\"prop\":\"StateSummary\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入简介\"},model:{value:(_vm.form.StateSummary),callback:function ($$v) {_vm.$set(_vm.form, \"StateSummary\", $$v)},expression:\"form.StateSummary\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"自然环境描述\",\"prop\":\"NaturalEnvironment\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入自然环境描述\"},model:{value:(_vm.form.NaturalEnvironment),callback:function ($$v) {_vm.$set(_vm.form, \"NaturalEnvironment\", $$v)},expression:\"form.NaturalEnvironment\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"人文环境描述\",\"prop\":\"SocialEnvironment\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入人文环境描述\"},model:{value:(_vm.form.SocialEnvironment),callback:function ($$v) {_vm.$set(_vm.form, \"SocialEnvironment\", $$v)},expression:\"form.SocialEnvironment\"}})],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"position\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 坐标信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[_c('unit-position-list',{ref:\"positionCtrl\",attrs:{\"unitId\":_vm.form.Id,\"listId\":_vm.form.ListId,\"centerName\":_vm.form.HeritageName}})],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"title\":\"状况信息\",\"name\":\"status\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 状况信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"保存状况\",\"prop\":\"SaveStatusId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择保存状况\"},model:{value:(_vm.form.SaveStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"SaveStatusId\", $$v)},expression:\"form.SaveStatusId\"}},_vm._l((_vm.heritageStatusList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"保存方式\",\"prop\":\"SaveTypeId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择保存方式\"},model:{value:(_vm.form.SaveTypeId),callback:function ($$v) {_vm.$set(_vm.form, \"SaveTypeId\", $$v)},expression:\"form.SaveTypeId\"}},_vm._l((_vm.heritageSaveList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"保存状况描述\",\"prop\":\"SaveDescription\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入保存状况描述\"},model:{value:(_vm.form.SaveDescription),callback:function ($$v) {_vm.$set(_vm.form, \"SaveDescription\", $$v)},expression:\"form.SaveDescription\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"有无损毁\",\"prop\":\"IsDamage\"}},[_c('el-radio',{attrs:{\"label\":true},model:{value:(_vm.form.IsDamage),callback:function ($$v) {_vm.$set(_vm.form, \"IsDamage\", $$v)},expression:\"form.IsDamage\"}},[_vm._v(\"有\")]),_c('el-radio',{attrs:{\"label\":false},model:{value:(_vm.form.IsDamage),callback:function ($$v) {_vm.$set(_vm.form, \"IsDamage\", $$v)},expression:\"form.IsDamage\"}},[_vm._v(\"无\")])],1)],1)],1),(_vm.form.IsDamage)?_c('div',[_c('el-row',[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"自然损毁因素\",\"prop\":\"arrNaturalDamageResIds\"}},[_c('el-checkbox-group',{model:{value:(_vm.arrNaturalDamageResIds),callback:function ($$v) {_vm.arrNaturalDamageResIds=$$v},expression:\"arrNaturalDamageResIds\"}},_vm._l((_vm.naturalDamageResList),function(e){return _c('el-checkbox',{key:e.Key,attrs:{\"label\":e.Key}},[_vm._v(_vm._s(e.Val))])}),1)],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"人为损毁因素\",\"prop\":\"arrHumanDamageResIds\"}},[_c('el-checkbox-group',{model:{value:(_vm.arrHumanDamageResIds),callback:function ($$v) {_vm.arrHumanDamageResIds=$$v},expression:\"arrHumanDamageResIds\"}},_vm._l((_vm.humanDamageResList),function(e){return _c('el-checkbox',{key:e.Key,attrs:{\"label\":e.Key}},[_vm._v(_vm._s(e.Val))])}),1)],1)],1)],1),(_vm.showDamageDesc)?_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"损毁原因\",\"prop\":\"DamageDescription\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入原因\"},model:{value:(_vm.form.DamageDescription),callback:function ($$v) {_vm.$set(_vm.form, \"DamageDescription\", $$v)},expression:\"form.DamageDescription\"}})],1)],1)],1):_vm._e()],1):_vm._e(),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"有无壁画彩塑\",\"prop\":\"IsPaintedSculpture\"}},[_c('el-radio',{attrs:{\"label\":true},model:{value:(_vm.form.IsPaintedSculpture),callback:function ($$v) {_vm.$set(_vm.form, \"IsPaintedSculpture\", $$v)},expression:\"form.IsPaintedSculpture\"}},[_vm._v(\"有\")]),_c('el-radio',{attrs:{\"label\":false},model:{value:(_vm.form.IsPaintedSculpture),callback:function ($$v) {_vm.$set(_vm.form, \"IsPaintedSculpture\", $$v)},expression:\"form.IsPaintedSculpture\"}},[_vm._v(\"无\")])],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"title\":\"图纸\",\"name\":\"draws\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 图纸信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[(_vm.form.AttachTypePic>0)?_c('unit-file-list',{ref:\"drawCtrl\",attrs:{\"unitId\":_vm.form.Id,\"referType\":_vm.form.AttachTypePic,\"fileType\":\"1\"}}):_vm._e()],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"title\":\"照片\",\"name\":\"pics\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 照片信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[(_vm.form.AttachTypePic>0)?_c('unit-file-list',{ref:\"picCtrl\",attrs:{\"unitId\":_vm.form.Id,\"referType\":_vm.form.AttachTypePic,\"fileType\":\"2\"}}):_vm._e()],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"title\":\"填报信息\",\"name\":\"info\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 填报信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"填报人姓名\",\"prop\":\"InformantName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入填报人姓名\"},model:{value:(_vm.form.InformantName),callback:function ($$v) {_vm.$set(_vm.form, \"InformantName\", $$v)},expression:\"form.InformantName\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"填报人单位\",\"prop\":\"InformantUnit\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入填报人单位\"},model:{value:(_vm.form.InformantUnit),callback:function ($$v) {_vm.$set(_vm.form, \"InformantUnit\", $$v)},expression:\"form.InformantUnit\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"填报人联系电话\",\"prop\":\"InformantTel\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入填报人联系电话\"},model:{value:(_vm.form.InformantTel),callback:function ($$v) {_vm.$set(_vm.form, \"InformantTel\", $$v)},expression:\"form.InformantTel\"}})],1)],1),_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"填报人电子邮箱\",\"prop\":\"InformantEmail\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入填报人电子邮箱\"},model:{value:(_vm.form.InformantEmail),callback:function ($$v) {_vm.$set(_vm.form, \"InformantEmail\", $$v)},expression:\"form.InformantEmail\"}})],1)],1)],1)],1)],2)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 Element from 'element-ui'\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport {\r\n UnitBaseData, emptyData, UnitAreaData, UnitPositionData,\r\n getUnitInfo, postPart\r\n} from '@/api/heritageUnit/unitBase'\r\nimport {\r\n validateIntKey, showVaildMsg, validatePhone, validateCompare\r\n} from '@/configs/validate'\r\nimport {\r\n DDLItem, DefDDLItem, getLookupByType, getCitysByUser,\r\n getHeritageLevel, getHeritageClassify, getHeritageSubClassify,\r\n getHeritageBatch, getAreaType\r\n} from '@/api/common/select'\r\nimport { enLookupType, enFirstType } from '@/configs/enums'\r\nimport {\r\n getDDLItem, getDDLName, getSubDDL, splitToIntList\r\n} from '@/configs/functions'\r\n// import UnitLngLat from '@/components/heritageUnit/form/lnglat.vue'\r\nimport UnitPositionList from '@/components/heritageUnit/form/positionList.vue'\r\nimport UnitFileList from '@/components/heritageUnit/form/fileList.vue'\r\nimport FormDialog from '@/components/dialog/formDialog.vue'\r\n\r\nconst getFormRules = (id: number, form: { [key: string]: string }) => {\r\n return {\r\n // LevelId: [{ required: true, validator: validateIntKey('请选择单位级别'), trigger: 'change' }],\r\n // HeritageCode: [{ required: true, message: '请输入单位编号', trigger: 'blur' }],\r\n HeritageName: [\r\n { required: true, message: '请输入文物点名称', trigger: 'blur' }\r\n ],\r\n // AreaType: [{ validator: validateIntKey('请选择区域类型'), trigger: 'change' }],\r\n PublishClassifyId: [\r\n {\r\n required: true,\r\n validator: validateIntKey('请选择文物组成类型'),\r\n trigger: 'change'\r\n }\r\n ],\r\n // SubClassifyOther: [{ required: true, message: '请输入其他分类', trigger: 'blur' }],\r\n // SubClassifyId: [{ required: true, validator: validateIntKey('请选择单位子分类'), trigger: 'change' }],\r\n\r\n StatisticAgeId: [\r\n {\r\n required: true,\r\n validator: validateIntKey('请选择文物点时代'),\r\n trigger: 'change'\r\n }\r\n ],\r\n BatchId: [\r\n {\r\n required: true,\r\n validator: validateIntKey('请选择批次'),\r\n trigger: 'change'\r\n }\r\n ],\r\n PublishAddress: [\r\n { required: true, message: '请输入公布地址', trigger: 'blur' }\r\n ],\r\n DetailAddress: [\r\n { required: true, message: '请输入现地址', trigger: 'blur' }\r\n ],\r\n StateSummary: [{ required: true, message: '请输入简介', trigger: 'blur' }],\r\n\r\n SaveStatusId: [\r\n {\r\n required: true,\r\n validator: validateIntKey('请选择保存状况'),\r\n trigger: 'change'\r\n }\r\n ],\r\n SaveTypeId: [\r\n {\r\n required: true,\r\n validator: validateIntKey('请选择保存方式'),\r\n trigger: 'change'\r\n }\r\n ],\r\n\r\n arrNaturalDamageResIds: [\r\n { validator: validateNaturalDamageRes, formInfo: form, trigger: 'blur' }\r\n ],\r\n arrHumanDamageResIds: [\r\n { validator: validateHumanDamageRes, formInfo: form, trigger: 'blur' }\r\n ],\r\n // DamageDescription: [{ validator: validateDamageDescription, formInfo: form, trigger: 'blur' }],\r\n DamageDescription: [\r\n { required: true, message: '请输入损毁原因', trigger: 'blur' }\r\n ],\r\n\r\n InformantName: [\r\n { required: true, message: '请输入填报人姓名', trigger: 'blur' }\r\n ],\r\n InformantUnit: [\r\n { required: true, message: '请输入填报人单位', trigger: 'blur' }\r\n ],\r\n InformantTel: [\r\n { required: true, message: '请输入填报人联系电话', trigger: 'blur' }\r\n ],\r\n InformantEmail: [\r\n { required: true, message: '请输入填报人电子邮箱', trigger: 'blur' },\r\n { type: 'email', message: '电子邮箱格式不正确', trigger: 'blur' }\r\n ]\r\n }\r\n}\r\nconst validateNaturalDamageRes = (\r\n rule: any,\r\n value: any,\r\n callback: (error?: Error) => void\r\n) => {\r\n value = rule.formInfo.NaturalDamageIds\r\n if (\r\n rule.formInfo.IsDamage &&\r\n (value === undefined ||\r\n value === null ||\r\n value === [] ||\r\n value.length === 0)\r\n ) {\r\n callback(new Error('请选择自然损毁因素'))\r\n } else {\r\n callback()\r\n }\r\n}\r\nconst validateHumanDamageRes = (\r\n rule: any,\r\n value: any,\r\n callback: (error?: Error) => void\r\n) => {\r\n value = rule.formInfo.HumanDamageIds\r\n var hasNatural = rule.formInfo.NaturalDamageIds.length > 0\r\n if (\r\n rule.formInfo.IsDamage && !hasNatural &&\r\n (value === undefined ||\r\n value === null ||\r\n value === [] ||\r\n value.length === 0)\r\n ) {\r\n callback(new Error('请选择人为损毁因素'))\r\n } else {\r\n callback()\r\n }\r\n}\r\nconst validateDamageDescription = (\r\n rule: any,\r\n value: string,\r\n callback: (error?: Error) => void\r\n) => {\r\n if (\r\n rule.formInfo.IsDamage &&\r\n (value === undefined || value === null || value === '')\r\n ) {\r\n callback(new Error('请输入损毁原因'))\r\n } else {\r\n callback()\r\n }\r\n}\r\n@Component({\r\n components: { FormDialog, UnitPositionList, UnitFileList }\r\n})\r\nexport default class UnitPartForm extends Vue {\r\n public name = 'UnitPartForm'\r\n // 关闭窗口,在 dialog 的 :before-close属性中触发,然后调用父级中的方法\r\n @Prop({ default: null })\r\n public closeDialog!: () => void\r\n public showDialog: boolean = false\r\n public expandNames: string[] = [\r\n 'basic',\r\n 'position',\r\n 'status',\r\n 'pics',\r\n 'draws',\r\n 'info'\r\n ]\r\n public loading = false\r\n public firstType: number = enFirstType.Select\r\n public defItem: DDLItem = DefDDLItem(this.firstType)\r\n\r\n public form = Object.assign({}, emptyData)\r\n public levelList: DDLItem[] = []\r\n public propertyList: DDLItem[] = []\r\n public classifyList: DDLItem[] = []\r\n public subClassifyList: DDLItem[] = [this.defItem]\r\n public areaList: DDLItem[] = []\r\n public ageList: DDLItem[] = []\r\n public batchList: DDLItem[] = []\r\n public cityList: DDLItem[] = []\r\n public countyList: DDLItem[] = [this.defItem]\r\n public heritageStatusList: DDLItem[] = []\r\n public heritageSaveList: DDLItem[] = []\r\n public naturalDamageResList: DDLItem[] = []\r\n public humanDamageResList: DDLItem[] = []\r\n\r\n // 文物组成类型中的其他\r\n public classifyOtherId: number = 0\r\n public showSubClassifyOther: boolean = false\r\n public naturalOtherId: number = 0\r\n public humanOtherId: number = 0\r\n get showDamageDesc(): boolean {\r\n const show =\r\n this.arrNaturalDamageResIds.indexOf(this.naturalOtherId) > -1 ||\r\n this.arrHumanDamageResIds.indexOf(this.humanOtherId) > -1\r\n return show\r\n }\r\n // #region vue中的计算属性\r\n // 单位属性\r\n get arrPropertyIds(): number[] {\r\n return splitToIntList(this.form.UnitPropertyIds)\r\n }\r\n set arrPropertyIds(newVal: number[]) {\r\n this.form.UnitPropertyIds = newVal.join(',')\r\n }\r\n // 人为损毁因素合集\r\n get arrHumanDamageResIds(): number[] {\r\n return splitToIntList(this.form.HumanDamageIds)\r\n }\r\n set arrHumanDamageResIds(newVal: number[]) {\r\n this.form.HumanDamageIds = newVal.join(',')\r\n }\r\n // 自然损毁因素合集\r\n get arrNaturalDamageResIds(): number[] {\r\n return splitToIntList(this.form.NaturalDamageIds)\r\n }\r\n set arrNaturalDamageResIds(newVal: number[]) {\r\n this.form.NaturalDamageIds = newVal.join(',')\r\n }\r\n // #endregion\r\n public rules: any = getFormRules(0, this.form)\r\n // dynamic component\r\n public $refs!: {\r\n formData: Element.Form\r\n picCtrl: UnitFileList\r\n drawCtrl: UnitFileList\r\n positionCtrl: UnitPositionList\r\n }\r\n public setCtrlsData() {\r\n if (this.$refs.positionCtrl) {\r\n this.$refs.positionCtrl.setData(this.form.PositionList)\r\n }\r\n if (this.$refs.picCtrl) {\r\n this.$refs.picCtrl.setData(this.form.Pictures)\r\n }\r\n if (this.$refs.drawCtrl) {\r\n this.$refs.drawCtrl.setData(this.form.Drawings)\r\n }\r\n }\r\n public getCtrlsData() {\r\n this.form.PositionList = this.$refs.positionCtrl.getData()\r\n this.form.Pictures = this.$refs.picCtrl.getData()\r\n this.form.Drawings = this.$refs.drawCtrl.getData()\r\n }\r\n public created() { }\r\n public mounted() {\r\n window.eventBus.$on(\r\n 'openUnitPartForm',\r\n (info: { listId: number; dataId: number }) => {\r\n this.open()\r\n this.fetchSource()\r\n this.fetchData(info)\r\n }\r\n )\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('openUnitPartForm')\r\n }\r\n public open() {\r\n this.expandNames = ['basic']\r\n this.showDialog = true\r\n }\r\n public close() {\r\n this.showDialog = false\r\n this.$refs.formData.resetFields()\r\n if (this.closeDialog) {\r\n this.closeDialog()\r\n }\r\n }\r\n public fetchSource() {\r\n var typeEmpty = enFirstType.None\r\n getHeritageLevel(this.firstType).then((response: { data: any }) => {\r\n this.levelList = response.data\r\n })\r\n getLookupByType(enLookupType.UnitProperty, typeEmpty).then(\r\n (response: { data: any }) => {\r\n this.propertyList = response.data\r\n }\r\n )\r\n getHeritageClassify(this.firstType).then((response: { data: any }) => {\r\n this.classifyList = response.data\r\n const otherIndex = response.data.findIndex(\r\n (v: DDLItem) => v.ExInfo.Flag2 == true\r\n )\r\n if (otherIndex >= 0) {\r\n this.classifyOtherId = response.data[otherIndex].Key\r\n }\r\n })\r\n getLookupByType(enLookupType.HeritageAge, this.firstType).then(\r\n (response: { data: any }) => {\r\n this.ageList = response.data\r\n }\r\n )\r\n getHeritageBatch(this.firstType).then((response: { data: any }) => {\r\n this.batchList = response.data\r\n })\r\n getCitysByUser(this.firstType).then((response: { data: any }) => {\r\n this.cityList = response.data\r\n })\r\n getLookupByType(enLookupType.HeritageSaveStatus, this.firstType).then(\r\n (response: { data: any }) => {\r\n this.heritageStatusList = response.data\r\n }\r\n )\r\n getLookupByType(enLookupType.HeritageSaveType, this.firstType).then(\r\n (response: { data: any }) => {\r\n this.heritageSaveList = response.data\r\n }\r\n )\r\n getLookupByType(enLookupType.NaturalDamageRes, typeEmpty).then(\r\n (response: { data: any }) => {\r\n this.naturalDamageResList = response.data\r\n const otherIndex = response.data.findIndex(\r\n (v: DDLItem) => v.ExInfo.Flag1 == true\r\n )\r\n if (otherIndex >= 0) {\r\n this.naturalOtherId = response.data[otherIndex].Key\r\n }\r\n }\r\n )\r\n getLookupByType(enLookupType.HumanDamageRes, typeEmpty).then(\r\n (response: { data: any }) => {\r\n this.humanDamageResList = response.data\r\n const otherIndex = response.data.findIndex(\r\n (v: DDLItem) => v.ExInfo.Flag1 == true\r\n )\r\n if (otherIndex >= 0) {\r\n this.humanOtherId = response.data[otherIndex].Key\r\n }\r\n }\r\n )\r\n getAreaType(typeEmpty).then((response: { data: any }) => {\r\n this.areaList = response.data\r\n })\r\n }\r\n public fetchData(info: { listId: number; dataId: number }) {\r\n const id = info.dataId\r\n getUnitInfo(id)\r\n .then((response: { data: any }) => {\r\n this.form = response.data\r\n this.rules = getFormRules(this.form.Id, this.form)\r\n if (this.form.Id == 0) {\r\n // this.form = Object.assign({}, emptyData)\r\n this.form.ListId = info.listId\r\n this.$nextTick(() => {\r\n if (this.$refs.formData) {\r\n this.$refs.formData.clearValidate()\r\n }\r\n })\r\n }\r\n this.$nextTick(() => {\r\n this.setCtrlsData()\r\n })\r\n this.loading = false\r\n })\r\n .catch((error: any) => {\r\n console.log(error)\r\n })\r\n }\r\n public sendData(data: UnitBaseData) {\r\n window.eventBus.$emit('submitUnitPartForm', {\r\n data: data\r\n })\r\n }\r\n public onSubmit() {\r\n this.getCtrlsData()\r\n this.$refs.formData.validate((valid: boolean, obj: any) => {\r\n if (valid) {\r\n const f = Object.assign({}, this.form)\r\n postPart(f).then(\r\n (response: { data: any }) => {\r\n const data = response.data\r\n const msg = this.form.Id > 0 ? '保存' : '创建'\r\n if (data && !data.IsError) {\r\n this.$message({\r\n message: `${msg}成功`,\r\n type: 'success'\r\n })\r\n this.sendData(f)\r\n this.close()\r\n } else {\r\n this.$message({\r\n dangerouslyUseHTMLString: true, message: `${data.Message}`,\r\n type: 'warning'\r\n })\r\n console.log(response)\r\n }\r\n },\r\n (data: any) => {\r\n console.log(data)\r\n }\r\n )\r\n } else {\r\n showVaildMsg(this.$message, obj)\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!./form.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!./form.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./form.vue?vue&type=template&id=19f86a4c&scoped=true&\"\nimport script from \"./form.vue?vue&type=script&lang=ts&\"\nexport * from \"./form.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 \"19f86a4c\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}