命令行提交3

This commit is contained in:
zoujiandong
2025-08-05 13:50:21 +08:00
parent 11f1a6d727
commit e83260c6ff
12 changed files with 165 additions and 65 deletions
@@ -49,10 +49,6 @@ const _sfc_main = {
});
};
const videoErrorCallback = (e) => {
common_vendor.index.showModal({
content: e.target.errMsg,
showCancel: false
});
};
const searchList = async () => {
let searchForm = {
+66 -21
View File
@@ -686,35 +686,80 @@ const _sfc_main = {
});
const addArticleComment = (id2, data) => {
api_api.api.addArticleComment(id2, data).then((res) => {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
if (res.data.data.status == 1) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 2) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功,积分+5"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 0) {
common_vendor.index.showToast({
icon: "none",
title: "评论失败"
});
}
});
};
const addVideoComment = (id2, data) => {
api_api.api.addVideoComment(id2, data).then((res) => {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
if (res.data.data.status == 1) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 2) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功,积分+5"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 0) {
common_vendor.index.showToast({
icon: "none",
title: "评论失败"
});
}
});
};
const addExchangeComment = (id2, data) => {
api_api.api.addExchangeComment(id2, data).then((res) => {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
if (res.data.data.status == 1) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 2) {
common_vendor.index.showToast({
icon: "none",
title: "评论成功,积分+5"
});
clearComment();
showCommentDialog.value = false;
paging.value.refresh();
} else if (res.data.data.status == 0) {
common_vendor.index.showToast({
icon: "none",
title: "评论失败"
});
}
});
};
const delArticleComment = (id2) => {
@@ -278,10 +278,6 @@ const _sfc_main = {
paging.value.reload();
};
const videoErrorCallback = (e) => {
common_vendor.index.showModal({
content: e.target.errMsg,
showCancel: false
});
};
const changeWord = (val) => {
if (!val)
+6
View File
@@ -87,6 +87,12 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
title: res.data.message,
icon: "none"
});
} else {
let H5url = "https://dev-wx.igandan.com";
if (window.location.href.indexOf("//dev-casedata.igandan.com") == -1) {
H5url = "https://wx.igandan.com";
}
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
}
n(res);
}