初始化列表
This commit is contained in:
@@ -14,7 +14,7 @@ let baseURL = ''
|
|||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// 生产环境
|
// 生产环境
|
||||||
baseURL = "http://120.26.251.180:8085/"
|
baseURL = "http://120.26.251.180:8085/"
|
||||||
// baseURL = "http://192.168.0.115:8085/"
|
// baseURL = "http://192.168.0.116:8085/"
|
||||||
} else {
|
} else {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
baseURL = "http://120.26.251.180:8085/"
|
baseURL = "http://120.26.251.180:8085/"
|
||||||
|
|||||||
@@ -247,6 +247,9 @@ onMounted(() => {
|
|||||||
getStaff();
|
getStaff();
|
||||||
//获取国家
|
//获取国家
|
||||||
getCountry();
|
getCountry();
|
||||||
|
|
||||||
|
|
||||||
|
getlist();//获取主播列表
|
||||||
})
|
})
|
||||||
|
|
||||||
function serch() {
|
function serch() {
|
||||||
@@ -259,8 +262,8 @@ function exportList() {
|
|||||||
searchForm.value.dataEnd = searchForm.value.dataStart
|
searchForm.value.dataEnd = searchForm.value.dataStart
|
||||||
}
|
}
|
||||||
exportToExcel({
|
exportToExcel({
|
||||||
searchTime: searchForm.value.time,
|
searchTime: searchForm.value.time == '' ? null : searchForm.value.time,
|
||||||
region: searchForm.value.country,
|
region: searchForm.value.country == '' ? null : searchForm.value.country,
|
||||||
dataType: searchForm.value.dataType == '' ? null : searchForm.value.dataType,
|
dataType: searchForm.value.dataType == '' ? null : searchForm.value.dataType,
|
||||||
dataStart: searchForm.value.dataStart == '' ? null : searchForm.value.dataStart,
|
dataStart: searchForm.value.dataStart == '' ? null : searchForm.value.dataStart,
|
||||||
dataEnd: searchForm.value.dataEnd == '' ? null : searchForm.value.dataEnd,
|
dataEnd: searchForm.value.dataEnd == '' ? null : searchForm.value.dataEnd,
|
||||||
@@ -317,8 +320,8 @@ const getlist = () => {
|
|||||||
loading.value = true
|
loading.value = true
|
||||||
console.log(searchForm.value)
|
console.log(searchForm.value)
|
||||||
tkhostdata({
|
tkhostdata({
|
||||||
searchTime: searchForm.value.time,
|
searchTime: searchForm.value.time == '' ? null : searchForm.value.time,
|
||||||
region: searchForm.value.country,
|
region: searchForm.value.country == '' ? null : searchForm.value.country,
|
||||||
dataType: searchForm.value.dataType == '' ? null : searchForm.value.dataType,
|
dataType: searchForm.value.dataType == '' ? null : searchForm.value.dataType,
|
||||||
dataStart: searchForm.value.dataStart == '' ? null : searchForm.value.dataStart,
|
dataStart: searchForm.value.dataStart == '' ? null : searchForm.value.dataStart,
|
||||||
dataEnd: searchForm.value.dataEnd == '' ? null : searchForm.value.dataEnd,
|
dataEnd: searchForm.value.dataEnd == '' ? null : searchForm.value.dataEnd,
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
<div>可邀请: <span>{{ hostData.canInvitationCount }}</span></div>
|
<div>可邀请: <span>{{ hostData.canInvitationCount }}</span></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="center-line" style="padding-top: 15vh;">
|
<div class="center-line" style="padding-top: 15vh;">
|
||||||
<el-button class="open-login" type="primary" @click="openTK">开启tk</el-button>
|
<el-button class="open-login" type="primary" @click="openTK">开启tk</el-button>
|
||||||
</div> -->
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<el-button class="open-login" style="margin-left: 60px;"
|
<el-button class="open-login" style="margin-left: 60px;"
|
||||||
:disabled="!(tkData[index].code == 0 && !isLogin[index])" type="primary"
|
:disabled="!(tkData[index].code == 0 && !isLogin[index])" type="primary"
|
||||||
@click="loginTK(index)">登录tk</el-button>
|
@click="loginTK(index)">登录后台</el-button>
|
||||||
<div v-if="tkData[index].code == 0" class="loginState"></div>
|
<div v-if="tkData[index].code == 0" class="loginState"></div>
|
||||||
<div v-if="tkData[index].code == 1" class="loginState" style="background-color: green;"></div>
|
<div v-if="tkData[index].code == 1" class="loginState" style="background-color: green;"></div>
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
<!-- <el-button class="reset-button" @click="reset">重置数据</el-button> -->
|
<!-- <el-button class="reset-button" @click="reset">重置数据</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>n
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
@@ -177,7 +177,7 @@ let pyData = ref({
|
|||||||
});
|
});
|
||||||
|
|
||||||
//按钮提交状态
|
//按钮提交状态
|
||||||
let submitting = ref(false);
|
let submitting = ref(true);
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
//从缓存获取数据
|
//从缓存获取数据
|
||||||
@@ -341,12 +341,12 @@ const loginTK = (index) => {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// const openTK = () => {
|
const openTK = () => {
|
||||||
// isTk.value = true;
|
// isTk.value = true;
|
||||||
// console.log(isTk.value)
|
// console.log(isTk.value)
|
||||||
// loginTikTok();
|
loginTikTok();
|
||||||
|
|
||||||
// }
|
}
|
||||||
|
|
||||||
function getloginStatus() {
|
function getloginStatus() {
|
||||||
backStageloginStatus().then((res) => {
|
backStageloginStatus().then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user