dev
This commit is contained in:
parent
4cd71ef10c
commit
4bcc94dbcb
|
|
@ -4,6 +4,7 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {Search} from "@element-plus/icons-vue";
|
import {Search} from "@element-plus/icons-vue";
|
||||||
import {formatDate} from "@/utils/dateUtils";
|
import {formatDate} from "@/utils/dateUtils";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
interface TableItem {
|
interface TableItem {
|
||||||
name: string;
|
name: string;
|
||||||
|
|
@ -44,7 +45,7 @@ let init = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post("social/upload/get3501List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3501List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
@ -55,7 +56,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post("social/upload/get3501List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3501List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,7 @@ import {ref, computed, onMounted} from 'vue'
|
||||||
import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
|
import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {Minus, Plus, Search} from "@element-plus/icons-vue";
|
import {Minus, Plus, Search} from "@element-plus/icons-vue";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
// 模拟数据
|
// 模拟数据
|
||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
|
|
@ -191,7 +192,7 @@ let init = () => {
|
||||||
createTimeBefore: value1.value ? formatDate(value1.value[0]) : null,
|
createTimeBefore: value1.value ? formatDate(value1.value[0]) : null,
|
||||||
createTimeAfter: value1.value ? formatDate(value1.value[1]) : null,
|
createTimeAfter: value1.value ? formatDate(value1.value[1]) : null,
|
||||||
}
|
}
|
||||||
post("social/upload/get3502List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3502List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
@ -203,7 +204,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post("social/upload/get3502List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3502List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,7 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {Minus, Plus} from "@element-plus/icons-vue";
|
import {Minus, Plus} from "@element-plus/icons-vue";
|
||||||
import {formatDate} from "@/utils/dateUtils.ts";
|
import {formatDate} from "@/utils/dateUtils.ts";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
// 模拟数据
|
// 模拟数据
|
||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
|
|
@ -126,7 +127,7 @@ let init = () => {
|
||||||
socialType: searchInfo.value.socialType || null,
|
socialType: searchInfo.value.socialType || null,
|
||||||
uploadStatus: searchStatus.value.uploadStatus || null,
|
uploadStatus: searchStatus.value.uploadStatus || null,
|
||||||
}
|
}
|
||||||
post("social/upload/get3503List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3503List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
@ -137,7 +138,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post("social/upload/get3503List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3503List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {Search} from "@element-plus/icons-vue";
|
import {Search} from "@element-plus/icons-vue";
|
||||||
import {formatDate} from "@/utils/dateUtils.ts";
|
import {formatDate} from "@/utils/dateUtils.ts";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
// 模拟数据
|
// 模拟数据
|
||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
|
|
@ -22,7 +23,7 @@ let init = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post("social/upload/get3505List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3505List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
@ -34,7 +35,7 @@ let changePage = (value: number) => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post("social/upload/get3505List", {query: query}).then((res: any) => {
|
post(API.Social.Upload.Get3505List, {query: query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
total.value = res.total_count
|
total.value = res.total_count
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ import {ElMessage} from "element-plus";
|
||||||
import {formatDateArray, getEndOfDay} from "@/utils/dateUtils.ts";
|
import {formatDateArray, getEndOfDay} from "@/utils/dateUtils.ts";
|
||||||
import clrType from "@/assets/config/directory/clrType.json"
|
import clrType from "@/assets/config/directory/clrType.json"
|
||||||
import insutypes from "@/assets/config/directory/insutypes.json"
|
import insutypes from "@/assets/config/directory/insutypes.json"
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
interface ClrType {
|
interface ClrType {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
|
|
@ -123,7 +124,7 @@ const submitForm = () => {
|
||||||
|
|
||||||
const accountRecordDo = () => {
|
const accountRecordDo = () => {
|
||||||
let data = {...formData.value};
|
let data = {...formData.value};
|
||||||
post("social/reconciliation/totalDo", {data: data}).then((res: any) => {
|
post(API.Social.Reconciliation.DoTotal, {data: data}).then((res: any) => {
|
||||||
let msg = res.stmtinfo.stmt_rslt_dscr;
|
let msg = res.stmtinfo.stmt_rslt_dscr;
|
||||||
if (res.stmtinfo.stmt_rslt == 0) {
|
if (res.stmtinfo.stmt_rslt == 0) {
|
||||||
msg = "对平"
|
msg = "对平"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
import CloseBtn from "@/components/CloseBtn.vue";
|
import CloseBtn from "@/components/CloseBtn.vue";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {ElMessage, ElMessageBox} from "element-plus";
|
import {ElMessage, ElMessageBox} from "element-plus";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
const show = ref(false)
|
const show = ref(false)
|
||||||
const close = ()=>{
|
const close = ()=>{
|
||||||
|
|
@ -76,7 +77,7 @@
|
||||||
).then(() => {
|
).then(() => {
|
||||||
// 如果验证通过,发送请求
|
// 如果验证通过,发送请求
|
||||||
// alert("提交冲正,代码注释了,防止在正式库冲正")
|
// alert("提交冲正,代码注释了,防止在正式库冲正")
|
||||||
post("social/reconciliation/reversal", {data: formData.value}).then((res: any) => {
|
post(API.Social.Reconciliation.Reversal, {data: formData.value}).then((res: any) => {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: "冲正成功",
|
message: "冲正成功",
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ import ArtificialReconciliation from "@/components/social/reconciliation/Artific
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import clrType from "@/assets/config/directory/clrType.json"
|
import clrType from "@/assets/config/directory/clrType.json"
|
||||||
import insutypes from "@/assets/config/directory/insutypes.json"
|
import insutypes from "@/assets/config/directory/insutypes.json"
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
const selectDate = ref<any>();
|
const selectDate = ref<any>();
|
||||||
const changeDate = (dates: Date[]) => {
|
const changeDate = (dates: Date[]) => {
|
||||||
|
|
@ -68,7 +69,7 @@ const accountRecordResult: TypeMapping = {
|
||||||
};
|
};
|
||||||
const list = ref<any>();
|
const list = ref<any>();
|
||||||
const getList = () => {
|
const getList = () => {
|
||||||
post("social/reconciliation/getList", {beginTime: selectDate.value[0], endTime: selectDate.value[1]}).then(
|
post(API.Social.Reconciliation.List, {beginTime: selectDate.value[0], endTime: selectDate.value[1]}).then(
|
||||||
res => {
|
res => {
|
||||||
list.value = res;
|
list.value = res;
|
||||||
}
|
}
|
||||||
|
|
@ -79,7 +80,7 @@ const detailsDo = (row: any) => {
|
||||||
let data = {...row};
|
let data = {...row};
|
||||||
data.beginTime = selectDate.value[0];
|
data.beginTime = selectDate.value[0];
|
||||||
data.endTime = selectDate.value[1];
|
data.endTime = selectDate.value[1];
|
||||||
post("social/reconciliation/detailDo", {data: data}).then((res: any) => {
|
post(API.Social.Reconciliation.DoDetail, {data: data}).then((res: any) => {
|
||||||
openDetailList(res)
|
openDetailList(res)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -165,6 +165,7 @@ import {ElNotification, type TabsPaneContext} from 'element-plus'
|
||||||
import {post} from '@/utils/request.ts'
|
import {post} from '@/utils/request.ts'
|
||||||
import {Search} from '@element-plus/icons-vue'
|
import {Search} from '@element-plus/icons-vue'
|
||||||
import Mask from "@/components/common/Mask.vue";
|
import Mask from "@/components/common/Mask.vue";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
let isUpdate1312 = ref(false)
|
let isUpdate1312 = ref(false)
|
||||||
let isUpdate1318 = ref(false)
|
let isUpdate1318 = ref(false)
|
||||||
|
|
@ -200,7 +201,7 @@ let update1312 = (current_page: number) => {
|
||||||
if (current_page == 1) {
|
if (current_page == 1) {
|
||||||
tip.value = "开始更新第1页"
|
tip.value = "开始更新第1页"
|
||||||
}
|
}
|
||||||
post("social/directory_upinfo/get_page", {
|
post(API.Social.Directory_upinfo.Get_page, {
|
||||||
updt_time: updt_time.value,
|
updt_time: updt_time.value,
|
||||||
page: current_page
|
page: current_page
|
||||||
}, {catch_error: true}).then((res: any) => {
|
}, {catch_error: true}).then((res: any) => {
|
||||||
|
|
@ -249,7 +250,7 @@ function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_tab() {
|
function set_tab() {
|
||||||
post("social/directory/column_list", {type: current_tab.value})
|
post(API.Social.Directory.Column_list, {type: current_tab.value})
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
column_list.value = res;
|
column_list.value = res;
|
||||||
get_data_list();
|
get_data_list();
|
||||||
|
|
@ -260,7 +261,7 @@ function get_data_list() {
|
||||||
isDownLoading.value = true;
|
isDownLoading.value = true;
|
||||||
let content_height = content.value.clientHeight;
|
let content_height = content.value.clientHeight;
|
||||||
let rows = Math.floor(content_height / 40);
|
let rows = Math.floor(content_height / 40);
|
||||||
post("social/directory/get_doc_list", {
|
post(API.Social.Directory.Get_doc_list, {
|
||||||
type: current_tab.value,
|
type: current_tab.value,
|
||||||
page: current_page.value,
|
page: current_page.value,
|
||||||
size: 30,
|
size: 30,
|
||||||
|
|
@ -294,7 +295,7 @@ let UpdateDirectoryLoading = ref(false)
|
||||||
const tip_message = ref("正在更新目录,请稍后...")
|
const tip_message = ref("正在更新目录,请稍后...")
|
||||||
const start_type = () => {
|
const start_type = () => {
|
||||||
UpdateDirectoryLoading.value = true
|
UpdateDirectoryLoading.value = true
|
||||||
post("social/directory_version/get_current", {type: current_tab.value}, {catch_error: true}).then((res: any) => {
|
post(API.Social.Directory_version.Get_current, {type: current_tab.value}, {catch_error: true}).then((res: any) => {
|
||||||
tip_message.value = "正在更新目录,上一个版本:" + res.currentVersionName + ",请不要强制关闭程序,否则数据不完整";
|
tip_message.value = "正在更新目录,上一个版本:" + res.currentVersionName + ",请不要强制关闭程序,否则数据不完整";
|
||||||
download(res.currentVersionName, current_tab.value);
|
download(res.currentVersionName, current_tab.value);
|
||||||
}).catch((err: any) => {
|
}).catch((err: any) => {
|
||||||
|
|
@ -307,7 +308,7 @@ const start_type = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
let download = (ver: any, type: any) => {
|
let download = (ver: any, type: any) => {
|
||||||
post("social/directory/download", {ver: ver, type: type}).then((res: any) => {
|
post(API.Social.Directory.Download, {ver: ver, type: type}).then((res: any) => {
|
||||||
if (res == null || res == "") {
|
if (res == null || res == "") {
|
||||||
UpdateDirectoryLoading.value = false;
|
UpdateDirectoryLoading.value = false;
|
||||||
ElNotification({
|
ElNotification({
|
||||||
|
|
@ -388,7 +389,7 @@ const syncCache = () => {
|
||||||
if (syncCachePage.value == 1) {
|
if (syncCachePage.value == 1) {
|
||||||
tip_message.value = "开始同步第1页";
|
tip_message.value = "开始同步第1页";
|
||||||
}
|
}
|
||||||
post("social/directory/syncToMongo", {page: syncCachePage.value}).then((res: any) => {
|
post(API.Social.Directory.SyncToMongo, {page: syncCachePage.value}).then((res: any) => {
|
||||||
if (res.total_page) {
|
if (res.total_page) {
|
||||||
syncCacheTotalPage.value = res.total_page
|
syncCacheTotalPage.value = res.total_page
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ import List_3503 from "@/components/social/inventoryUp/List_3503.vue";
|
||||||
import List_3505 from "@/components/social/inventoryUp/List_3505.vue";
|
import List_3505 from "@/components/social/inventoryUp/List_3505.vue";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import Mask from "@/components/Mask.vue";
|
import Mask from "@/components/Mask.vue";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
let current_tab = ref(3501);
|
let current_tab = ref(3501);
|
||||||
const tabs = ref([
|
const tabs = ref([
|
||||||
|
|
@ -64,7 +65,7 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
post("social/upload/getNotDoNumber",).then((res: any) => {
|
post(API.Social.Upload.GetNotDoNumber).then((res: any) => {
|
||||||
tabs.value.forEach((tab: any) => {
|
tabs.value.forEach((tab: any) => {
|
||||||
tab.notDoNumber = res['number' + tab.name]
|
tab.notDoNumber = res['number' + tab.name]
|
||||||
})
|
})
|
||||||
|
|
@ -78,7 +79,7 @@ let totalNumber = 0;
|
||||||
let startUpload = () => {
|
let startUpload = () => {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
uploadMsg.value = "正在初始化上传";
|
uploadMsg.value = "正在初始化上传";
|
||||||
post("social/upload/getNotDoNumber", {catch_error: true}).then((res: any) => {
|
post(API.Social.Upload.GetNotDoNumber, {catch_error: true}).then((res: any) => {
|
||||||
totalNumber = res.totalNumber;
|
totalNumber = res.totalNumber;
|
||||||
uploadMsg.value = "正在初始化上传,总条数" + totalNumber;
|
uploadMsg.value = "正在初始化上传,总条数" + totalNumber;
|
||||||
upload_data()
|
upload_data()
|
||||||
|
|
@ -89,7 +90,7 @@ let startUpload = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
let upload_data = () => {
|
let upload_data = () => {
|
||||||
post("social/upload/quickUpload", {}, {catch_error: true}).then((res: any) => {
|
post(API.Social.Upload.QuickUpload, {}, {catch_error: true}).then((res: any) => {
|
||||||
if (res.totalNumber > 0) {
|
if (res.totalNumber > 0) {
|
||||||
upload_data()
|
upload_data()
|
||||||
uploadMsg.value = "正在上传,进度:" + (totalNumber - res.totalNumber) + "/" + totalNumber;
|
uploadMsg.value = "正在上传,进度:" + (totalNumber - res.totalNumber) + "/" + totalNumber;
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ import clrType from "@/assets/config/directory/clrType.json"
|
||||||
import insutypes from "@/assets/config/directory/insutypes.json"
|
import insutypes from "@/assets/config/directory/insutypes.json"
|
||||||
import {getKey} from "@/utils/discrotyUtil.ts";
|
import {getKey} from "@/utils/discrotyUtil.ts";
|
||||||
import {formatDate} from "@/utils/dateUtils.ts";
|
import {formatDate} from "@/utils/dateUtils.ts";
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
|
|
||||||
const pageSize = ref(20);
|
const pageSize = ref(20);
|
||||||
const pageNum = ref(1);
|
const pageNum = ref(1);
|
||||||
|
|
@ -163,7 +164,7 @@ const getList = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
...searchModel.value
|
...searchModel.value
|
||||||
}
|
}
|
||||||
post("social/reconciliation/pageHistory", {query: query}).then(
|
post(API.Social.Reconciliation.HistoryList, {query: query}).then(
|
||||||
(res: any) => {
|
(res: any) => {
|
||||||
list.value = res.list;
|
list.value = res.list;
|
||||||
total.value = res.total_count;
|
total.value = res.total_count;
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@ import {ref, reactive, onMounted} from 'vue';
|
||||||
import {ElNotification, type TabsPaneContext} from 'element-plus'
|
import {ElNotification, type TabsPaneContext} from 'element-plus'
|
||||||
import {post} from '@/utils/request.ts'
|
import {post} from '@/utils/request.ts'
|
||||||
import { Loading, SuccessFilled } from '@element-plus/icons-vue';
|
import { Loading, SuccessFilled } from '@element-plus/icons-vue';
|
||||||
|
import {API} from "@/assets/config/API.ts";
|
||||||
const format = (percentage: number) => ('正在更新')
|
const format = (percentage: number) => ('正在更新')
|
||||||
let updt_time = ref(getDate30DaysAgo())
|
let updt_time = ref(getDate30DaysAgo())
|
||||||
let current_page = ref(1);
|
let current_page = ref(1);
|
||||||
|
|
@ -143,7 +144,7 @@ let start_updatetime = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
let update_time = () => {
|
let update_time = () => {
|
||||||
post("social/directory_upinfo/get_page", {
|
post(API.Social.Directory_upinfo.Get_page, {
|
||||||
updt_time: updt_time.value,
|
updt_time: updt_time.value,
|
||||||
page: current_up_page.value
|
page: current_up_page.value
|
||||||
}, {catch_error: true}).then((res: any) => {
|
}, {catch_error: true}).then((res: any) => {
|
||||||
|
|
@ -186,7 +187,7 @@ let start_download = (type: number) => {
|
||||||
}
|
}
|
||||||
canDownload.value = false;
|
canDownload.value = false;
|
||||||
tip_message.value = "正在获取版本信息" + ",请不要强制关闭程序,否则数据不完整";
|
tip_message.value = "正在获取版本信息" + ",请不要强制关闭程序,否则数据不完整";
|
||||||
post("social/directory_version/get_current", {type: type}, {catch_error: true}).then((res: any) => {
|
post(API.Social.Directory_version.Get_current, {type: type}, {catch_error: true}).then((res: any) => {
|
||||||
tip_message.value = "正在更新目录,上一个版本:" + res.currentVersionName + ",请不要强制关闭程序,否则数据不完整";
|
tip_message.value = "正在更新目录,上一个版本:" + res.currentVersionName + ",请不要强制关闭程序,否则数据不完整";
|
||||||
download(res.currentVersionName, type);
|
download(res.currentVersionName, type);
|
||||||
}).catch((err: any) => {
|
}).catch((err: any) => {
|
||||||
|
|
@ -206,7 +207,7 @@ let stop_download = () => {
|
||||||
|
|
||||||
function download(ver: String, type: any) {
|
function download(ver: String, type: any) {
|
||||||
isDownLoading.value = true;
|
isDownLoading.value = true;
|
||||||
post("social/directory/download", {ver: ver, type: type}, {catch_error: true})
|
post(API.Social.Directory.Download, {ver: ver, type: type}, {catch_error: true})
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
isDownLoading.value = false;
|
isDownLoading.value = false;
|
||||||
if (res == null) {
|
if (res == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue