版本号更新
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<div style="height: 300px;">
|
||||
<component :is="EChartsComponent" v-if="isPopoverVisible[`${scope.row.hostId}-${label.paramCode}`]"
|
||||
:title="label.paramCodeMeaning" :id="scope.row.hostId" :dataType="label.paramCode"
|
||||
:time="searchForm.time"></component>
|
||||
:time="scope.row.createDt.split('T')[0].replace(/-/g, '').substring(0, 8)"></component>
|
||||
</div>
|
||||
<template #reference>
|
||||
<span @mouseover="openPopover(scope.row.hostId, label.paramCode)"
|
||||
@@ -60,7 +60,7 @@
|
||||
<div style="height: 300px;">
|
||||
<component :is="EChartsComponent" v-if="isPopoverVisible[`${scope.row.hostId}-${label.paramCode}`]"
|
||||
:title="label.paramCodeMeaning" :id="scope.row.hostId" :dataType="label.paramCode"
|
||||
:time="searchForm.time">
|
||||
:time="scope.row.createDt.split('T')[0].replace(/-/g, '').substring(0, 8)">
|
||||
</component>
|
||||
</div>
|
||||
<template #reference>
|
||||
@@ -138,7 +138,7 @@
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<el-dialog v-model="filterdialogVisible" width="800px">
|
||||
<el-dialog v-model="filterdialogVisible" width="800px" :before-close="handleClose">
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="8">
|
||||
<label>选择筛选条件</label>
|
||||
@@ -169,7 +169,7 @@
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
<!-- <el-button @click="filterdialogVisible = false">取消</el-button> -->
|
||||
<el-button type="primary" @click="filterdialogVisible = false">
|
||||
<el-button type="primary" @click="handelClick">
|
||||
确认
|
||||
</el-button>
|
||||
</span>
|
||||
@@ -185,7 +185,7 @@
|
||||
// import { getToken, setToken, removeToken } from '@/utils/storage'
|
||||
import { tkhostdata, dicts, tkhostdetail, downList, getStaffList, managerhosts, upholdinfo, getCountryinfo } from '@/api/account';
|
||||
import { usePythonBridge, } from '@/utils/pythonBridge'
|
||||
import { getUser } from '@/utils/storage'
|
||||
import { getUser, setSerch, getSerch } from '@/utils/storage'
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
import EChartsComponent from '@/components/EChartsComponent.vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
@@ -205,7 +205,8 @@ const tableData = ref([])
|
||||
//选择国家
|
||||
const searchForm = ref({
|
||||
country: '',
|
||||
time: new Date().toISOString().split('T')[0].replace(/-/g, ''),
|
||||
// time: new Date().toISOString().split('T')[0].replace(/-/g, ''),
|
||||
time: '',
|
||||
dataType: '',
|
||||
dataStart: '',
|
||||
dataEnd: '',
|
||||
@@ -240,14 +241,17 @@ const isPopoverVisible = reactive({})
|
||||
|
||||
let options = ref([])
|
||||
|
||||
onMounted(() => {
|
||||
//获取字典
|
||||
getdictionary()
|
||||
//获取下级员工
|
||||
getStaff();
|
||||
//获取国家
|
||||
getCountry();
|
||||
let version = ref('0.0.0');
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
getdictionary()//获取字典
|
||||
|
||||
getStaff(); //获取下级员工
|
||||
|
||||
getCountry(); //获取国家
|
||||
|
||||
getSerchStorage();//获取搜索条件
|
||||
|
||||
getlist();//获取主播列表
|
||||
})
|
||||
@@ -347,7 +351,29 @@ const getlist = () => {
|
||||
})
|
||||
|
||||
}
|
||||
function handelClick() {
|
||||
setSerch({ dataType: searchForm.value.dataType, dataStart: searchForm.value.dataStart, dataEnd: searchForm.value.dataEnd })
|
||||
filterdialogVisible.value = false
|
||||
}
|
||||
|
||||
function handleClose(done) {
|
||||
console.log('关闭')
|
||||
searchForm.value = {
|
||||
dataType: '',
|
||||
dataStart: '',
|
||||
dataEnd: '',
|
||||
}
|
||||
done()
|
||||
}
|
||||
|
||||
function getSerchStorage() {
|
||||
if (getSerch()) {
|
||||
searchForm.value.dataType = getSerch().dataType
|
||||
searchForm.value.dataStart = getSerch().dataStart
|
||||
searchForm.value.dataEnd = getSerch().dataEnd
|
||||
}
|
||||
|
||||
}
|
||||
function openComment(data) {
|
||||
console.log(data)
|
||||
commentInfo.value = data.comment
|
||||
|
||||
Reference in New Issue
Block a user