diff --git a/src/views/components/rangeInput.vue b/src/views/components/rangeInput.vue
index cfe5a44b5..5c726a67b 100644
--- a/src/views/components/rangeInput.vue
+++ b/src/views/components/rangeInput.vue
@@ -1,33 +1,31 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
index 578e0b10b..49d16f319 100644
--- a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
+++ b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
@@ -128,6 +128,7 @@
+
+
+
+
+
+ 至
+
+
+
+
+ width="150">
+ label="接种次数"
+ width="80">
+
+
@@ -323,6 +357,21 @@ import { mapGetters } from 'vuex'
let loading // 加载动画
export default {
data () {
+ let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
+ let nowData = Date.now()
+
+ if (this.startDate) {
+ let startDate = new Date(this.startDate)
+ return time.getTime() > nowData || time.getTime() < startDate || time.getTime() === startDate
+ } else {
+ return time.getTime() > nowData
+ }
+
+ }
+ let startDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
+ let nowData = Date.now()
+ return time.getTime() > nowData
+ }
return {
activeName: "first",
@@ -331,10 +380,21 @@ export default {
btnDisable: false,
+ startDate: '',
+ endDate: '',
formDataSearch: {
gridId: '',
vaccineCount: undefined,
- attentionType: 1
+ attentionType: 1,
+ startDate: '',
+ endDate: ''
+ },
+
+ endPickerOptions: {
+ disabledDate: endDisabledDate
+ },
+ startPickerOptions: {
+ disabledDate: startDisabledDate
},
formData1: {
@@ -374,6 +434,7 @@ export default {
this.agencyId = user.agencyId
//获取网格下拉框数据
await this.loadGrid()
+ // this.loadTable()
},
methods: {
@@ -384,7 +445,7 @@ export default {
this.formData2.content = ''
},
async initForm () {
- this.tableData = []
+ // this.loadTable()
this.$refs['ref_form1'].resetFields();
this.$refs['ref_form2'].resetFields();
@@ -400,6 +461,20 @@ export default {
async loadTable () {
this.tableLoading = true
+ if (this.startDate) {
+
+ let array = this.startDate.split('-')
+ this.formDataSearch.startDate = array[0] + array[1] + array[2]
+ } else {
+ this.formDataSearch.startDate = ''
+ }
+ if (this.endDate) {
+ let array = this.endDate.split('-')
+ this.formDataSearch.endDate = array[0] + array[1] + array[2]
+ } else {
+ this.formDataSearch.endDate = ''
+ }
+
const url = "/epmetuser/epidemicPrevention/user-list"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page"
let params = {
@@ -670,10 +745,14 @@ export default {
},
resetSearch () {
+ this.startDate = ''
+ this.endDate = ''
this.formDataSearch = {
gridId: '',
vaccineCount: undefined,
- attentionType: 1
+ attentionType: 1,
+ startDate: '',
+ endDate: ''
}
},
@@ -782,6 +861,10 @@ export default {
diff --git a/src/views/modules/communityService/fuwujilu/fuwuList.vue b/src/views/modules/communityService/fuwujilu/fuwuList.vue
index 2309bd626..c670f259b 100644
--- a/src/views/modules/communityService/fuwujilu/fuwuList.vue
+++ b/src/views/modules/communityService/fuwujilu/fuwuList.vue
@@ -280,6 +280,7 @@ export default {
data () {
let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now()
+
if (this.formData.serviceTimeStart) {
let serviceTimeStart = new Date(this.formData.serviceTimeStart)
return time.getTime() > nowData || time.getTime() < serviceTimeStart || time.getTime() === serviceTimeStart
diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue
index 6f7b19380..c57aaef37 100644
--- a/src/views/modules/visual/basicinfo/basicInfoMain.vue
+++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue
@@ -354,6 +354,7 @@ const vueGis = {
const { data, code, msg } = await requestPost(url, params)
this.infoLoading = false
if (code === 0) {
+
this.listData = data
// this.listData = this.listData1
this.listDatashow = []
@@ -365,6 +366,9 @@ const vueGis = {
if (index % 2 === 0) {//偶数
itemArray.push(item)
+ if ((index + 1) === this.listData.length) {
+ this.listDatashow.push(itemArray)
+ }
} else {
itemArray.push(item)
this.listDatashow.push(itemArray)
@@ -782,6 +786,8 @@ const vueGis = {
this.zoom = 13
} else if (agencyLevel === 'community') {
this.zoom = 14
+ } else {
+ this.zoom = 11
}
},
diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
index 5cacfc92e..35664c135 100644
--- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
+++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
@@ -1637,7 +1637,7 @@ const vueGis = {
this.zoom = 13
} else if (agencyLevel === 'community') {
this.zoom = 14
- }else{
+ } else {
this.zoom = 11
}
diff --git a/src/views/modules/visual/components/screen-map/index.vue b/src/views/modules/visual/components/screen-map/index.vue
index 766f61e70..b5120de89 100644
--- a/src/views/modules/visual/components/screen-map/index.vue
+++ b/src/views/modules/visual/components/screen-map/index.vue
@@ -628,7 +628,7 @@ const vueGis = {
} else if (level === 'community') {
this.zoom = 14
} else {
- this.zoom = 12
+ this.zoom = 11
}
},
@@ -681,9 +681,9 @@ const vueGis = {
map.addLayer(polygonLayer)
if (this.$route.path == '/main-shuju/visual-communityGovern-duoyuanfuwu-duoyuanfuwufenxi' || this.$route.path == '/main-shuju/visual-communityParty-gridParty' || this.$route.path == '/main-shuju/visual-communityParty-community') { // 2022.6.9 网格党建平面图 联建单位分析页面 点位点击以后会消失,屏蔽这段代码以后可以解决
- console.log('去掉默认点击')
+ console.log('去掉默认点击')
} else {
- map.addInteraction(select);
+ map.addInteraction(select);
}
},
diff --git a/src/views/modules/workSys/mapConfig.vue b/src/views/modules/workSys/mapConfig.vue
index 524f522ef..64e5c7a17 100644
--- a/src/views/modules/workSys/mapConfig.vue
+++ b/src/views/modules/workSys/mapConfig.vue
@@ -622,7 +622,7 @@ const vueGis = {
this.zoom = 13
} else if (agencyLevel === 'community') {
this.zoom = 14
- }else{
+ } else {
this.zoom = 11
}