diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index ab4c9931..ae81da9b 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -2,7 +2,7 @@ import Cookies from 'js-cookie' import qs from 'qs' import { deepClone } from '@/utils/form-generator/index' export default { - data() { + data () { /* eslint-disable */ return { // 设置属性 @@ -38,19 +38,19 @@ export default { } /* eslint-enable */ }, - created() { + created () { if (this.mixinViewModuleOptions.createdIsNeed) { this.query() } }, - activated() { + activated () { if (this.mixinViewModuleOptions.activatedIsNeed) { this.query() } }, methods: { // 获取数据列表 - query() { + query () { this.dataListLoading = true this.$http.get( this.mixinViewModuleOptions.getDataListURL + '?' + qs.stringify({ @@ -102,7 +102,7 @@ export default { return item } }) - this.total = this.mixinViewModuleOptions.getDataListIsPage ? this.dataList.length : 0 + this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 }) } else { this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 @@ -118,11 +118,11 @@ export default { }) }, // 多选 - dataListSelectionChangeHandle(val) { + dataListSelectionChangeHandle (val) { this.dataListSelections = val }, // 排序 - dataListSortChangeHandle(data) { + dataListSortChangeHandle (data) { if (!data.order || !data.prop) { this.order = '' this.orderField = '' @@ -133,13 +133,13 @@ export default { this.query() }, // 分页, 每页条数 - pageSizeChangeHandle(val) { + pageSizeChangeHandle (val) { this.page = 1 this.limit = val this.query() }, // 分页, 当前页 - pageCurrentChangeHandle(val) { + pageCurrentChangeHandle (val) { this.page = val this.query() }, @@ -148,7 +148,7 @@ export default { this.query() }, // 新增 - addOrUpdateHandle(id) { + addOrUpdateHandle (id) { this.addOrUpdateVisible = true this.disabled = false this.$nextTick(() => { @@ -159,7 +159,7 @@ export default { }, // 组件服务新增 - addOrUpdateHandleAI(id) { + addOrUpdateHandleAI (id) { // const infoList = [] let showList = [] this.$http.get('category/getCategoryTree').then(({ data: res }) => { @@ -217,7 +217,7 @@ export default { }, 100) }, // 应用资源新增 - addOrUpdateHandleServe(id) { + addOrUpdateHandleServe (id) { // const infoList = [] let showList = [] this.$http.get('category/getCategoryTree').then(({ data: res }) => { @@ -275,7 +275,7 @@ export default { }, 100) }, // 修改 - UpdateHandle(val) { + UpdateHandle (val) { this.addOrUpdateVisible = true this.disabled = false const cloneVal = deepClone(val) @@ -300,7 +300,7 @@ export default { }) }, // 关闭当前窗口 - closeCurrentTab(data) { + closeCurrentTab (data) { var tabName = this.$store.state.contentTabsActiveName this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name !== tabName) if (this.$store.state.contentTabs.length <= 0) { @@ -312,7 +312,7 @@ export default { } }, // 删除 - deleteHandle(id) { + deleteHandle (id) { if (this.mixinViewModuleOptions.deleteIsBatch && !id && this.dataListSelections.length <= 0) { return this.$message({ message: this.$t('prompt.deleteBatch'), @@ -346,7 +346,7 @@ export default { }).catch(() => { }) }, - deleteHandle2(id) { + deleteHandle2 (id) { console.log('删除========================》', id, this.dataListSelections) const ids = [] if (id) { @@ -364,7 +364,7 @@ export default { }) }, // 导出 - exportHandle() { + exportHandle () { var params = qs.stringify({ token: Cookies.get('ucsToken'), ...this.dataForm diff --git a/back/src/views/modules/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue new file mode 100644 index 00000000..1a3edea2 --- /dev/null +++ b/back/src/views/modules/myAgent/CompetencyApplication.vue @@ -0,0 +1,169 @@ + + + + diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index cbb74731..688a983f 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -1,13 +1,13 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 - * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-24 18:16:44 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-27 14:22:56 * @Description: 数据资源参数配置 */ -// const newLocation = 'qingdao' -// const newLocation = 'baotou' const newLocation = 'qingdao' +// const newLocation = 'baotou' +// const newLocation = 'xihaian' // 数据资源数据 const whoShow = {} diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index 0b2bbfaa..77d4e9eb 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-24 15:04:52 + * @LastEditTime: 2022-06-27 12:52:18 * @Description: 告诉大家这是什么 --> diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue index b55ce3a7..4a2ff938 100644 --- a/front/src/views/personalCenter/components/PurchaseVehicle.vue +++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue @@ -1,23 +1,80 @@ -
-
- - 全选 - - - - 删除 - - - - 收藏 - -
-
-

- 合计: - {{ checkedList.length }} - -

- - 一键申请 - -
-