diff --git a/src/api/home-index/index.js b/src/api/home-index/index.js index a2a39b0..8fb00b0 100644 --- a/src/api/home-index/index.js +++ b/src/api/home-index/index.js @@ -108,3 +108,21 @@ export const getExitNoSetListAPI = (data) => { params: data, }) } + +// 获取常用菜单列表 +export const getOftenUseMenuListAPI = (data = {}) => { + return request({ + url: '/bmw/homePage/getMenuSelected', + method: 'POST', + data, + }) +} + +// 设置常用菜单列表 +export const setOftenUseMenuListAPI = (data) => { + return request({ + url: '/bmw/homePage/addMenu', + method: 'POST', + data, + }) +} diff --git a/src/components/FilterQueryModel/index.vue b/src/components/FilterQueryModel/index.vue index 2728bfd..d55d2ae 100644 --- a/src/components/FilterQueryModel/index.vue +++ b/src/components/FilterQueryModel/index.vue @@ -452,13 +452,15 @@ export default { lightStatus: '', subComId: '', } + + if (query.lightStatus == 3) { + this.$set(query, 'lightStatusSeven', 7) + } this.filterQueryList.forEach((item) => { query[item.queryKey] = item.value }) - if (query.lightStatus === 3) { - this.$set(query, 'lightStatusSeven', 7) - } + console.log('query9966996---', query) // 传递给父组件使用 this.$emit('handelSettingQuery', query) diff --git a/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue b/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue index 419f526..3328f9c 100644 --- a/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue +++ b/src/views/construction-person/entry-and-exit-manage/person-entry/add-or-edit-form.vue @@ -1687,7 +1687,7 @@ export default { checkFaceImageAPI(formData) .then((res) => {}) .catch((err) => { - // this.idCardInfoForm.faceImg = [] + this.idCardInfoForm.faceImg = [] }) } }, diff --git a/src/views/home-index/components/dataOverviewProject/components/item-four.vue b/src/views/home-index/components/dataOverviewProject/components/item-four.vue index a172bd5..eef3a2a 100644 --- a/src/views/home-index/components/dataOverviewProject/components/item-four.vue +++ b/src/views/home-index/components/dataOverviewProject/components/item-four.vue @@ -288,8 +288,9 @@ export default { this.queryParams.sex = sex this.queryParams.isAtt = isAtt this.queryParams.postId = postId - - if (lightStatus === 3) { + console.log('lightStatus9966996--+++', lightStatus) + if (lightStatus == 3) { + console.log('lightStatus9966996', lightStatus) this.$set(this.queryParams, 'lightStatusSeven', 7) this.queryParams.lightStatus = 1 } diff --git a/src/views/home-index/components/dataOverviewProject/components/item-one.vue b/src/views/home-index/components/dataOverviewProject/components/item-one.vue index fa7ecaf..27f07ab 100644 --- a/src/views/home-index/components/dataOverviewProject/components/item-one.vue +++ b/src/views/home-index/components/dataOverviewProject/components/item-one.vue @@ -524,7 +524,7 @@ export default { console.log('筛选条件', query) this.queryParams = query - if (query.lightStatus === 3) { + if (query.lightStatus == 3) { this.$set(this.queryParams, 'lightStatusSeven', 7) this.queryParams.lightStatus = 1 } diff --git a/src/views/home-index/components/dataOverviewProject/components/item-three.vue b/src/views/home-index/components/dataOverviewProject/components/item-three.vue index 0defd37..7a63a94 100644 --- a/src/views/home-index/components/dataOverviewProject/components/item-three.vue +++ b/src/views/home-index/components/dataOverviewProject/components/item-three.vue @@ -337,7 +337,7 @@ export default { handelSettingQuery(query) { console.log('筛选条件', query) this.queryParams = query - if (query.lightStatus === 3) { + if (query.lightStatus == 3) { this.$set(this.queryParams, 'lightStatusSeven', 7) this.queryParams.lightStatus = 1 } diff --git a/src/views/home-index/components/oftenUse/index.vue b/src/views/home-index/components/oftenUse/index.vue index 1bbb915..b7b7e8b 100644 --- a/src/views/home-index/components/oftenUse/index.vue +++ b/src/views/home-index/components/oftenUse/index.vue @@ -10,8 +10,14 @@ :key="item.name" class="often-user-item" v-for="item in selectList" + @click="onHandleOpenOftenUsePage(item)" > - + + {{ item.name }} @@ -49,7 +55,9 @@ v-for="item in oftenUseList" > {{ item.name }} @@ -59,6 +67,9 @@
+ + 取消 + 确定 - - 取消 -
@@ -78,6 +86,10 @@ @@ -216,7 +252,8 @@ export default { .often-user-item { display: flex; - flex-direction: column; + align-items: center; + // flex-direction: column; cursor: pointer; & i { @@ -225,6 +262,7 @@ export default { font-size: 28px; } & span { + margin-left: 10px; text-align: center; font-size: 14px; font-family: 'PingFang SC';