|
@@ -21,7 +21,7 @@
|
|
|
v-model="searchform[sitem.key]"
|
|
|
@input="change_witch"
|
|
|
class="search"
|
|
|
- :placeholder="`请输入${sitem.label}`"
|
|
|
+ :placeholder="sitem.label"
|
|
|
></el-input>
|
|
|
<el-select
|
|
|
v-else-if="sitem.type == 'select'"
|
|
@@ -123,6 +123,7 @@ export default {
|
|
|
return "";
|
|
|
},
|
|
|
async draw_vector_server(jscType) {
|
|
|
+ // http://192.168.60.2:8090/iserver/services/map-ShanShuiZhiLiWorkSpace/rest/maps/%E5%B1%B1%E6%B0%B4%E6%B2%BB%E7%90%86/layers/%E5%B1%B1%E6%B0%B4%E6%B2%BB%E7%90%86.json
|
|
|
let res = await QueryOne({ jscType, id: "4602" });
|
|
|
this.layersData = { ...res.data, title: this.title };
|
|
|
tdsy.addLayer(this.layersData);
|
|
@@ -505,7 +506,7 @@ export default {
|
|
|
cockpit_vector(newVal, oldVal) {
|
|
|
this.title = newVal.title;
|
|
|
this.word = newVal.word;
|
|
|
- this.searchs = newVal.searchs || [{ key: "a", label: newVal.word }];
|
|
|
+ this.searchs = newVal.searchs;
|
|
|
this.searchform = newVal.searchform;
|
|
|
this.state = "";
|
|
|
if (newVal.tableData && newVal.tableData.length > 0) {
|
|
@@ -566,6 +567,10 @@ export default {
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+div::-webkit-scrollbar {
|
|
|
+ width: 9px;
|
|
|
+ height: 19px;
|
|
|
+}
|
|
|
.BoxCommonVector {
|
|
|
width: 100%;
|
|
|
height: 100%;
|