diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue
index e5900aae..930685e1 100644
--- a/back/src/views/modules/ability/bsabilityai.vue
+++ b/back/src/views/modules/ability/bsabilityai.vue
@@ -424,7 +424,7 @@ export default {
this.submitFrom.infoList.push(obj)
},
submitData () {
- console.log('编辑11111111111===============>', this.putOnTheShelfList)
+ console.log('提交11111111111===============>', this.putOnTheShelfList)
const arr = []
this.putOnTheShelfList.map(item => {
item.children.map(child => {
diff --git a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
index e87ccf59..88ac92a0 100644
--- a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
+++ b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue
@@ -113,10 +113,39 @@ export default {
this.options = dataList
if (!this.data.note1) {
this.$http.get('/sys/user/info').then(({ data: res }) => {
+ console.log(res.data)
this.data.note1 = res.data.deptId
})
}
})
+ } else if (this.data.name === '部门联系人') {
+ this.$http.get('/sys/dept/all').then(res => {
+ const dataList = []
+ res.data.data.forEach((element) => {
+ dataList.push(element)
+ })
+ this.options = dataList
+ if (!this.data.note1) {
+ this.$http.get('/sys/user/info').then(({ data: res }) => {
+ console.log(res.data)
+ this.data.note1 = res.data.realName || ''
+ })
+ }
+ })
+ } else if (this.data.name === '部门联系人电话') {
+ this.$http.get('/sys/dept/all').then(res => {
+ const dataList = []
+ res.data.data.forEach((element) => {
+ dataList.push(element)
+ })
+ this.options = dataList
+ if (!this.data.note1) {
+ this.$http.get('/sys/user/info').then(({ data: res }) => {
+ console.log(res.data)
+ this.data.note1 = res.data.mobile || ''
+ })
+ }
+ })
}
},
chekBoxChange (list) {
diff --git a/back/src/views/modules/putOnTheShelf/components/special.vue b/back/src/views/modules/putOnTheShelf/components/special.vue
index 54e3a782..d5de6cfe 100644
--- a/back/src/views/modules/putOnTheShelf/components/special.vue
+++ b/back/src/views/modules/putOnTheShelf/components/special.vue
@@ -36,13 +36,32 @@
{{ val.name }}
-
+
+
+
+
+ {{
+ numType == '一次性买断'
+ ? '元'
+ : numType == '按调用次数'
+ ? '元/次'
+ : numType == '按并发路数'
+ ? '元/路'
+ : numType == '按年计费'
+ ? '元/年'
+ : ''
+ }}
+
+
-
+
@@ -68,7 +87,8 @@ export default {
data () {
return {
data: [],
- showKey: 0
+ showKey: 0,
+ numType: '一次性买断'
}
},
methods: {
@@ -85,7 +105,21 @@ export default {
if (flag) {
const obj = {}
list.forEach((item) => {
- obj[item.field] = item.note1
+ if (item.type === 'input2') {
+ obj[item.field] =
+ item.note1 +
+ (this.numType === '一次性买断'
+ ? '元'
+ : this.numType === '按调用次数'
+ ? '元/次'
+ : this.numType === '按并发路数'
+ ? '元/路'
+ : this.numType === '按年计费'
+ ? '元/年'
+ : '')
+ } else {
+ obj[item.field] = item.note1
+ }
})
this.data.push(obj)
this.$emit('changeInfoList', {
@@ -108,6 +142,10 @@ export default {
attrValue: JSON.stringify(this.data),
delFlag: 0
})
+ },
+ radioChange (e) {
+ console.log(e, 'wewewe')
+ this.numType = e.target.value
}
},
created () {
diff --git a/back/src/views/modules/putOnTheShelf/index.vue b/back/src/views/modules/putOnTheShelf/index.vue
index 7e6c279f..85763ee6 100644
--- a/back/src/views/modules/putOnTheShelf/index.vue
+++ b/back/src/views/modules/putOnTheShelf/index.vue
@@ -23,8 +23,8 @@
tip="支持文件类型,大小不超过100M">
-
-
+
+
@@ -106,13 +106,13 @@ export default {
field: 'type',
type: 'radio',
options: ['一次性买断', '按调用次数', '按并发路数', '按年计费'],
- note1: ''
+ note1: '一次性买断'
},
{
name: '计费标准',
field: 'price',
- type: 'number',
- company: '元',
+ type: 'input2',
+ // company: '元',
note1: ''
},
{
diff --git a/back/src/views/modules/sys/log-data-modification-log.vue b/back/src/views/modules/sys/log-data-modification-log.vue
index 37079a4d..a482cea2 100644
--- a/back/src/views/modules/sys/log-data-modification-log.vue
+++ b/back/src/views/modules/sys/log-data-modification-log.vue
@@ -221,7 +221,7 @@ export default {
}
},
operationType (val) {
- if (val !== 'all') {
+ if (val !== 'all' && val !== '') {
this.dataForm.operationType = val
}
}
@@ -245,6 +245,7 @@ export default {
// 重置按钮
resetFunction () {
+ this.operationType = '' // 操作类型转化
const params = {
status: '',
creatorName: '',
@@ -254,10 +255,10 @@ export default {
operationType: 'all'
}
this.value1 = '' // 格式化日期
- this.operationType = '' // 操作类型转化
this.page = 1
this.limit = 10
this.dataForm = params
+ console.log('this.dataForm', this.dataForm)
this.getDataList() // 重置完调用查询方法
},
// 序号
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index 66106bcf..685e6098 100644
--- a/front/public/static/config/location.js
+++ b/front/public/static/config/location.js
@@ -32,7 +32,7 @@ if (newLocation === 'qingdao') {
{ name: '能力统计', key: 'abilityStatistics' },
// { name: '开发指南', key: 'developmentGuide' },
{ name: '指导手册', key: 'instructionManual' },
- // { name: '需求中心', key: 'demandCenter' },
+ { name: '需求中心', key: 'demandCenter' },
// { name: '个人中心', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' },
// { name: '后台管理', key: 'houtaiguanli' },
diff --git a/front/src/api/videoSurveillance.js b/front/src/api/videoSurveillance.js
index 53b714d7..94198d54 100644
--- a/front/src/api/videoSurveillance.js
+++ b/front/src/api/videoSurveillance.js
@@ -33,14 +33,14 @@ export function searchCamera(params) {
}
export function getCameraAllOrgan(params) {
return request({
- url: `/api/project/selectSubOrgan`,
+ url: `/api/project/selectSubOrganNew`,
method: 'get',
params,
})
}
export function getCameraByParentId(params) {
return request({
- url: `/api/project/selectByParentId`,
+ url: `/api/project/selectByParentIdNew`,
method: 'get',
params,
})
diff --git a/front/src/views/capacityOnTheShelf/Algorithm.vue b/front/src/views/capacityOnTheShelf/Algorithm.vue
index ee58275e..ac9df6a4 100644
--- a/front/src/views/capacityOnTheShelf/Algorithm.vue
+++ b/front/src/views/capacityOnTheShelf/Algorithm.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-13 10:22:27
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-14 09:44:38
+ * @LastEditTime: 2022-07-15 16:28:56
* @Description: 算法上架
-->
@@ -80,6 +80,7 @@
> -->