Compare commits
No commits in common. "c0eb4f00d6ff5303142d0b6da7cfc0f9a7f2274e" and "bde586608549a5c1098c972dbfd5feca80d5c0fd" have entirely different histories.
c0eb4f00d6
...
bde5866085
|
|
@ -4,7 +4,6 @@ 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;
|
||||||
|
|
@ -45,7 +44,7 @@ let init = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3501List, {query: query}).then((res: any) => {
|
post("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
|
||||||
})
|
})
|
||||||
|
|
@ -56,7 +55,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3501List, {query: query}).then((res: any) => {
|
post("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,7 +118,6 @@ 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([])
|
||||||
|
|
@ -192,7 +191,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(API.Social.Upload.Get3502List, {query: query}).then((res: any) => {
|
post("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
|
||||||
})
|
})
|
||||||
|
|
@ -204,7 +203,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3502List, {query: query}).then((res: any) => {
|
post("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,7 +82,6 @@ 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([])
|
||||||
|
|
@ -127,7 +126,7 @@ let init = () => {
|
||||||
socialType: searchInfo.value.socialType || null,
|
socialType: searchInfo.value.socialType || null,
|
||||||
uploadStatus: searchStatus.value.uploadStatus || null,
|
uploadStatus: searchStatus.value.uploadStatus || null,
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3503List, {query: query}).then((res: any) => {
|
post("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
|
||||||
})
|
})
|
||||||
|
|
@ -138,7 +137,7 @@ let changePage = (value: number) => {
|
||||||
pageNum: value,
|
pageNum: value,
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3503List, {query: query}).then((res: any) => {
|
post("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,7 +4,6 @@ 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([])
|
||||||
|
|
@ -23,7 +22,7 @@ let init = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3505List, {query: query}).then((res: any) => {
|
post("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
|
||||||
})
|
})
|
||||||
|
|
@ -35,7 +34,7 @@ let changePage = (value: number) => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
code: code.value
|
code: code.value
|
||||||
}
|
}
|
||||||
post(API.Social.Upload.Get3505List, {query: query}).then((res: any) => {
|
post("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,7 +74,6 @@ 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;
|
||||||
|
|
@ -124,7 +123,7 @@ const submitForm = () => {
|
||||||
|
|
||||||
const accountRecordDo = () => {
|
const accountRecordDo = () => {
|
||||||
let data = {...formData.value};
|
let data = {...formData.value};
|
||||||
post(API.Social.Reconciliation.DoTotal, {data: data}).then((res: any) => {
|
post("social/reconciliation/totalDo", {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,7 +26,6 @@
|
||||||
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 = ()=>{
|
||||||
|
|
@ -77,7 +76,7 @@
|
||||||
).then(() => {
|
).then(() => {
|
||||||
// 如果验证通过,发送请求
|
// 如果验证通过,发送请求
|
||||||
// alert("提交冲正,代码注释了,防止在正式库冲正")
|
// alert("提交冲正,代码注释了,防止在正式库冲正")
|
||||||
post(API.Social.Reconciliation.Reversal, {data: formData.value}).then((res: any) => {
|
post("social/reconciliation/reversal", {data: formData.value}).then((res: any) => {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: "冲正成功",
|
message: "冲正成功",
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ 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[]) => {
|
||||||
|
|
@ -69,7 +68,7 @@ const accountRecordResult: TypeMapping = {
|
||||||
};
|
};
|
||||||
const list = ref<any>();
|
const list = ref<any>();
|
||||||
const getList = () => {
|
const getList = () => {
|
||||||
post(API.Social.Reconciliation.List, {beginTime: selectDate.value[0], endTime: selectDate.value[1]}).then(
|
post("social/reconciliation/getList", {beginTime: selectDate.value[0], endTime: selectDate.value[1]}).then(
|
||||||
res => {
|
res => {
|
||||||
list.value = res;
|
list.value = res;
|
||||||
}
|
}
|
||||||
|
|
@ -80,7 +79,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(API.Social.Reconciliation.DoDetail, {data: data}).then((res: any) => {
|
post("social/reconciliation/detailDo", {data: data}).then((res: any) => {
|
||||||
openDetailList(res)
|
openDetailList(res)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,6 @@ 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)
|
||||||
|
|
@ -201,7 +200,7 @@ let update1312 = (current_page: number) => {
|
||||||
if (current_page == 1) {
|
if (current_page == 1) {
|
||||||
tip.value = "开始更新第1页"
|
tip.value = "开始更新第1页"
|
||||||
}
|
}
|
||||||
post(API.Social.Directory_upinfo.Get_page, {
|
post("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) => {
|
||||||
|
|
@ -250,7 +249,7 @@ function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_tab() {
|
function set_tab() {
|
||||||
post(API.Social.Directory.Column_list, {type: current_tab.value})
|
post("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();
|
||||||
|
|
@ -261,7 +260,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(API.Social.Directory.Get_doc_list, {
|
post("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,
|
||||||
|
|
@ -295,7 +294,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(API.Social.Directory_version.Get_current, {type: current_tab.value}, {catch_error: true}).then((res: any) => {
|
post("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) => {
|
||||||
|
|
@ -308,7 +307,7 @@ const start_type = () => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
let download = (ver: any, type: any) => {
|
let download = (ver: any, type: any) => {
|
||||||
post(API.Social.Directory.Download, {ver: ver, type: type}).then((res: any) => {
|
post("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({
|
||||||
|
|
@ -389,7 +388,7 @@ const syncCache = () => {
|
||||||
if (syncCachePage.value == 1) {
|
if (syncCachePage.value == 1) {
|
||||||
tip_message.value = "开始同步第1页";
|
tip_message.value = "开始同步第1页";
|
||||||
}
|
}
|
||||||
post(API.Social.Directory.SyncToMongo, {page: syncCachePage.value}).then((res: any) => {
|
post("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,7 +46,6 @@ 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([
|
||||||
|
|
@ -65,7 +64,7 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
post(API.Social.Upload.GetNotDoNumber).then((res: any) => {
|
post("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]
|
||||||
})
|
})
|
||||||
|
|
@ -79,7 +78,7 @@ let totalNumber = 0;
|
||||||
let startUpload = () => {
|
let startUpload = () => {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
uploadMsg.value = "正在初始化上传";
|
uploadMsg.value = "正在初始化上传";
|
||||||
post(API.Social.Upload.GetNotDoNumber, {catch_error: true}).then((res: any) => {
|
post("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()
|
||||||
|
|
@ -90,7 +89,7 @@ let startUpload = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
let upload_data = () => {
|
let upload_data = () => {
|
||||||
post(API.Social.Upload.QuickUpload, {}, {catch_error: true}).then((res: any) => {
|
post("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,7 +114,6 @@ 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);
|
||||||
|
|
@ -164,7 +163,7 @@ const getList = () => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
...searchModel.value
|
...searchModel.value
|
||||||
}
|
}
|
||||||
post(API.Social.Reconciliation.HistoryList, {query: query}).then(
|
post("social/reconciliation/pageHistory", {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,7 +54,6 @@ 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);
|
||||||
|
|
@ -144,7 +143,7 @@ let start_updatetime = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
let update_time = () => {
|
let update_time = () => {
|
||||||
post(API.Social.Directory_upinfo.Get_page, {
|
post("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) => {
|
||||||
|
|
@ -187,7 +186,7 @@ let start_download = (type: number) => {
|
||||||
}
|
}
|
||||||
canDownload.value = false;
|
canDownload.value = false;
|
||||||
tip_message.value = "正在获取版本信息" + ",请不要强制关闭程序,否则数据不完整";
|
tip_message.value = "正在获取版本信息" + ",请不要强制关闭程序,否则数据不完整";
|
||||||
post(API.Social.Directory_version.Get_current, {type: type}, {catch_error: true}).then((res: any) => {
|
post("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) => {
|
||||||
|
|
@ -207,7 +206,7 @@ let stop_download = () => {
|
||||||
|
|
||||||
function download(ver: String, type: any) {
|
function download(ver: String, type: any) {
|
||||||
isDownLoading.value = true;
|
isDownLoading.value = true;
|
||||||
post(API.Social.Directory.Download, {ver: ver, type: type}, {catch_error: true})
|
post("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