Commit 63cafc4c by 匡雅琴

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-pd into v1.0.0

2 parents b1abaa7c 4e8daedc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26 * @Date: 2022-10-25 10:12:26
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-14 16:25:16 * @LastEditTime: 2023-07-14 16:49:50
* @FilePath: \dj-data-view\src\components\ViewTitle.vue * @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件 * @Description: 页面头部组件
--> -->
...@@ -69,9 +69,6 @@ export default { ...@@ -69,9 +69,6 @@ export default {
}, },
mounted() { mounted() {
this.timer() this.timer()
console.log(this.dataList)
// this.merchantList = utils.deepClone(this.dataList)
console.log(this.merchantList, '=-===')
}, },
methods: { methods: {
timer() { timer() {
...@@ -84,7 +81,6 @@ export default { ...@@ -84,7 +81,6 @@ export default {
}, },
// 监听子菜单变化 // 监听子菜单变化
selectVal(val) { selectVal(val) {
console.log(val)
this.firstTab = val this.firstTab = val
this.$bus.$emit('selectVal', val.value) this.$bus.$emit('selectVal', val.value)
this.openSelect() this.openSelect()
...@@ -110,7 +106,6 @@ export default { ...@@ -110,7 +106,6 @@ export default {
// } // }
// ] // ]
this.merchantList = [] this.merchantList = []
this.$bus.$emit('searchEmpty')
}, },
handleInput: utils.throttle(function(e) { handleInput: utils.throttle(function(e) {
this.searchMerchant() this.searchMerchant()
...@@ -242,4 +237,9 @@ export default { ...@@ -242,4 +237,9 @@ export default {
.search-empty { .search-empty {
text-align: center; text-align: center;
} }
input:focus-visible {
border: 1px solid;
outline-offset: -4vh;
border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1 !important;
}
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-05 15:11:53 * @Date: 2023-07-05 15:11:53
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-14 16:20:13 * @LastEditTime: 2023-07-14 16:34:42
--> -->
<template> <template>
<div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}"> <div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}">
...@@ -76,14 +76,7 @@ export default { ...@@ -76,14 +76,7 @@ export default {
}, },
mounted() { mounted() {
const { valueName, isObject, dataList, defaultValue } = this const { valueName, isObject, dataList, defaultValue } = this
console.log(valueName, isObject, dataList, defaultValue)
this.value = defaultValue || (isObject ? dataList[0][valueName] : dataList[0]) this.value = defaultValue || (isObject ? dataList[0][valueName] : dataList[0])
// console.log(this.value, (isObject ? item[valueName] : item) == value)
dataList.forEach(item => {
console.log(isObject ? item[valueName] : item)
})
// const { valueName, isObject, dataList } = this
// this.value = isObject ? dataList[0][valueName] : dataList[0]
}, },
methods: { methods: {
select(item) { select(item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!