(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{385:function(t,e,a){},446:function(t,e,a){"use strict";a(385)},475:function(t,e,a){"use strict";a.r(e);a(446);var r=a(2),s=Object(r.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("p"),e("div",{staticClass:"table-of-contents"},[e("ul",[e("li",[e("a",{attrs:{href:"#_1-jt-querygraphics-简介"}},[t._v("1. jt-queryGraphics 简介")])]),e("li",[e("a",{attrs:{href:"#_2-warning"}},[t._v("2.Warning")])]),e("li",[e("a",{attrs:{href:"#_3-jt-querygraphics-api"}},[t._v("3. jt-queryGraphics API")])]),e("li",[e("a",{attrs:{href:"#_4-代码示例"}},[t._v("4. 代码示例")])])])]),e("p"),t._v(" "),e("h2",{attrs:{id:"_1-jt-querygraphics-简介"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-jt-querygraphics-简介"}},[t._v("#")]),t._v(" 1. jt-queryGraphics 简介")]),t._v(" "),e("ul",[e("li",[t._v("点击图形后,在地球拉框查询范围内的项目信息")])]),t._v(" "),e("h2",{attrs:{id:"_2-warning"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-warning"}},[t._v("#")]),t._v(" 2.Warning")]),t._v(" "),e("div",{staticClass:"custom-block warning"},[e("p",{staticClass:"title"},[t._v("注意")]),e("ul",[e("li",[t._v("需要配置查询表,在数据库querytable字段内加入表名,然后在config-table表内配置查询表,最后在config-field配置查询字段信息!")]),t._v(" "),e("li",[t._v("查询方法逻辑具体参考平台代码!")]),t._v(" "),e("li",[t._v("查询时需要先判断store.map3dStore.queryMapTables是否存在,获取所有查询表后遍历对每个表进行查询!")]),t._v(" "),e("li",[t._v("使用ref标记组件时,同时需要定义标记名称!具体可参考CIM平台图形查询组件写法!")])])]),e("h2",{attrs:{id:"_3-jt-querygraphics-api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-jt-querygraphics-api"}},[t._v("#")]),t._v(" 3. jt-queryGraphics API")]),t._v(" "),e("table",[e("thead",[e("tr",[e("th",{staticStyle:{"text-align":"left"}},[t._v("属性名")]),t._v(" "),e("th",{staticStyle:{"text-align":"center"}},[t._v("说明")]),t._v(" "),e("th",{staticStyle:{"text-align":"center"}},[t._v("类型")]),t._v(" "),e("th",{staticStyle:{"text-align":"center"}},[t._v("是否必须")])])]),t._v(" "),e("tbody",[e("tr",[e("td",{staticStyle:{"text-align":"left"}},[t._v("viewer")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("视图,通过getMapInstance获取")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("obj")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("是")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[t._v("activateQuery")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("查询方法,返回值option,作为表查询参数")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("methods")]),t._v(" "),e("td",{staticStyle:{"text-align":"center"}},[t._v("是")])])])]),t._v(" "),e("h2",{attrs:{id:"_4-代码示例"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_4-代码示例"}},[t._v("#")]),t._v(" 4. 代码示例")]),t._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v('\n\t\n\n\n\n')])]),t._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[t._v("1")]),e("br"),e("span",{staticClass:"line-number"},[t._v("2")]),e("br"),e("span",{staticClass:"line-number"},[t._v("3")]),e("br"),e("span",{staticClass:"line-number"},[t._v("4")]),e("br"),e("span",{staticClass:"line-number"},[t._v("5")]),e("br")])])])}),[],!1,null,null,null);e.default=s.exports}}]);