This commit is contained in:
lcw
2025-09-26 12:56:52 +08:00
parent 204a199990
commit 2bed0ee326
503 changed files with 37423 additions and 1132 deletions

View File

@ -116,7 +116,7 @@ const close = () => {
// 根据项目id获取培训课程
const getPxkcList = async ({ id }) => {
const res = await qcckPost({ pxxmid: id }, `/mosty-base/baxx/pxkc/list`)
const res = await qcckPost({ pxxmid: id }, `/bagl/mosty-base/baxx/pxkc/list`)
if (res) {
pageData.pxkcList = res
}
@ -124,7 +124,7 @@ const getPxkcList = async ({ id }) => {
// 获取保安信息培训课程管理详情
const getbaInfo = async ({ id = '' }) => {
const res = await qcckPost({ id }, `/mosty-base/baxx/pxkc/getInfo/${id}`)
const res = await qcckPost({ id }, `/bagl/mosty-base/baxx/pxkc/getInfo/${id}`)
if (res) {
courseInfo.value = res
}
@ -134,7 +134,7 @@ const getbaInfo = async ({ id = '' }) => {
const getList = async ({ id = "" }) => {
const res = await qcckPost({
pxxmid: id
}, `/mosty-base/baxx/pxkc/pxryList`)
}, `/bagl/mosty-base/baxx/pxkc/pxryList`)
if (res) {
pageData.tableData = res || [];
}
@ -156,7 +156,7 @@ const open = (row = {}, type = 'view') => {
const save = () => {
FormRef.value.submit(() => {
loading.value = true;
const url = !formData.value?.id ? `/mosty-base/baxx/cyry/add` : `/mosty-base/baxx/cyry/edit`;
const url = !formData.value?.id ? `/bagl/mosty-base/baxx/cyry/add` : `/bagl/mosty-base/baxx/cyry/edit`;
qcckPost(formData.value, url).then(() => {
loading.value = false;
proxy.$message.success("保存成功");