Compare commits

..

No commits in common. "c0eb4f00d6ff5303142d0b6da7cfc0f9a7f2274e" and "bde586608549a5c1098c972dbfd5feca80d5c0fd" have entirely different histories.

11 changed files with 25 additions and 36 deletions

View File

@ -4,7 +4,6 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
import {post} from "@/utils/request.ts";
import {Search} from "@element-plus/icons-vue";
import {formatDate} from "@/utils/dateUtils";
import {API} from "@/assets/config/API.ts";
interface TableItem {
name: string;
@ -45,7 +44,7 @@ let init = () => {
pageSize: pageSize.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
total.value = res.total_count
})
@ -56,7 +55,7 @@ let changePage = (value: number) => {
pageNum: 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
total.value = res.total_count
})

View File

@ -118,7 +118,6 @@ import {ref, computed, onMounted} from 'vue'
import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
import {post} from "@/utils/request.ts";
import {Minus, Plus, Search} from "@element-plus/icons-vue";
import {API} from "@/assets/config/API.ts";
//
const tableData = ref([])
@ -192,7 +191,7 @@ let init = () => {
createTimeBefore: value1.value ? formatDate(value1.value[0]) : 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
total.value = res.total_count
})
@ -204,7 +203,7 @@ let changePage = (value: number) => {
pageNum: 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
total.value = res.total_count
})

View File

@ -82,7 +82,6 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
import {post} from "@/utils/request.ts";
import {Minus, Plus} from "@element-plus/icons-vue";
import {formatDate} from "@/utils/dateUtils.ts";
import {API} from "@/assets/config/API.ts";
//
const tableData = ref([])
@ -127,7 +126,7 @@ let init = () => {
socialType: searchInfo.value.socialType || 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
total.value = res.total_count
})
@ -138,7 +137,7 @@ let changePage = (value: number) => {
pageNum: 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
total.value = res.total_count
})

View File

@ -4,7 +4,6 @@ import {ElInput, ElTable, ElTableColumn, ElPagination} from 'element-plus'
import {post} from "@/utils/request.ts";
import {Search} from "@element-plus/icons-vue";
import {formatDate} from "@/utils/dateUtils.ts";
import {API} from "@/assets/config/API.ts";
//
const tableData = ref([])
@ -23,7 +22,7 @@ let init = () => {
pageSize: pageSize.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
total.value = res.total_count
})
@ -35,7 +34,7 @@ let changePage = (value: number) => {
pageSize: pageSize.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
total.value = res.total_count
})

View File

@ -74,7 +74,6 @@ import {ElMessage} from "element-plus";
import {formatDateArray, getEndOfDay} from "@/utils/dateUtils.ts";
import clrType from "@/assets/config/directory/clrType.json"
import insutypes from "@/assets/config/directory/insutypes.json"
import {API} from "@/assets/config/API.ts";
interface ClrType {
[key: string]: string;
@ -124,7 +123,7 @@ const submitForm = () => {
const accountRecordDo = () => {
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;
if (res.stmtinfo.stmt_rslt == 0) {
msg = "对平"

View File

@ -26,7 +26,6 @@
import CloseBtn from "@/components/CloseBtn.vue";
import {post} from "@/utils/request.ts";
import {ElMessage, ElMessageBox} from "element-plus";
import {API} from "@/assets/config/API.ts";
const show = ref(false)
const close = ()=>{
@ -77,7 +76,7 @@
).then(() => {
//
// alert("")
post(API.Social.Reconciliation.Reversal, {data: formData.value}).then((res: any) => {
post("social/reconciliation/reversal", {data: formData.value}).then((res: any) => {
ElMessage({
message: "冲正成功",
type: 'success',

View File

@ -47,7 +47,6 @@ import ArtificialReconciliation from "@/components/social/reconciliation/Artific
import {getKey} from "@/utils/discrotyUtil.ts";
import clrType from "@/assets/config/directory/clrType.json"
import insutypes from "@/assets/config/directory/insutypes.json"
import {API} from "@/assets/config/API.ts";
const selectDate = ref<any>();
const changeDate = (dates: Date[]) => {
@ -69,7 +68,7 @@ const accountRecordResult: TypeMapping = {
};
const list = ref<any>();
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 => {
list.value = res;
}
@ -80,7 +79,7 @@ const detailsDo = (row: any) => {
let data = {...row};
data.beginTime = selectDate.value[0];
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)
})
}

View File

@ -165,7 +165,6 @@ import {ElNotification, type TabsPaneContext} from 'element-plus'
import {post} from '@/utils/request.ts'
import {Search} from '@element-plus/icons-vue'
import Mask from "@/components/common/Mask.vue";
import {API} from "@/assets/config/API.ts";
let isUpdate1312 = ref(false)
let isUpdate1318 = ref(false)
@ -201,7 +200,7 @@ let update1312 = (current_page: number) => {
if (current_page == 1) {
tip.value = "开始更新第1页"
}
post(API.Social.Directory_upinfo.Get_page, {
post("social/directory_upinfo/get_page", {
updt_time: updt_time.value,
page: current_page
}, {catch_error: true}).then((res: any) => {
@ -250,7 +249,7 @@ function init() {
}
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) => {
column_list.value = res;
get_data_list();
@ -261,7 +260,7 @@ function get_data_list() {
isDownLoading.value = true;
let content_height = content.value.clientHeight;
let rows = Math.floor(content_height / 40);
post(API.Social.Directory.Get_doc_list, {
post("social/directory/get_doc_list", {
type: current_tab.value,
page: current_page.value,
size: 30,
@ -295,7 +294,7 @@ let UpdateDirectoryLoading = ref(false)
const tip_message = ref("正在更新目录,请稍后...")
const start_type = () => {
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 + ",请不要强制关闭程序,否则数据不完整";
download(res.currentVersionName, current_tab.value);
}).catch((err: any) => {
@ -308,7 +307,7 @@ const start_type = () => {
})
}
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 == "") {
UpdateDirectoryLoading.value = false;
ElNotification({
@ -389,7 +388,7 @@ const syncCache = () => {
if (syncCachePage.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) {
syncCacheTotalPage.value = res.total_page
}

View File

@ -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 {post} from "@/utils/request.ts";
import Mask from "@/components/Mask.vue";
import {API} from "@/assets/config/API.ts";
let current_tab = ref(3501);
const tabs = ref([
@ -65,7 +64,7 @@ onMounted(() => {
});
function init() {
post(API.Social.Upload.GetNotDoNumber).then((res: any) => {
post("social/upload/getNotDoNumber",).then((res: any) => {
tabs.value.forEach((tab: any) => {
tab.notDoNumber = res['number' + tab.name]
})
@ -79,7 +78,7 @@ let totalNumber = 0;
let startUpload = () => {
loading.value = true
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;
uploadMsg.value = "正在初始化上传,总条数" + totalNumber;
upload_data()
@ -90,7 +89,7 @@ let startUpload = () => {
}
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) {
upload_data()
uploadMsg.value = "正在上传,进度:" + (totalNumber - res.totalNumber) + "/" + totalNumber;

View File

@ -114,7 +114,6 @@ import clrType from "@/assets/config/directory/clrType.json"
import insutypes from "@/assets/config/directory/insutypes.json"
import {getKey} from "@/utils/discrotyUtil.ts";
import {formatDate} from "@/utils/dateUtils.ts";
import {API} from "@/assets/config/API.ts";
const pageSize = ref(20);
const pageNum = ref(1);
@ -164,7 +163,7 @@ const getList = () => {
pageSize: pageSize.value,
...searchModel.value
}
post(API.Social.Reconciliation.HistoryList, {query: query}).then(
post("social/reconciliation/pageHistory", {query: query}).then(
(res: any) => {
list.value = res.list;
total.value = res.total_count;

View File

@ -54,7 +54,6 @@ import {ref, reactive, onMounted} from 'vue';
import {ElNotification, type TabsPaneContext} from 'element-plus'
import {post} from '@/utils/request.ts'
import { Loading, SuccessFilled } from '@element-plus/icons-vue';
import {API} from "@/assets/config/API.ts";
const format = (percentage: number) => ('正在更新')
let updt_time = ref(getDate30DaysAgo())
let current_page = ref(1);
@ -144,7 +143,7 @@ let start_updatetime = () => {
}
let update_time = () => {
post(API.Social.Directory_upinfo.Get_page, {
post("social/directory_upinfo/get_page", {
updt_time: updt_time.value,
page: current_up_page.value
}, {catch_error: true}).then((res: any) => {
@ -187,7 +186,7 @@ let start_download = (type: number) => {
}
canDownload.value = false;
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 + ",请不要强制关闭程序,否则数据不完整";
download(res.currentVersionName, type);
}).catch((err: any) => {
@ -207,7 +206,7 @@ let stop_download = () => {
function download(ver: String, type: any) {
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) => {
isDownLoading.value = false;
if (res == null) {