提交 a22711d1 编写于 作者: 杨广俊's avatar 杨广俊

test1

上级 69af73d2
...@@ -24,6 +24,13 @@ ...@@ -24,6 +24,13 @@
</template> </template>
<script> <script>
import {
m_search_history_search_hs,
m_search_history_search_db,
m_search_history_search_d,
m_search_history_search_da,
m_search_history_search_dc,
} from '@/utils/buryingPoint'
import ConfirmTip from '@/components/common/confirm-tip' import ConfirmTip from '@/components/common/confirm-tip'
export default { export default {
name: 'HistoryLabels', name: 'HistoryLabels',
...@@ -61,6 +68,11 @@ export default { ...@@ -61,6 +68,11 @@ export default {
}, },
methods: { methods: {
searchAction(searchText) { searchAction(searchText) {
this.pageBurialPoin({
...m_search_history_search_hs,
labelValue: searchText,
createdTime: new Date().getTime(),
})
if(this.showDelete) return if(this.showDelete) return
this.$router.push({ this.$router.push({
path: '/result', path: '/result',
...@@ -87,6 +99,19 @@ export default { ...@@ -87,6 +99,19 @@ export default {
// 删除关键词 // 删除关键词
deleteLabels(isAll, index=0, length=1) { deleteLabels(isAll, index=0, length=1) {
if(isAll) {
this.pageBurialPoin({
...m_search_history_search_da,
labelValue: '全部删除',
createdTime: new Date().getTime(),
})
} else {
this.pageBurialPoin({
...m_search_history_search_d,
labelValue: '单个删除',
createdTime: new Date().getTime(),
})
}
let _this = this, let _this = this,
para = { para = {
token: _this.token, token: _this.token,
...@@ -114,6 +139,12 @@ export default { ...@@ -114,6 +139,12 @@ export default {
this.deleteLabels(true) this.deleteLabels(true)
}, },
toggleDelete() { toggleDelete() {
this.pageBurialPoin({
...m_search_history_search_db,
labelValue: this.showDelete - 0,
createdTime: new Date().getTime(),
})
this.showDelete = !this.showDelete this.showDelete = !this.showDelete
}, },
getUserInfo: function () { getUserInfo: function () {
...@@ -122,8 +153,8 @@ export default { ...@@ -122,8 +153,8 @@ export default {
confirmDelete() { confirmDelete() {
this.showConfirm = true this.showConfirm = true
this.pageBurialPoin({ this.pageBurialPoin({
...m_search_result_lecturer_order, ...m_search_history_search_da,
labelValue: orderIndex, labelValue: this.showConfirm - 1,
createdTime: new Date().getTime(), createdTime: new Date().getTime(),
}) })
} }
...@@ -175,6 +206,11 @@ export default { ...@@ -175,6 +206,11 @@ export default {
background-color: #F8F8F8; background-color: #F8F8F8;
color: #999; color: #999;
font-size: px2rem(13px); font-size: px2rem(13px);
span {
background-color: #F8F8F8;
color: #999;
font-size: px2rem(13px);
}
img { img {
position: absolute; position: absolute;
top: px2rem(-10px); top: px2rem(-10px);
......
...@@ -241,18 +241,18 @@ export function jumpEvaluatPage(){ ...@@ -241,18 +241,18 @@ export function jumpEvaluatPage(){
// dev地址 // dev地址
// const baseUrl = 'http://192.168.140.14:10201/' // const baseUrl = 'http://192.168.140.14:10201/'
const baseUrl = 'http://10.177.10.149:8080/' // const baseUrl = 'http://10.177.10.149:8080/'
// const baseUrl = 'http://192.168.140.14:10201/' // // const baseUrl = 'http://192.168.140.14:10201/'
// const baseUrl = 'https://dev-sc.yunqueyi.com/' // // const baseUrl = 'https://dev-sc.yunqueyi.com/'
const apiUrl = 'https://dev-api.yunqueyi.com/' // const apiUrl = 'https://dev-api.yunqueyi.com/'
const evaluatPageUrl = 'https://dev-phome.yunqueyi.com/gpr/#/home' // const evaluatPageUrl = 'https://dev-phome.yunqueyi.com/gpr/#/home'
export const jumpWebPageUrl = 'https://dev-phome.yunqueyi.com/appl/#/' // export const jumpWebPageUrl = 'https://dev-phome.yunqueyi.com/appl/#/'
// // test1地址 // test1地址
// const baseUrl = 'https://test1-sc.yunqueyi.com/' const baseUrl = 'https://test1-sc.yunqueyi.com/'
// const apiUrl = 'https://test1-api.yunqueyi.com/' const apiUrl = 'https://test1-api.yunqueyi.com/'
// const evaluatPageUrl = 'http://10.177.10.225:9001/#/home' || 'https://test1-phome.yunqueyi.com/gpr/#/home' const evaluatPageUrl = 'http://10.177.10.225:9001/#/home' || 'https://test1-phome.yunqueyi.com/gpr/#/home'
// export const jumpWebPageUrl = 'https://test1-phome.yunqueyi.com/appl/#/' export const jumpWebPageUrl = 'https://test1-phome.yunqueyi.com/appl/#/'
// const baseUrl = 'https://uat-sc.yunqueyi.com/' // const baseUrl = 'https://uat-sc.yunqueyi.com/'
// const apiUrl = 'https://uat-api.yunqueyi.com/' // const apiUrl = 'https://uat-api.yunqueyi.com/'
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
<script> <script>
import { import {
m_search_search,
m_search_result_tab_switch m_search_result_tab_switch
} from '@/utils/buryingPoint' } from '@/utils/buryingPoint'
import SplitLine from '../components/business/split-line'; import SplitLine from '../components/business/split-line';
...@@ -173,6 +174,11 @@ export default { ...@@ -173,6 +174,11 @@ export default {
}, },
// 搜索结果 // 搜索结果
search() { search() {
this.pageBurialPoin({
...m_search_search,
labelValue: this.searchText,
createdTime: new Date().getTime(),
})
this.showLoading = true this.showLoading = true
let _this = this, let _this = this,
para = { para = {
......
...@@ -16,13 +16,6 @@ ...@@ -16,13 +16,6 @@
<script> <script>
import {mapState, mapMutations} from 'vuex' import {mapState, mapMutations} from 'vuex'
import { sortParmData } from '@/utils/index'
import {
m_search_result_five_minutes_detail,
m_search_result_five_minutes_order,
m_search_result_five_minutes_top,
} from '@/utils/buryingPoint'
import SearchHeader from '../components/business/search-header'; import SearchHeader from '../components/business/search-header';
import SplitLine from '../components/business/split-line'; import SplitLine from '../components/business/split-line';
import HistoryLabels from '../components/business/history-labels'; import HistoryLabels from '../components/business/history-labels';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册