Commit 24923c77 authored by 何鹏程's avatar 何鹏程

修改bug

parent c6aa56c8
...@@ -5,6 +5,7 @@ module.exports = { ...@@ -5,6 +5,7 @@ module.exports = {
// BASE_API: '"http://122.51.94.140/mdxtpt/teamwork/"' // 远程开发环境 // BASE_API: '"http://122.51.94.140/mdxtpt/teamwork/"' // 远程开发环境
// BASE_API: '"http://40.4.6.250:9002/mdxtpt/teamwork/"' // 线上环境 // BASE_API: '"http://40.4.6.250:9002/mdxtpt/teamwork/"' // 线上环境
// BASE_API: '"http://10.88.26.49:82/mdxtpt/teamwork/"' // 线上环境 // BASE_API: '"http://10.88.26.49:82/mdxtpt/teamwork/"' // 线上环境
BASE_API: '"http://88.3.201.57:82/mdxtpt/teamwork/"' // 专网环境 // BASE_API: '"http://88.3.201.57:82/mdxtpt/teamwork/"' // 专网环境
BASE_API: '"http://10.88.26.49:82/mdxtpt/teamwork/"' // 专网环境2
// BASE_API: '"/teamwork/"'// 开发环境 // BASE_API: '"/teamwork/"'// 开发环境
} }
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="width=device-width,initial-scale=1"><title>区域急危重症救治协同平台</title><script src=http://88.252.0.251:8022/gateway/bmapgl/ ></script><link href=/mdxtpt/static/css/app.a56fd29e117f742b0bebf16495b5c12a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/mdxtpt/static/js/manifest.3a2c5f817d6f3ed52a6c.1635300208377.js></script><script type=text/javascript src=/mdxtpt/static/js/vendor.59fd61fc631cd7ecb489.1635300208377.js></script><script type=text/javascript src=/mdxtpt/static/js/app.3b50b35f0604f6b2f72e.1635300208377.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="width=device-width,initial-scale=1"><title>区域急危重症救治协同平台</title><script type=text/javascript src=/static/config.js></script><link href=/mdxtpt/static/css/app.0fa46ca8af273d73b6cb45153552a12e.css rel=stylesheet></head><body><div id=app></div><script>console.log('referrer', document.referrer)
\ No newline at end of file if (window.global && window.global.MAP_URL) {
let script = document.createElement('script')
script.type = 'text/javascript';
script.src = window.global.MAP_URL;
document.body.appendChild(script);
}</script><script type=text/javascript src=/mdxtpt/static/js/manifest.3a0f881f0acb64e4625b.1636360922843.js></script><script type=text/javascript src=/mdxtpt/static/js/vendor.59fd61fc631cd7ecb489.1636360922843.js></script><script type=text/javascript src=/mdxtpt/static/js/app.07ca118ee921742a9720.1636360922843.js></script></body></html>
\ No newline at end of file
window.global = {
URL_303: 'http://88.3.201.57:82', // 303路径地址
// BASE_API: 'http://40.1.2.84/teamwork/' // 测试环境
BASE_API: 'http://122.51.94.140/mdxtpt/teamwork/', // 远程开发环境
// BASE_API: 'http://40.4.6.250:9002/mdxtpt/teamwork/,' // 线上环境
// BASE_API: 'http://10.88.26.49:82/mdxtpt/teamwork/,' // 线上环境
// BASE_API: 'http://88.3.201.57:82/mdxtpt/teamwork/,' // 专网环境
// BASE_API: 'http://10.88.26.49:82/mdxtpt/teamwork/,' // 专网环境2
// MAP_URL: 'http://40.1.2.251:8219/bmapgl/' // 测试环境地图地址
// MAP_URL: 'http://88.252.0.251:8022/bmapgl/?path=gateway', // 专网环境地图地址
MAP_URL: '',
URL_303: ''
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([14],{RAi1:function(e,t){},VVSh:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("F4+m"),o=a("2Hum");var i=a("55us"),l={name:"LogPage",mixins:[r.a],data:function(){return{searchForm:{operateType:"",time:[]},logTypeList:[],modelTypeList:[],tableData:{loading:!1,head:[{name:"操作时间",key:"createTime",sortable:!1,width:"150",fixed:!1},{name:"操作人",key:"createUserName",sortable:!1,width:"100",fixed:!1},{name:"描述",key:"description",sortable:!1,width:"200",fixed:!1},{name:"提交参数",key:"operateParam",sortable:!1,width:"500",fixed:!1},{name:"模块",key:"model",sortable:!1,width:"100",fixed:!1,formatter:this.modelTypeFormatter},{name:"操作类型",key:"operateType",sortable:!1,width:"100",fixed:!1,formatter:this.logTypeFormatter}],body:[],option:[],condition:[]}}},mounted:function(){var e=this;Object(i.a)(["log_type","model_type"]).then(function(t){e.logTypeList=t.log_type||[],e.modelTypeList=t.model_type||[]}),this.search()},methods:{getTableData:function(){var e=this;this.tableData.loading=!0;var t={operateType:this.searchForm.operateType,model:this.searchForm.model,pageNo:this.pageNum,pageSize:this.pageSize};this.searchForm.time&&2===this.searchForm.time.length&&(t.createTime=this.searchForm.time[0]+"_"+this.searchForm.time[1]),function(e){return Object(o.a)({url:"/api/team/log/list",method:"POST",data:e})}(t).then(function(t){201==t.msg?e.dealTableResponse(t):e.$message.error(t.content)})},modelTypeFormatter:function(e,t,a,r){var o=this.modelTypeList.find(function(e){return e.val===a});return o?o.name:a},logTypeFormatter:function(e,t,a,r){var o=this.logTypeList.find(function(e){return e.val===a});return o?o.name:a}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-page log"},[a("div",{staticClass:"main-page-header"},[a("p",{staticClass:"title"},[e._v("日志管理")]),e._v(" "),a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,size:"small"}},[a("el-form-item",{attrs:{prop:"operateType",label:"操作类型"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择操作类型",clearable:!0},model:{value:e.searchForm.operateType,callback:function(t){e.$set(e.searchForm,"operateType",t)},expression:"searchForm.operateType"}},e._l(e.logTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.val}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"model",label:"模块"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择模块",clearable:!0},model:{value:e.searchForm.model,callback:function(t){e.$set(e.searchForm,"model",t)},expression:"searchForm.model"}},e._l(e.modelTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.val}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"time",label:"时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetimerange","start-placeholder":"开始日期","end-placeholder":"结束日期","prefix-icon":"el-icon-date",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.searchForm.time,callback:function(t){e.$set(e.searchForm,"time",t)},expression:"searchForm.time"}})],1),e._v(" "),a("div",{staticClass:"btns"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.searchFormSub}},[e._v("查询")]),e._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.resetForm("searchForm")}}},[e._v("重置")])],1)],1)],1),e._v(" "),a("div",{staticClass:"main-page-body"},[a("div",{staticClass:"mainContent"},[a("table-mixin",{attrs:{pageSize:e.pageSize,pageNum:e.pageNum,total:e.total,pagination:e.pagination,handleSizeChange:e.handleSizeChange,handleCurrentChange:e.handleCurrentChange}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableData.loading,expression:"tableData.loading"}],attrs:{data:e.tableData.body},on:{"sort-change":e.handleSortChange}},[a("div",{staticClass:"noData",attrs:{slot:"empty"},slot:"empty"}),e._v(" "),a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50"}}),e._v(" "),e._l(e.tableData.head,function(e,t){return a("el-table-column",{key:t,attrs:{prop:e.key,label:e.name,align:"left",formatter:e.formatter,sortable:e.sortable,fixed:e.fixed,"min-width":e.width,"show-overflow-tooltip":!0}})})],2)],1)],1)])])},staticRenderFns:[]};var s=a("C7Lr")(l,n,!1,function(e){a("VzoR"),a("RAi1")},"data-v-cf107dd8",null);t.default=s.exports},VzoR:function(e,t){}}); webpackJsonp([14],{RAi1:function(e,t){},VVSh:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("F4+m"),o=a("2Hum");var i=a("55us"),l={name:"LogPage",mixins:[r.a],data:function(){return{searchForm:{operateType:"",time:[]},logTypeList:[],modelTypeList:[],tableData:{loading:!1,head:[{name:"操作时间",key:"createTime",sortable:!1,width:"150",fixed:!1},{name:"操作人",key:"createUserName",sortable:!1,width:"100",fixed:!1},{name:"描述",key:"description",sortable:!1,width:"200",fixed:!1},{name:"提交参数",key:"operateParam",sortable:!1,width:"500",fixed:!1},{name:"模块",key:"model",sortable:!1,width:"100",fixed:!1,formatter:this.modelTypeFormatter},{name:"操作类型",key:"operateType",sortable:!1,width:"100",fixed:!1,formatter:this.logTypeFormatter}],body:[],option:[],condition:[]}}},mounted:function(){var e=this;Object(i.a)(["log_type","model_type"]).then(function(t){e.logTypeList=t.log_type||[],e.modelTypeList=t.model_type||[]}),this.search()},methods:{getTableData:function(){var e=this;this.tableData.loading=!0;var t={operateType:this.searchForm.operateType,model:this.searchForm.model,pageNo:this.pageNum,pageSize:this.pageSize};this.searchForm.time&&2===this.searchForm.time.length&&(t.createTime=this.searchForm.time[0]+"_"+this.searchForm.time[1]),function(e){return Object(o.a)({url:"/api/team/log/list",method:"POST",data:e})}(t).then(function(t){201==t.msg?e.dealTableResponse(t):e.$message.error(t.content)})},modelTypeFormatter:function(e,t,a,r){var o=this.modelTypeList.find(function(e){return e.val===a});return o?o.name:a},logTypeFormatter:function(e,t,a,r){var o=this.logTypeList.find(function(e){return e.val===a});return o?o.name:a}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-page log"},[a("div",{staticClass:"main-page-header"},[a("p",{staticClass:"title"},[e._v("日志管理")]),e._v(" "),a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,size:"small"}},[a("el-form-item",{attrs:{prop:"operateType",label:"操作类型"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择操作类型",clearable:!0},model:{value:e.searchForm.operateType,callback:function(t){e.$set(e.searchForm,"operateType",t)},expression:"searchForm.operateType"}},e._l(e.logTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.val}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"model",label:"模块"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择模块",clearable:!0},model:{value:e.searchForm.model,callback:function(t){e.$set(e.searchForm,"model",t)},expression:"searchForm.model"}},e._l(e.modelTypeList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.val}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"time",label:"时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetimerange","start-placeholder":"开始日期","end-placeholder":"结束日期","prefix-icon":"el-icon-date",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.searchForm.time,callback:function(t){e.$set(e.searchForm,"time",t)},expression:"searchForm.time"}})],1),e._v(" "),a("div",{staticClass:"btns"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.searchFormSub}},[e._v("查询")]),e._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.resetForm("searchForm")}}},[e._v("重置")])],1)],1)],1),e._v(" "),a("div",{staticClass:"main-page-body"},[a("div",{staticClass:"mainContent"},[a("table-mixin",{attrs:{pageSize:e.pageSize,pageNum:e.pageNum,total:e.total,pagination:e.pagination,handleSizeChange:e.handleSizeChange,handleCurrentChange:e.handleCurrentChange}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableData.loading,expression:"tableData.loading"}],attrs:{data:e.tableData.body},on:{"sort-change":e.handleSortChange}},[a("div",{staticClass:"noData",attrs:{slot:"empty"},slot:"empty"}),e._v(" "),a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50"}}),e._v(" "),e._l(e.tableData.head,function(e,t){return a("el-table-column",{key:t,attrs:{prop:e.key,label:e.name,align:"left",formatter:e.formatter,sortable:e.sortable,fixed:e.fixed,"min-width":e.width,"show-overflow-tooltip":!0}})})],2)],1)],1)])])},staticRenderFns:[]};var s=a("C7Lr")(l,n,!1,function(e){a("VzoR"),a("RAi1")},"data-v-cf107dd8",null);t.default=s.exports},VzoR:function(e,t){}});
//# sourceMappingURL=14.be54af5752d46b0b2c2a.1635300208377.js.map //# sourceMappingURL=14.be54af5752d46b0b2c2a.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([15],{X8hZ:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("4YfN"),i=a.n(n),s=a("2Hum");var c=a("IcnI"),r=a("iF09"),o={name:"expertPage",data:function(){return{list:[],formData:{}}},mounted:function(){this.getData()},methods:{getData:function(){var e,t=this;(e={},Object(s.a)({url:"/api/team/menu/queryCheckMenuList",method:"POST",data:e})).then(function(e){t.list=e.respData;var a={};t.list.forEach(function(e){a[e.keyName]=e.isCheck}),t.formData=a})},changeHandle:function(e){var t=this,a=i()({},e);a.isCheck=this.formData[e.keyName],function(e){return Object(s.a)({url:"/api/team/menu/updateCheckMenuList",method:"POST",data:e})}(a).then(function(e){201===e.msg?(t.$message.success("修改成功"),c.a.dispatch("LoginByToken",r.a.getLoginInfo())):t.$message.error(e.content)})}}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-page"},[e._m(0),e._v(" "),a("div",{staticClass:"main-page-body"},[a("div",{staticClass:"mainContent"},[a("el-form",{ref:"formData",attrs:{model:e.formData,size:"small"}},e._l(e.list,function(t){return a("el-form-item",{key:t.keyName,attrs:{prop:t.keyName,label:"是否展现"+t.menuName}},[a("el-switch",{attrs:{"inactive-text":"是","active-color":"#ff4949","inactive-color":"#13ce66","active-text":"否","active-value":2,"inactive-value":1},on:{change:function(a){return e.changeHandle(t)}},model:{value:e.formData[t.keyName],callback:function(a){e.$set(e.formData,t.keyName,a)},expression:"formData[item.keyName]"}})],1)}),1)],1)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"main-page-header"},[t("p",{staticClass:"title"},[this._v("菜单配置")])])}]};var u=a("C7Lr")(o,m,!1,function(e){a("tyId")},"data-v-72c1bcd2",null);t.default=u.exports},tyId:function(e,t){}}); webpackJsonp([15],{X8hZ:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("4YfN"),i=a.n(n),s=a("2Hum");var c=a("IcnI"),r=a("iF09"),o={name:"expertPage",data:function(){return{list:[],formData:{}}},mounted:function(){this.getData()},methods:{getData:function(){var e,t=this;(e={},Object(s.a)({url:"/api/team/menu/queryCheckMenuList",method:"POST",data:e})).then(function(e){t.list=e.respData;var a={};t.list.forEach(function(e){a[e.keyName]=e.isCheck}),t.formData=a})},changeHandle:function(e){var t=this,a=i()({},e);a.isCheck=this.formData[e.keyName],function(e){return Object(s.a)({url:"/api/team/menu/updateCheckMenuList",method:"POST",data:e})}(a).then(function(e){201===e.msg?(t.$message.success("修改成功"),c.a.dispatch("LoginByToken",r.a.getLoginInfo())):t.$message.error(e.content)})}}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-page"},[e._m(0),e._v(" "),a("div",{staticClass:"main-page-body"},[a("div",{staticClass:"mainContent"},[a("el-form",{ref:"formData",attrs:{model:e.formData,size:"small"}},e._l(e.list,function(t){return a("el-form-item",{key:t.keyName,attrs:{prop:t.keyName,label:"是否展现"+t.menuName}},[a("el-switch",{attrs:{"inactive-text":"是","active-color":"#ff4949","inactive-color":"#13ce66","active-text":"否","active-value":2,"inactive-value":1},on:{change:function(a){return e.changeHandle(t)}},model:{value:e.formData[t.keyName],callback:function(a){e.$set(e.formData,t.keyName,a)},expression:"formData[item.keyName]"}})],1)}),1)],1)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"main-page-header"},[t("p",{staticClass:"title"},[this._v("菜单配置")])])}]};var u=a("C7Lr")(o,m,!1,function(e){a("tyId")},"data-v-72c1bcd2",null);t.default=u.exports},tyId:function(e,t){}});
//# sourceMappingURL=15.4070f8aedc4f39a1b144.1635300208377.js.map //# sourceMappingURL=15.4070f8aedc4f39a1b144.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([16],{"08X/":function(t,e){},AToG:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("a3Yh"),s=a.n(i),n=a("oFZM"),r=a("ATWy"),l=a("55us"),o={data:function(){return s()({center:{lng:114.3162,lat:30.581084},zoom:12,map:null,areaName:"武汉市",siteName:"",siteListData:[],carListData:[],allData:[],vechieTypeList:[]},"map",null)},mounted:function(){this.init()},methods:{getSelections:function(){var t=this;Object(l.a)(["area","vechie_type","vechie_special_purpose"]).then(function(e){t.vechieTypeList=e.vechie_type,t.vechieSpecialPurposeList=e.vechie_special_purpose})},markerHandler:function(){var t=this;Object(n.c)().then(function(e){201===e.msg?e.respData&&e.respData.length>0&&(t.allData=e.respData,t.siteListData=e.respData,e.respData.forEach(function(e){if(e.siteLatitude&&e.siteLongitude){var a=new BMapGL.Point(e.siteLongitude,e.siteLatitude),i=new BMapGL.Marker(a);t.map.addOverlay(i),i.addEventListener("click",function(){t.getSiteListData(e.areaName),t.$nextTick(function(){var a=t.allData.filter(function(t){return t.id===e.id})||[];t.$refs.siteListData.setCurrentRow(a[0])}),map.centerAndZoom(new BMapGL.Point(e.siteLongitude,e.siteLatitude),18)})}})):t.$message.error(e.content)})},init:function(){this.map=new BMapGL.Map("allmap"),this.map.centerAndZoom(new BMapGL.Point(defaultCenterPoint[0],defaultCenterPoint[1]),11),this.map.enableScrollWheelZoom(!0),this.getSelections(),this.markerHandler()},getBoundary:function(t){var e=this;(new BMapGL.Boundary).get(t,function(a){for(var i=a.boundaries.length,s=0;s<i;s++){var n=new BMapGL.Polygon(a.boundaries[s],{fillColor:"#"+(16777215*Math.random()<<0).toString(16),fillOpacity:.3});e.map.addOverlay(n),n.addEventListener("click",function(){e.getSiteListData(t)})}})},getSiteListData:function(t){this.areaName=t;var e=this.allData.filter(function(e){return e.areaName===t});this.siteListData=e||[],e&&e[0]||(this.siteName="",this.carListData=[])},getCarDataList:function(t){var e=this;t&&(this.siteName=t.siteName||"",Object(r.c)({siteId:t.id}).then(function(t){201===t.msg?e.carListData=t.respData||[]:(e.carListData=[],e.$message.error(t.content))}),this.map.centerAndZoom(new BMapGL.Point(t.siteLongitude,t.siteLatitude),18))},vechieTypeFormatter:function(t,e,a,i){var s=this.vechieTypeList.find(function(t){return t.val===a});return s?s.name:""},vechieUseStatusFormatter:function(t,e,a,i){return["","在用","闲置","其他"][a]||""},vechieSpecialPurposeFormatter:function(t,e,a,i){var s=this.vechieSpecialPurposeList.find(function(t){return t.val===a});return s?s.name:""},isPreHospitalVechieFormatter:function(t,e,a,i){return["","是","否"][a]||""}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main-page siteQuery"},[a("div",{staticClass:"main-page-body"},[a("el-row",{staticStyle:{height:"100%"}},[a("el-col",{staticStyle:{height:"100%"},attrs:{span:12}},[a("div",{staticClass:"map"},[a("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"allmap"}})])]),t._v(" "),a("el-col",{staticStyle:{height:"100%"},attrs:{span:12}},[a("div",{staticClass:"top main-table"},[a("div",{staticClass:"title"},[a("span",{staticClass:"bed"},[a("span",{staticClass:"red"},[t._v(t._s(t.areaName))]),t._v("站点信息")]),t._v(" (共"),a("span",{staticClass:"red"},[t._v(" "+t._s(t.siteListData.length)+" ")]),t._v("个站点)")]),t._v(" "),a("div",{staticClass:"table-box"},[a("el-table",{ref:"siteListData",attrs:{data:t.siteListData,"highlight-current-row":"",height:"100%"},on:{"current-change":t.getCarDataList}},[a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"siteName",label:"站点名称","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"siteLocation",label:"站点位置","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"carCount",label:"车辆数","min-width":"80px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"hospitalName",label:"所在医疗机构","min-width":"180px"}})],1)],1)]),t._v(" "),a("div",{staticClass:"bottom main-table"},[a("div",{staticClass:"title"},[a("span",{staticClass:"bed"},[a("span",{staticClass:"red"},[t._v(t._s(t.siteName))]),t._v("车辆明细信息")]),t._v(" (共"),a("span",{staticClass:"red"},[t._v(" "+t._s(t.carListData.length)+" ")]),t._v("辆急救车)")]),t._v(" "),a("div",{staticClass:"table-box"},[a("el-table",{attrs:{data:t.carListData,height:"100%"}},[a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"licensePlateNumber",label:"车牌号","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieType",label:"车辆类型","min-width":"120",formatter:t.vechieTypeFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieUseStatus",label:"车辆状态","min-width":"80",formatter:t.vechieUseStatusFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieSpecialPurpose",label:"车辆特殊用途","min-width":"120",formatter:t.vechieSpecialPurposeFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"isPreHospitalVechie",label:"是否院前急救车","min-width":"80",formatter:t.isPreHospitalVechieFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vehicleUsingUnit",label:"车辆使用单位","min-width":"180"}})],1)],1)])])],1)],1)])},staticRenderFns:[]};var p=a("C7Lr")(o,c,!1,function(t){a("08X/")},null,null);e.default=p.exports}}); webpackJsonp([16],{"08X/":function(t,e){},AToG:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("a3Yh"),s=a.n(i),n=a("oFZM"),r=a("ATWy"),l=a("55us"),o={data:function(){return s()({center:{lng:114.3162,lat:30.581084},zoom:12,map:null,areaName:"武汉市",siteName:"",siteListData:[],carListData:[],allData:[],vechieTypeList:[]},"map",null)},mounted:function(){this.init()},methods:{getSelections:function(){var t=this;Object(l.a)(["area","vechie_type","vechie_special_purpose"]).then(function(e){t.vechieTypeList=e.vechie_type,t.vechieSpecialPurposeList=e.vechie_special_purpose})},markerHandler:function(){var t=this;Object(n.c)().then(function(e){201===e.msg?e.respData&&e.respData.length>0&&(t.allData=e.respData,t.siteListData=e.respData,e.respData.forEach(function(e){if(e.siteLatitude&&e.siteLongitude){var a=new BMapGL.Point(e.siteLongitude,e.siteLatitude),i=new BMapGL.Marker(a);t.map.addOverlay(i),i.addEventListener("click",function(){t.getSiteListData(e.areaName),t.$nextTick(function(){var a=t.allData.filter(function(t){return t.id===e.id})||[];t.$refs.siteListData.setCurrentRow(a[0])}),map.centerAndZoom(new BMapGL.Point(e.siteLongitude,e.siteLatitude),18)})}})):t.$message.error(e.content)})},init:function(){this.map=new BMapGL.Map("allmap"),this.map.centerAndZoom(new BMapGL.Point(defaultCenterPoint[0],defaultCenterPoint[1]),11),this.map.enableScrollWheelZoom(!0),this.getSelections(),this.markerHandler()},getBoundary:function(t){var e=this;(new BMapGL.Boundary).get(t,function(a){for(var i=a.boundaries.length,s=0;s<i;s++){var n=new BMapGL.Polygon(a.boundaries[s],{fillColor:"#"+(16777215*Math.random()<<0).toString(16),fillOpacity:.3});e.map.addOverlay(n),n.addEventListener("click",function(){e.getSiteListData(t)})}})},getSiteListData:function(t){this.areaName=t;var e=this.allData.filter(function(e){return e.areaName===t});this.siteListData=e||[],e&&e[0]||(this.siteName="",this.carListData=[])},getCarDataList:function(t){var e=this;t&&(this.siteName=t.siteName||"",Object(r.c)({siteId:t.id}).then(function(t){201===t.msg?e.carListData=t.respData||[]:(e.carListData=[],e.$message.error(t.content))}),this.map.centerAndZoom(new BMapGL.Point(t.siteLongitude,t.siteLatitude),18))},vechieTypeFormatter:function(t,e,a,i){var s=this.vechieTypeList.find(function(t){return t.val===a});return s?s.name:""},vechieUseStatusFormatter:function(t,e,a,i){return["","在用","闲置","其他"][a]||""},vechieSpecialPurposeFormatter:function(t,e,a,i){var s=this.vechieSpecialPurposeList.find(function(t){return t.val===a});return s?s.name:""},isPreHospitalVechieFormatter:function(t,e,a,i){return["","是","否"][a]||""}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main-page siteQuery"},[a("div",{staticClass:"main-page-body"},[a("el-row",{staticStyle:{height:"100%"}},[a("el-col",{staticStyle:{height:"100%"},attrs:{span:12}},[a("div",{staticClass:"map"},[a("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"allmap"}})])]),t._v(" "),a("el-col",{staticStyle:{height:"100%"},attrs:{span:12}},[a("div",{staticClass:"top main-table"},[a("div",{staticClass:"title"},[a("span",{staticClass:"bed"},[a("span",{staticClass:"red"},[t._v(t._s(t.areaName))]),t._v("站点信息")]),t._v(" (共"),a("span",{staticClass:"red"},[t._v(" "+t._s(t.siteListData.length)+" ")]),t._v("个站点)")]),t._v(" "),a("div",{staticClass:"table-box"},[a("el-table",{ref:"siteListData",attrs:{data:t.siteListData,"highlight-current-row":"",height:"100%"},on:{"current-change":t.getCarDataList}},[a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"siteName",label:"站点名称","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"siteLocation",label:"站点位置","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"carCount",label:"车辆数","min-width":"80px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"hospitalName",label:"所在医疗机构","min-width":"180px"}})],1)],1)]),t._v(" "),a("div",{staticClass:"bottom main-table"},[a("div",{staticClass:"title"},[a("span",{staticClass:"bed"},[a("span",{staticClass:"red"},[t._v(t._s(t.siteName))]),t._v("车辆明细信息")]),t._v(" (共"),a("span",{staticClass:"red"},[t._v(" "+t._s(t.carListData.length)+" ")]),t._v("辆急救车)")]),t._v(" "),a("div",{staticClass:"table-box"},[a("el-table",{attrs:{data:t.carListData,height:"100%"}},[a("el-table-column",{attrs:{label:"序号",type:"index","min-width":"50px"}}),t._v(" "),a("el-table-column",{attrs:{prop:"licensePlateNumber",label:"车牌号","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieType",label:"车辆类型","min-width":"120",formatter:t.vechieTypeFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieUseStatus",label:"车辆状态","min-width":"80",formatter:t.vechieUseStatusFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vechieSpecialPurpose",label:"车辆特殊用途","min-width":"120",formatter:t.vechieSpecialPurposeFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"isPreHospitalVechie",label:"是否院前急救车","min-width":"80",formatter:t.isPreHospitalVechieFormatter}}),t._v(" "),a("el-table-column",{attrs:{prop:"vehicleUsingUnit",label:"车辆使用单位","min-width":"180"}})],1)],1)])])],1)],1)])},staticRenderFns:[]};var p=a("C7Lr")(o,c,!1,function(t){a("08X/")},null,null);e.default=p.exports}});
//# sourceMappingURL=16.ba9b3b3ced5a0c4c5cb4.1635300208377.js.map //# sourceMappingURL=16.ba9b3b3ced5a0c4c5cb4.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([18],{aa5T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this._v("\n 500:系统出现未知错误\n "),t("a",{on:{click:this.back}},[this._v("返回首页")])])},staticRenderFns:[]},s=n("C7Lr")({methods:{back:function(){this.$router.replace("home")}}},r,!1,null,null,null);t.default=s.exports}}); webpackJsonp([18],{aa5T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this._v("\n 500:系统出现未知错误\n "),t("a",{on:{click:this.back}},[this._v("返回首页")])])},staticRenderFns:[]},s=n("C7Lr")({methods:{back:function(){this.$router.replace("home")}}},r,!1,null,null,null);t.default=s.exports}});
//# sourceMappingURL=18.221b66da6655fa282720.1635300208377.js.map //# sourceMappingURL=18.221b66da6655fa282720.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///src/page/error/500.vue","webpack:///./src/page/error/500.vue?fa94","webpack:///./src/page/error/500.vue"],"names":["error_500","render","_h","this","$createElement","_c","_self","_v","on","click","back","staticRenderFns","Component","__webpack_require__","normalizeComponent","methods","$router","replace","__webpack_exports__"],"mappings":"sGAQA,ICLeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAA/DF,KAA+DI,GAAA,wBAAAF,EAAA,KAAwDG,IAAIC,MAA3HN,KAA2HO,QAA3HP,KAA6II,GAAA,aAEtJI,oBCYjBC,EAdyBC,EAAQ,OAcjCC,EFLAC,SACAL,KADA,WAEAP,KAAAa,QAAAC,QAAA,WEKEjB,GATF,EAEA,KAEA,KAEA,MAUekB,EAAA,QAAAN,EAAiB","file":"static/js/18.221b66da6655fa282720.1635300208377.js","sourcesContent":["<template>\r\n <div>\r\n 500:系统出现未知错误\r\n <a @click=\"back\">返回首页</a>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n methods: {\r\n back() {\r\n this.$router.replace('home')\r\n }\r\n }\r\n}\r\n</script>\r\n\n\n\n// WEBPACK FOOTER //\n// src/page/error/500.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\"\\n 500:系统出现未知错误\\n \"),_c('a',{on:{\"click\":_vm.back}},[_vm._v(\"返回首页\")])])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_vue-loader@13.7.3@vue-loader/lib/template-compiler?{\"id\":\"data-v-4691151c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=template&index=0!./src/page/error/500.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=script&index=0!./500.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=script&index=0!./500.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4691151c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=template&index=0!./500.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/page/error/500.vue\n// module id = null\n// module chunks = "],"sourceRoot":""} {"version":3,"sources":["webpack:///src/page/error/500.vue","webpack:///./src/page/error/500.vue?fa94","webpack:///./src/page/error/500.vue"],"names":["error_500","render","_h","this","$createElement","_c","_self","_v","on","click","back","staticRenderFns","Component","__webpack_require__","normalizeComponent","methods","$router","replace","__webpack_exports__"],"mappings":"sGAQA,ICLeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAA/DF,KAA+DI,GAAA,wBAAAF,EAAA,KAAwDG,IAAIC,MAA3HN,KAA2HO,QAA3HP,KAA6II,GAAA,aAEtJI,oBCYjBC,EAdyBC,EAAQ,OAcjCC,EFLAC,SACAL,KADA,WAEAP,KAAAa,QAAAC,QAAA,WEKEjB,GATF,EAEA,KAEA,KAEA,MAUekB,EAAA,QAAAN,EAAiB","file":"static/js/18.221b66da6655fa282720.1636360922843.js","sourcesContent":["<template>\r\n <div>\r\n 500:系统出现未知错误\r\n <a @click=\"back\">返回首页</a>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n methods: {\r\n back() {\r\n this.$router.replace('home')\r\n }\r\n }\r\n}\r\n</script>\r\n\n\n\n// WEBPACK FOOTER //\n// src/page/error/500.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\"\\n 500:系统出现未知错误\\n \"),_c('a',{on:{\"click\":_vm.back}},[_vm._v(\"返回首页\")])])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/_vue-loader@13.7.3@vue-loader/lib/template-compiler?{\"id\":\"data-v-4691151c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=template&index=0!./src/page/error/500.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=script&index=0!./500.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=script&index=0!./500.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4691151c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/_vue-loader@13.7.3@vue-loader/lib/selector?type=template&index=0!./500.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/page/error/500.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
webpackJsonp([19],{"2Oba":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this._v("\n 404\n "),t("a",{on:{click:this.back}},[this._v("返回上一页")])])},staticRenderFns:[]},s=n("C7Lr")({methods:{back:function(){this.$router.go(-1)}}},r,!1,null,null,null);t.default=s.exports}}); webpackJsonp([19],{"2Oba":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[this._v("\n 404\n "),t("a",{on:{click:this.back}},[this._v("返回上一页")])])},staticRenderFns:[]},s=n("C7Lr")({methods:{back:function(){this.$router.go(-1)}}},r,!1,null,null,null);t.default=s.exports}});
//# sourceMappingURL=19.9503335104c4b7705aa3.1635300208377.js.map //# sourceMappingURL=19.9503335104c4b7705aa3.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([3],{sIWD:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={render:function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"error-page"},[r("router-view")],1)},staticRenderFns:[]},l=t("C7Lr")(null,n,!1,null,null,null);r.default=l.exports}}); webpackJsonp([3],{sIWD:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={render:function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"error-page"},[r("router-view")],1)},staticRenderFns:[]},l=t("C7Lr")(null,n,!1,null,null,null);r.default=l.exports}});
//# sourceMappingURL=3.5cd73c76a67edd6755d3.1635300208377.js.map //# sourceMappingURL=3.5cd73c76a67edd6755d3.1636360922843.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment