updata new code

This commit is contained in:
2024-05-24 15:05:08 +08:00
parent 569fc6f985
commit d9a218317d
8 changed files with 770 additions and 135 deletions
+17 -1
View File
@@ -106,6 +106,7 @@
if (page_tag === 'b9b101e') {
sub_btn = `<a class="dropdown-item" href="javascript:void(0);" onclick="window.open('2_d?id=${item.id}&s_p=b9b101e')">协同脑图</a>
<a class="dropdown-item" href="javascript:void(0);" onclick="window.open('http://106.54.50.78:9001/p/${item.id}')"> 协同编辑 </a>
<a class="dropdown-item" href="javascript:void(0);" onclick="window.open('qunti?id=${item.id}')">群体感知</a>
<a class="dropdown-item" href="javascript:void(0);" onclick="mind.open_pinglun(${item.id})">评论</a>
<a class="dropdown-item" href="javascript:void(0);" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>`
@@ -234,7 +235,22 @@
async: false
});
},
open_pinglun: function (mind_id) {
open_qunti: function (mind_id) {
const me = this
$.ajax({
type: "post",
url: "qunti",
headers: {"X-CSRFToken": $.cookie("csrftoken")},
data: {'id': mind_id},
dataType: "json",
success: function (resp) {
window.location.href = resp.data;
console.log(resp)
},
async: false
});
},
open_qunti: function (mind_id) {
const me = this
$.ajax({
type: "post",