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

test1

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