diff --git a/front/src/api/home.js b/front/src/api/home.js index cb9cbb7d..4ab17c15 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-01 19:19:40 * @LastEditors: Light - * @LastEditTime: 2022-11-19 14:53:29 + * @LastEditTime: 2022-11-21 16:35:03 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -556,3 +556,19 @@ export function willApplyCameraBatchDelete(data) { data, }) } +// 西海岸基础设施已申请列表 +export function getApplyCameraListXha(data) { + return request({ + url: '/processForm/tabilityapplication/getApplyCameraList', + method: 'get', + data, + }) +} +// 西海岸基础设施已申请列表删除 +export function delApplyCamera(data) { + return request({ + url: '/processForm/tabilityapplication/delApplyCamera', + method: 'post', + data, + }) +} diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index dcc77b9b..2f3cdf55 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -143,6 +143,7 @@ show-size-changer show-less-items show-quick-jumper + :showTotal="total => `共 ${total} 项`" :total="resourceTotal" :page-size-options="pageSizeOptions" @change="pageChange" diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index 7f9d5982..33df1c19 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -237,6 +237,7 @@ diff --git a/front/src/views/home/components/KnowledgeBase.vue b/front/src/views/home/components/KnowledgeBase.vue index 74842d04..0408b64e 100644 --- a/front/src/views/home/components/KnowledgeBase.vue +++ b/front/src/views/home/components/KnowledgeBase.vue @@ -40,6 +40,10 @@ :pageSize="5" :total="props.resourceTotal" show-less-items + show-size-changer + show-quick-jumper + :page-size-options="pageSizeOptions" + :showTotal="total => `共 ${total} 项`" @change="handleCurrentChange" :showSizeChanger="false" /> @@ -56,6 +60,7 @@ resourceList: { type: Array, default: null }, resourceTotal: { type: String, default: '' }, }) + const pageSizeOptions = ref(['5', '10', '20', '50']) console.log('props==========>', props) // 知识库 const zskState = reactive({ diff --git a/front/src/views/home/detailsPageInfrastructureTreeXha.vue b/front/src/views/home/detailsPageInfrastructureTreeXha.vue index 964cddf8..9387dcb6 100644 --- a/front/src/views/home/detailsPageInfrastructureTreeXha.vue +++ b/front/src/views/home/detailsPageInfrastructureTreeXha.vue @@ -191,7 +191,10 @@ export default defineComponent({ mybus.on('getDeptList', () => { init() }) - + mybus.on('clearChoose', () => { + selectId.value='' + chooseId.value='' + }) const onSelect = async (item, val, child) => { let res = {} if (whoShow1.value && !whoShow1.value.itShowXiHaiAn) { @@ -270,7 +273,7 @@ export default defineComponent({ }, beforeUnmount() { mybus.off('getDeptList') - console.log('getDeptList销毁~~~~~~~~~~~~~~~~~~~') + mybus.off('clearChoose') }, components: { UpOutlined, diff --git a/front/src/views/home/infrastructureApplication.vue b/front/src/views/home/infrastructureApplication.vue index ddb63315..33842f48 100644 --- a/front/src/views/home/infrastructureApplication.vue +++ b/front/src/views/home/infrastructureApplication.vue @@ -2,7 +2,7 @@ * @Author: Light * @Date: 2022-11-18 11:53:43 * @LastEditors: Light - * @LastEditTime: 2022-11-19 17:15:15 + * @LastEditTime: 2022-11-21 17:51:38 * @Description: 告诉大家这是什么 -->
- +