1
This commit is contained in:
@@ -115,7 +115,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
|
||||
'insertdoc-online-pdf-pad' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct">',
|
||||
'<iframe src="'+me.baseUrl+'modules/'+lujing+'/pdf/index.html?v=2025-0214-2341" height="70px" class="ans-zt-attach-online" objectid="{objectid}" frameborder="0" scrolling="no"></iframe>',
|
||||
'<iframe src="'+me.baseUrl+'modules/'+lujing+'/pdf/index.html?v=2025-1111-2341" height="70px" class="ans-zt-attach-online" objectid="{objectid}" frameborder="0" scrolling="no"></iframe>',
|
||||
'</div>'
|
||||
),
|
||||
'insertdoc-online-xls-pad' : new Ext.XTemplate(
|
||||
@@ -272,7 +272,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
'<div class="ans-job-icon ans-job-icon-clear ' + isEn + '" tabindex="0" aria-label="任务点未完成" role="option" ><i></i></div>',
|
||||
'</tpl>',
|
||||
|
||||
'<iframe src="' + me.baseUrl + 'modules/video/index.html?v=2025-0725-1842" ',
|
||||
'<iframe src="' + me.baseUrl + 'modules/video/index.html?v=2025-1226-1913" ',
|
||||
'class="ans-attach-online ans-insertvideo-online" ',
|
||||
'data = \'{[this.values(values)]}\' ',
|
||||
'objectid="{objectid}" fastforward="{fastforward}" switchwindow="{switchwindow}" vbegin="{vbegin}" vend="{vend}" v_begin="{v_begin}" v_end="{v_end}" mid="{mid}" {[this.jobid(values)]} frameborder="0" scrolling="no" {[this.danmu(values)]} allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true">',
|
||||
@@ -326,7 +326,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
'<tpl if="jobid">',
|
||||
'<div class="ans-job-icon ' + isEn + '"></div>',
|
||||
'</tpl>',
|
||||
'<iframe src="' + me.baseUrl + 'modules/pdf/index.html?v=2025-0805-1153" {[this.jobid(values)]} data=\'{[this.values(values)]}\' class="ans-attach-online insertdoc-online-ppt" objectid="{objectid}" download="{download}" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>',
|
||||
'<iframe src="' + me.baseUrl + 'modules/pdf/index.html?v=2025-1111-1153" {[this.jobid(values)]} data=\'{[this.values(values)]}\' class="ans-attach-online insertdoc-online-ppt" objectid="{objectid}" download="{download}" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
jobid : function(d){
|
||||
@@ -350,7 +350,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
|
||||
'insertcxjour' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct">',
|
||||
'<iframe src="'+me.baseUrl+'modules/cxjour/index.html?v=2020-0417-1856" data = \'{[this.values(values)]}\' frameborder="0" scrolling="no" width="100%" height="76"></iframe>',
|
||||
'<iframe src="'+me.baseUrl+'modules/cxjour/index.html?v=2025-0417-1856" data = \'{[this.values(values)]}\' frameborder="0" scrolling="no" width="100%" height="76"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
values : replaceComma
|
||||
@@ -368,7 +368,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
'<tpl if="jobid">',
|
||||
'<div class="ans-job-icon ' + isEn + '"></div>',
|
||||
'</tpl>',
|
||||
'<iframe src="' + me.baseUrl + 'modules/pdf/index.html?v=2025-0805-1153" {[this.jobid(values)]} data=\'{[this.values(values)]}\' class="ans-attach-online insertdoc-online-pdf" objectid="{objectid}" download="{download}" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>',
|
||||
'<iframe src="' + me.baseUrl + 'modules/pdf/index.html?v=2025-1111-1153" {[this.jobid(values)]} data=\'{[this.values(values)]}\' class="ans-attach-online insertdoc-online-pdf" objectid="{objectid}" download="{download}" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
jobid : function(d){
|
||||
@@ -466,7 +466,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
'<tpl if="jobid">',
|
||||
'<div class="ans-job-icon ' + isEn + '" tabindex="0" aria-label="任务点未完成" role="option" ></div>',
|
||||
'</tpl>',
|
||||
'<iframe src="' + me.baseUrl + 'modules/work/index.html?v=2024-1212-1629&castscreen={[window.castscreen || 0]}" {[this.jobid(values)]} ',
|
||||
'<iframe src="' + me.baseUrl + 'modules/work/index.html?v=2025-1028-1629&castscreen={[window.castscreen || 0]}" {[this.jobid(values)]} ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%" style="min-width: 650px;min-height: 300px;"></iframe>',
|
||||
'</div>',
|
||||
@@ -926,7 +926,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
'hyperlink-review':getTemplate(),
|
||||
'knowledgeGraph' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct" style="margin-bottom:10px;">',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/topicAttachment/index-pc.html" ',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/topicAttachment/index-pc.html?v=1" ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%" height="620px"></iframe>',
|
||||
'</div>',
|
||||
@@ -953,16 +953,47 @@ Ext.define('ananas.ModuleOutput',{
|
||||
values : replaceComma
|
||||
}
|
||||
),
|
||||
'insertlabreport-review':getTemplate(),
|
||||
'insertvisuclass' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct" style="margin-bottom:10px;">',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/visuClassAi/index-pc.html?v=2025-0925-1800" ',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/visuClassAi/index-pc.html?v=2025-1218-1800" ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
values : replaceComma
|
||||
}
|
||||
)
|
||||
),
|
||||
'insertFX' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct" style="margin-bottom:10px;">',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/insertFx/index.html?v=2025-1226-1604" ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
values : replaceComma
|
||||
}
|
||||
),
|
||||
'insertTopicGraph' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct" style="margin-bottom:10px;">',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/topicGraphAttachment/index-pc.html" ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%" height="520px"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
values : replaceComma
|
||||
}
|
||||
),
|
||||
'insertTopicPath' : new Ext.XTemplate(
|
||||
'<div class="ans-attach-ct" style="margin-bottom:10px;">',
|
||||
'<iframe src="' + me.baseUrl + 'modules/zt/insertTopicPath/index.html?v=2025-1114-1502" ',
|
||||
'data = \'{[this.values(values)]}\'',
|
||||
' frameborder="0" scrolling="no" width="100%" height="520px"></iframe>',
|
||||
'</div>',
|
||||
{
|
||||
values : replaceComma
|
||||
}
|
||||
),
|
||||
});
|
||||
},
|
||||
|
||||
@@ -1093,7 +1124,7 @@ Ext.define('ananas.ModuleOutput',{
|
||||
|
||||
try {
|
||||
if(module == "hyperlink" || module == "insertclasstask" || module == "insertmicroCourse" || module == "inserttopic" || module == "insertbbs"
|
||||
|| module == "insertreadV2" || module == "insertread" || module == "insertlive" || module == "work" || module == "downloadfile" || module == "richvideo") {
|
||||
|| module == "insertreadV2" || module == "insertread" || module == "insertlive" || module == "work" || module == "downloadfile" || module == "richvideo" || module == "insertlabreport") {
|
||||
|
||||
if(tpl.indexOf("-review") < 0) {
|
||||
tpl = tpl + getTplSub(iframe);
|
||||
@@ -2020,7 +2051,21 @@ function uParse(selector,opt,params){
|
||||
};
|
||||
})(node));
|
||||
}
|
||||
})
|
||||
});
|
||||
try {
|
||||
_each(content.querySelectorAll('.web-iframe.attachment_card'), function(node){
|
||||
var iframe = document.createElement('iframe');
|
||||
var iframeSrc = node.getAttribute('data-src');
|
||||
iframe.src = iframeSrc;
|
||||
iframe.width = '100%';
|
||||
iframe.height = '500px';
|
||||
iframe.frameBorder = '0';
|
||||
iframe.className="mindMapFrame";
|
||||
node.appendChild(iframe);
|
||||
})
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
}
|
||||
|
||||
function checkList(nodes){
|
||||
|
||||
Reference in New Issue
Block a user