Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into zj
This commit is contained in:
@@ -315,11 +315,12 @@ export default defineComponent({
|
||||
const modalNode = () => document.getElementsByClassName('modal-container')[0]
|
||||
|
||||
const chiveslist = ref<any>([[],[]]);
|
||||
const languages = ref<unknown>([])
|
||||
const quhaolist = ref<any>([])
|
||||
const myquhao=ref<string>("")
|
||||
const languages = ref<unknown>([]);
|
||||
const quhaolist = ref<any>([]);
|
||||
const myquhao = ref<string>("");
|
||||
|
||||
const mynewtel=ref<string>("")
|
||||
const mynewtel = ref<string>("");
|
||||
const isSecondStep: Ref<boolean> = ref(false);
|
||||
onMounted(async ()=>{
|
||||
chiveslist.value = await getarchives()
|
||||
languages.value = await getlanguages()
|
||||
@@ -395,7 +396,6 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
// 绑定手机号是否是第二步
|
||||
const isSecondStep: Ref<boolean> = ref(false);
|
||||
interface BindPhoneItem{
|
||||
number: string | number;
|
||||
code: string | number;
|
||||
@@ -504,7 +504,7 @@ export default defineComponent({
|
||||
// console.log(toRaw(formData.value).willsay[i])
|
||||
// }
|
||||
for(let m=0;m<toRaw(chiveslist.value).length;m++){
|
||||
for(let i in toRaw(formData.value).willsayValue){
|
||||
for(const i in toRaw(formData.value).willsayValue){
|
||||
// console.log(toRaw(formData.value).willsayValue[i])
|
||||
|
||||
if(typeof toRaw(formData.value).willsay[i].name=='string'){
|
||||
@@ -551,7 +551,7 @@ export default defineComponent({
|
||||
async function uploads(file: AntUpload) {
|
||||
uploadprogress.value=0
|
||||
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
|
||||
@@ -121,7 +121,7 @@ export default defineComponent({
|
||||
},
|
||||
setup() {
|
||||
interface FileItem {
|
||||
video:Array<string>,
|
||||
video: Array<string>;
|
||||
}
|
||||
const fileList: Array<FileItem> = [];
|
||||
|
||||
@@ -195,7 +195,7 @@ export default defineComponent({
|
||||
file: File;
|
||||
}
|
||||
async function uploadspic(file: AntUpload) {
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadpicprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
@@ -216,7 +216,7 @@ export default defineComponent({
|
||||
console.log(videos.value[0].duration);
|
||||
form.value.fileduration = videos.value[0].duration;
|
||||
});
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
|
||||
@@ -272,7 +272,7 @@ export default defineComponent({
|
||||
validate()
|
||||
.then(() => {
|
||||
// console.log(toRaw(form),111);
|
||||
let subdata = toRaw(form);
|
||||
const subdata = toRaw(form);
|
||||
// subdata.fileid=picinfo.
|
||||
console.log(subdata);
|
||||
liveadd(subdata);
|
||||
@@ -294,7 +294,7 @@ export default defineComponent({
|
||||
*/
|
||||
|
||||
function startchange(e: string): void {
|
||||
let month=new Date(e).getMonth()+1
|
||||
const month = new Date(e).getMonth()+1
|
||||
console.log(new Date(e).getFullYear()+"-"+month+'-'+new Date(e).getDate())
|
||||
form.dateline =
|
||||
new Date(e).getFullYear() +
|
||||
@@ -326,7 +326,7 @@ export default defineComponent({
|
||||
console.log(videos.value[0].duration);
|
||||
form.fileduration = videos.value[0].duration;
|
||||
});
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
@@ -337,7 +337,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function uploadspic(file: AntUpload) {
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadpicprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
|
||||
@@ -67,13 +67,13 @@ export default defineComponent({
|
||||
withdrawallist.value=await withdrawal()
|
||||
console.log(withdrawallist.value)
|
||||
})
|
||||
async function onChange(e: any,dateString:string){
|
||||
async function onChange(e: any,dateString: string){
|
||||
console.log(dateString)
|
||||
dates.value[0]=dateString[0]
|
||||
dates.value[1]=dateString[1]
|
||||
withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1]})
|
||||
}
|
||||
function navto(index: number,id?:number) {
|
||||
function navto(index: number,id?: number) {
|
||||
let url = "";
|
||||
switch (index) {
|
||||
case 1:
|
||||
@@ -100,7 +100,7 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
|
||||
async function pagechange(e:any) {
|
||||
async function pagechange(e: any) {
|
||||
console.log(e)
|
||||
page.value=e
|
||||
withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1],page:e});
|
||||
|
||||
@@ -121,7 +121,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
})
|
||||
function navto(index: number,id?:number) {
|
||||
function navto(index: number,id?: number) {
|
||||
let url = "";
|
||||
switch (index) {
|
||||
case 1:
|
||||
|
||||
@@ -246,7 +246,7 @@ export default defineComponent({
|
||||
function listchange(e: number){
|
||||
listindex.value=e
|
||||
}
|
||||
async function onChange(e: any,dateString:string){
|
||||
async function onChange(e: any,dateString: string){
|
||||
console.log(dateString)
|
||||
dates.value[0]=dateString[0]
|
||||
dates.value[1]=dateString[1]
|
||||
@@ -255,12 +255,12 @@ export default defineComponent({
|
||||
async function del(e: number){
|
||||
deleteaccount(e)
|
||||
}
|
||||
async function pagechange(e:any) {
|
||||
async function pagechange(e: any) {
|
||||
console.log(e)
|
||||
page.value=e
|
||||
salelist.value=await saleinfo({status:state.value,bdate:dates.value[0],edate:dates.value[1],page:e});
|
||||
}
|
||||
function navto(index: number,id?:number) {
|
||||
function navto(index: number,id?: number) {
|
||||
let url = "";
|
||||
switch (index) {
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user