lcw
This commit is contained in:
@ -49,7 +49,7 @@ const init = (type, row = {}) => {
|
||||
};
|
||||
|
||||
const getDateById = (id) =>{
|
||||
qcckPost({},'/mosty-base/baxx/sok/getInfo/'+id).then(res=>{
|
||||
qcckPost({},'/bagl/mosty-base/baxx/sok/getInfo/'+id).then(res=>{
|
||||
res.fjid = res.fjid ? JSON.parse(res.fjid):[];
|
||||
listQuery.value = res || {}
|
||||
})
|
||||
@ -58,7 +58,7 @@ const getDateById = (id) =>{
|
||||
const save = () => {
|
||||
FormRef.value.submit((val)=>{
|
||||
loading.value = true;
|
||||
let url = title.value == '新增' ? `/mosty-base/baxx/sok/add` : `/mosty-base/baxx/sok/edit`;
|
||||
let url = title.value == '新增' ? `/bagl/mosty-base/baxx/sok/add` : `/bagl/mosty-base/baxx/sok/edit`;
|
||||
let params = {...val }
|
||||
params.fjid = params.fjid ? JSON.stringify(params.fjid):''
|
||||
qcckPost(params, url).then(() => {
|
||||
|
||||
@ -102,7 +102,7 @@ const changeSize = (val) => {
|
||||
const getList = () => {
|
||||
pageData.tableConfiger.loading = true;
|
||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||
qcckPost(data, "/mosty-base/baxx/sok/page").then((res) => {
|
||||
qcckPost(data, "/bagl/mosty-base/baxx/sok/page").then((res) => {
|
||||
pageData.tableData = res.records || [];
|
||||
pageData.total = res.total;
|
||||
pageData.tableConfiger.loading = false;
|
||||
@ -115,7 +115,7 @@ const getList = () => {
|
||||
// 删除
|
||||
const handleDelete = (ids) => {
|
||||
proxy.$modal.confirm("是否确认删除该视频?").then(() => {
|
||||
qcckPost(ids, "/mosty-base/baxx/sok/remove").then(() => {
|
||||
qcckPost(ids, "/bagl/mosty-base/baxx/sok/remove").then(() => {
|
||||
proxy.$modal.msgSuccess("删除成功");
|
||||
getList();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user