@@ -233,7 +229,7 @@ import Template from '../devtools/template.vue'
// })
export default {
components: { componentServices, applicationResources, ComponentUsed, AbilityDetail, Template },
- data () {
+ data() {
return {
checked: false,
departmentSelects: [],
@@ -353,12 +349,12 @@ export default {
{ name: '应用资源', value: 5 },
{ name: '会议室', value: 6 }
], // 类型备选列表
- typeOptions1: [//能力上架隐藏会议室
+ typeOptions1: [// 能力上架隐藏会议室
{ name: '智能算法', value: 1 },
{ name: '图层服务', value: 2 },
{ name: '开发组件', value: 3 },
{ name: '业务组件', value: 4 },
- { name: '应用资源', value: 5 },
+ { name: '应用资源', value: 5 }
], // 类型备选列表
detailFlag: false, // 明细返回按钮显示标志位
@@ -366,7 +362,7 @@ export default {
endDate: '' // 结束时间
}
},
- created () {
+ created() {
this.$http.get('/sys/dept/all').then(res => {
// console.log('获取部门=========>', res)
this.departmentSelects = []
@@ -387,22 +383,27 @@ export default {
// const date2 = new Date(year2, month2, day2, 7)
// this.value1.unshift(date2)
},
- mounted () {
+ mounted() {
// this.getFirstTree()
- if (this.departmentId === 1) {
- this.handleChose(3)
- // this.departmentId = 1;
- } else if (this.departmentId === 2) {
+ console.log('this.$route.query.Id;', this.$route.query.type)
+ if (this.$route.query.type === 'use') {
this.handleChose(4)
- // this.departmentId = 2;
} else {
+ if (this.departmentId === 1) {
+ this.handleChose(3)
+ // this.departmentId = 1;
+ } else if (this.departmentId === 2) {
+ this.handleChose(4)
+ // this.departmentId = 2;
+ } else {
+ }
}
},
computed: {
// ...mapState(['departmentSelects'])
},
methods: {
- chagneCheckbox () {
+ chagneCheckbox() {
if (this.checked) {
this.tableData = this.tableDataClone.filter(val => val.count !== 0)
this.total = this.tableData.length
@@ -411,7 +412,7 @@ export default {
this.total = this.tableData.length
}
},
- closeModal () {
+ closeModal() {
this.detailsVisible = false
},
handleCurrentChange (val) {
@@ -431,7 +432,7 @@ export default {
// this.getReleaseTree(val)
// }
},
- getTreeName (data) {
+ getTreeName(data) {
this.$http
.get('/census/center/v3/treeList/', {
params: {
@@ -461,7 +462,7 @@ export default {
// },
// 组件服务部门发布情况--改为能力上架统计
- getFirstTree (page) {
+ getFirstTree(page) {
if (this.examineStatus == '-1') {
this.status = ''
} else if (this.examineStatus == '0') {
@@ -527,7 +528,7 @@ export default {
})
},
// 组件服务部门使用情况列表-改为能力使用统计
- getSecondTree (page) {
+ getSecondTree(page) {
if (this.examineStatus == '-1') {
this.status = ''
} else if (this.examineStatus == '0') {
@@ -593,7 +594,7 @@ export default {
})
},
// 点击查看详情
- detailClick (row) {
+ detailClick(row) {
this.detailParamss = {}
const applyNumber = row.applyNumber
if (this.departmentId == 3) { // 能力上架
@@ -635,7 +636,7 @@ export default {
}
},
// 能力上架明细 能力上架统计
- getOneDetail (page) {
+ getOneDetail(page) {
var passAndReview = '' // 转变"通过"字段为通过
if (this.examineStatus == '-1') {
this.status = ''
@@ -674,7 +675,7 @@ export default {
})
},
// 能力使用明细 能力使用统计
- getTwoDetail (page) {
+ getTwoDetail(page) {
var passAndReview = '' // 转变"通过"字段为通过
if (this.examineStatus == '-1') {
this.status = ''
@@ -711,7 +712,7 @@ export default {
})
})
},
- getReleaseTree (page) {
+ getReleaseTree(page) {
this.$http
.get('/census/center/selectApplyDeptDetailTypeCountList/', {
params: {
@@ -758,7 +759,7 @@ export default {
})
},
// 应用资源部门使用情况列表
- getUsedTree () {
+ getUsedTree() {
this.$http
.get('/census/center/v3/resourceReleaseDetails/', {
params: {
@@ -772,7 +773,7 @@ export default {
this.tableData = res.data.data.list
})
},
- handleClick (row) {
+ handleClick(row) {
if (this.choseId === 0) {
if (this.departmentId === 1) {
this.homeIsShow = false
@@ -793,7 +794,7 @@ export default {
}
},
// 选择组件
- choseBtn (index) {
+ choseBtn(index) {
this.choseId = index
this.handleChose(1)
},
@@ -809,9 +810,11 @@ export default {
// }
// },
// 选择发布or使用表格
- handleChose (index) {
+ handleChose(index) {
this.checked = false
this.departmentId = index
+ this.currentPage=1
+ this.pageSize=10
if (index === 1) {
if (this.choseId === 0) {
if (!this.detailFlag) {
@@ -851,26 +854,32 @@ export default {
}
},
// 翻页
- handleSizeChange (val) {
+ handleSizeChange(val) {
console.log(`每页 ${val} 条`)
},
- closeChild () {
+ closeChild() {
this.homeIsShow = true
this.servicesIsShow = false
this.handleCurrentChange(1)
},
- closeChild2 () {
+ closeChild2() {
this.homeIsShow = true
this.UsedIsShow = false
this.handleCurrentChange(1)
},
- closeApplication () {
+ closeApplication() {
this.homeIsShow = true
this.resourcesIsShow = false
this.handleCurrentChange(1)
},
+ changeIiem(){
+ this.currentPage=1
+ this.pageSize=10
+ },
// 明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数
goToDetail () {
+ this.currentPage=1
+ this.pageSize=10
this.detailFlag = !this.detailFlag
if (this.departmentId === 1) {
this.handleChose(3)
@@ -882,8 +891,10 @@ export default {
}
},
// 返回按钮
- goToBack () {
+ goToBack() {
this.checked = false
+ this.currentPage=1,
+ this.pageSize=10,
// departmentId 1,3 2,4 两个值共同判断
this.detailFlag = !this.detailFlag
if (this.departmentId === 3) {
@@ -896,10 +907,12 @@ export default {
}
},
// 点击查询按钮查询数据
- getDataList () {
+ getDataList() {
if (this.value1 && this.value1.length > 0) {
- this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd')
- this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd')
+ // this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd')
+ // this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd')
+ this.startDate = this.value1[0]
+ this.endDate = this.value1[1]
} else {
this.startDate = ''
this.endDate = ''
@@ -927,7 +940,7 @@ export default {
}
},
// 重置按钮查询数据
- resetDataList () {
+ resetDataList() {
this.value1 = []
this.startDate = ''
this.endDate = ''
@@ -965,7 +978,7 @@ export default {
}
},
// 定义格式化函数:
- handleTime (time, format) {
+ handleTime(time, format) {
if (time == null || time == undefined || time == '') {
return ''
}
@@ -1159,24 +1172,16 @@ input::placeholder {
background: #fff;
border: 1px solid #dcdfe6;
color: #000;
+ color: #FFF;
+ background-color: #0058e1;
+ border-color: #0058e1;
+ text-decoration: none;
}
.export:hover {
- border-color: #c5ddfd;
- background-color: #ecf4fe;
- color: #0058e1;
- text-decoration: none;
+ background: #65a5f9;
+ border-color: #65a5f9;
+ color: #FFF;
}
-.export:active {
- border-color: #c5ddfd;
- background-color: #ecf4fe;
- color: #0058e1;
- text-decoration: none;
-}
-
-.export:visited {
- color: #fff;
- text-decoration: none;
-}
diff --git a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
index 418be3f7..663d940a 100644
--- a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
+++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
@@ -36,6 +36,7 @@
+
+
diff --git a/back/src/views/modules/sys/CapabilityOperationMonitoring/components/AbnormalSituation.vue b/back/src/views/modules/sys/CapabilityOperationMonitoring/components/AbnormalSituation.vue
index ff3d8f7f..21625307 100644
--- a/back/src/views/modules/sys/CapabilityOperationMonitoring/components/AbnormalSituation.vue
+++ b/back/src/views/modules/sys/CapabilityOperationMonitoring/components/AbnormalSituation.vue
@@ -142,48 +142,7 @@ export default {
// 排行榜
RankingData: [],
// 表格
- AnomalyStatisticsTable: [
- {
- name: '接口名称',
- address: 'http://hhhhhhhhhhhhhhhhhhhh',
- method: '调用方法',
- type: '组件类型',
- provider: '提供商名称',
- state: '监控状态'
- },
- {
- name: '接口名称',
- address: 'http://hhhhhhhhhhhhhhhhhhhh',
- method: '调用方法',
- type: '组件类型',
- provider: '提供商名称',
- state: '监控状态'
- },
- {
- name: '接口名称',
- address: 'http://hhhhhhhhhhhhhhhhhhhh',
- method: '调用方法',
- type: '组件类型',
- provider: '提供商名称',
- state: '监控状态'
- },
- {
- name: '接口名称',
- address: 'http://hhhhhhhhhhhhhhhhhhhh',
- method: '调用方法',
- type: '组件类型',
- provider: '提供商名称',
- state: '监控状态'
- },
- {
- name: '接口名称',
- address: 'http://hhhhhhhhhhhhhhhhhhhh',
- method: '调用方法',
- type: '组件类型',
- provider: '提供商名称',
- state: '监控状态'
- }
- ],
+ AnomalyStatisticsTable: [],
// 分页
currentPage4: 1,
total: 0
diff --git a/back/src/views/modules/sys/user.vue b/back/src/views/modules/sys/user.vue
index 5fbacc01..c77ab078 100644
--- a/back/src/views/modules/sys/user.vue
+++ b/back/src/views/modules/sys/user.vue
@@ -1,209 +1,92 @@
-
+
-
+
-
+
-
+
-
- {{ data.postName }}
+
+ {{ data.postName
+ }}
-
+
+
{{
- $t('query')
+ $t('query')
}}
- {{ $t('add') }}
+ {{ $t('add') }}
+
- {{ $t('deleteBatch') }}
+ {{ $t('deleteBatch')
+ }}
- {{ $t('export') }}
+ {{ $t('export') }}
+
重置
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ $getDictLabel('gender', scope.row.gender) }}
-
+
{{
- $t('user.status0')
+ $t('user.status0')
}}
{{
- $t('user.status1')
+ $t('user.status1')
}}
-
-
+
+
- {{ $t('update') }}
- {{ $t('delete') }}
+ {{ $t('update') }}
+ {{ $t('delete') }}
-
+
-
+
@@ -214,7 +97,7 @@ import AddOrUpdate from './user-add-or-update'
import qs from 'qs'
export default {
mixins: [mixinViewModule],
- data () {
+ data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/sys/user/page',
@@ -235,30 +118,33 @@ export default {
components: {
AddOrUpdate
},
- created () {
+ created() {
this.getPostList()
},
methods: {
- reset () {
+ reset() {
+ this.dataForm.username = ''
+ this.dataForm.real_name = ''
+ this.dataForm.deptId = ''
+ this.dataForm.postId = ''
+ this.dataForm.gender = ''
+ if (this.$refs.renDeptTree) {
+ this.$refs.renDeptTree.showDeptName = '';
+ }
this.$http
.get(
this.mixinViewModuleOptions.getDataListURL +
- '?' +
- qs.stringify({
- page: 1,
- limit: 10,
- username: '',
- deptId: '',
- postId: '',
- gender: ''
- })
+ '?' +
+ qs.stringify({
+ page: 1,
+ limit: 10,
+ username: '',
+ deptId: '',
+ postId: '',
+ gender: ''
+ })
)
.then(({ data: res }) => {
- this.dataForm.username = ''
- this.dataForm.real_name = ''
- this.dataForm.deptId = ''
- this.dataForm.postId = ''
- this.dataForm.gender = ''
if (res.code !== 0) {
this.dataList = []
this.total = 0
@@ -279,7 +165,7 @@ export default {
this.dataListLoading = false
})
},
- getPostList () {
+ getPostList() {
this.$http
.get('/sys/post/list')
.then(({ data: res }) => {
@@ -288,7 +174,7 @@ export default {
}
this.postList = res.data
})
- .catch(() => {})
+ .catch(() => { })
}
}
}
diff --git a/back/src/views/modules/workBench/components/dept-todo-view.vue b/back/src/views/modules/workBench/components/dept-todo-view.vue
index 4a018261..15a3fbce 100644
--- a/back/src/views/modules/workBench/components/dept-todo-view.vue
+++ b/back/src/views/modules/workBench/components/dept-todo-view.vue
@@ -9,7 +9,7 @@
>
-
{{ title }}
+
{{ '我的'+title }}
{{
formatNum(dataInfo.num)
@@ -90,7 +90,7 @@
查看更多 >
- 暂无数据
+ 暂无{{title}}任务
diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue
index 406a7ffa..47d6b958 100644
--- a/front/src/views/capacitySquare/components/algorithm.vue
+++ b/front/src/views/capacitySquare/components/algorithm.vue
@@ -1,31 +1,38 @@