Browse Source

Merge branch 'dev_bugfix_ljj' into yantai_master

dev-烟台0301
jianjun 3 years ago
parent
commit
14629256c3
  1. 6
      package.json
  2. 8
      src/views/modules/base/epidemic/natFocus/nfVisiteList.vue
  3. 16
      src/views/modules/visual/command/cpts/map.vue
  4. 2
      src/views/modules/visual/cpts/map/index.vue

6
package.json

@ -16,9 +16,9 @@
"et:list": "gulp themes" "et:list": "gulp themes"
}, },
"dependencies": { "dependencies": {
"@antv/l7": "^2.9.14", "@antv/l7": "2.9.14",
"@antv/l7-draw": "^3.0.5", "@antv/l7-draw": "3.0.5",
"@antv/l7-maps": "^2.9.14", "@antv/l7-maps": "2.9.14",
"@riophae/vue-treeselect": "^0.4.0", "@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.2.8", "@tinymce/tinymce-vue": "^3.2.8",
"async-validator": "^4.2.5", "async-validator": "^4.2.5",

8
src/views/modules/base/epidemic/natFocus/nfVisiteList.vue

@ -131,7 +131,7 @@ export default {
formData: { formData: {
visitTime: '',//访 visitTime: '',//访
content: '',// content: '',//
realIdCard: '', idCard: '',
name: '', name: '',
mobile: '', mobile: '',
origin: '' origin: ''
@ -150,7 +150,7 @@ export default {
async initTable (row, origin) { async initTable (row, origin) {
this.formData.realIdCard = row.realIdCard this.formData.idCard = row.realIdCard
this.formData.name = row.name this.formData.name = row.name
this.formData.mobile = row.mobile this.formData.mobile = row.mobile
this.formData.origin = origin this.formData.origin = origin
@ -167,7 +167,7 @@ export default {
// const url = 'http://yapi.elinkservice.cn/mock/245/epmetuser/followup/page' // const url = 'http://yapi.elinkservice.cn/mock/245/epmetuser/followup/page'
let params = { let params = {
name: this.formData.name, name: this.formData.name,
idCard: this.formData.realIdCard, idCard: this.formData.idCard,
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
origin: this.formData.origin origin: this.formData.origin
@ -225,7 +225,7 @@ export default {
const url = "/epmetuser/followup/export" const url = "/epmetuser/followup/export"
let params = { let params = {
idCard: this.formData.realIdCard, idCard: this.formData.idCard,
name: this.formData.name, name: this.formData.name,
origin: this.formData.origin origin: this.formData.origin
} }

16
src/views/modules/visual/command/cpts/map.vue

@ -444,8 +444,8 @@ export default {
.size(12) .size(12)
.style({ .style({
offsets: [0, 8], // [, ] offsets: [0, 8], // [, ]
// rotation: 60, rotation: 0,
layerType: "fillImage", // layerType: "fillImage",
}); });
scene.addLayer(posLayer); scene.addLayer(posLayer);
@ -516,7 +516,7 @@ export default {
iniMapDot(scene) { iniMapDot(scene) {
const { darkStyle, lightStyle, dotIcoList, dotData } = this; const { darkStyle, lightStyle, dotIcoList, dotData } = this;
console.log('--------------------------图标', dotIcoList) console.log("--------------------------图标", dotIcoList);
Object.keys(dotIcoList).forEach((k) => { Object.keys(dotIcoList).forEach((k) => {
scene.addImage(k, dotIcoList[k]); scene.addImage(k, dotIcoList[k]);
}); });
@ -538,11 +538,12 @@ export default {
}) })
.source(dotData) .source(dotData)
.shape("categoryKey", (k) => k) .shape("categoryKey", (k) => k)
.size(10)
.style({ .style({
offsets: [0, 0], offsets: [0, 0],
rotation: 0,
layerType: "fillImage", layerType: "fillImage",
}); })
.size(10);
scene.addLayer(dotBgLayer); scene.addLayer(dotBgLayer);
scene.addLayer(dotLayer); scene.addLayer(dotLayer);
@ -573,11 +574,12 @@ export default {
}) })
.source(dotData) .source(dotData)
.shape("categoryKey", (k) => k + "2") .shape("categoryKey", (k) => k + "2")
.size(30)
.style({ .style({
offsets: [0, 0], offsets: [0, 0],
rotation: 0,
layerType: "fillImage", layerType: "fillImage",
}); })
.size(30);
scene.addLayer(dotLayer2); scene.addLayer(dotLayer2);
dotLayer2.on("click", (e) => { dotLayer2.on("click", (e) => {

2
src/views/modules/visual/cpts/map/index.vue

@ -408,7 +408,7 @@ export default {
.style({ .style({
offsets: [0, 8], // [, ] offsets: [0, 8], // [, ]
// rotation: 60, // rotation: 60,
layerType: "fillImage", // layerType: "fillImage",
}); });
scene.addLayer(posLayer); scene.addLayer(posLayer);

Loading…
Cancel
Save