updata new code
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user