@@ -88,7 +88,7 @@ | |||||
<div id="tablediv"> | <div id="tablediv"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
<th colspan="8" style="text-align:center">西昌民族幼专入库清单</th> | |||||
<th colspan="8" style="text-align:center">娄底幼儿师范高等专科学校入库清单</th> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="4">入库日期</td> | <td colspan="4">入库日期</td> | ||||
@@ -88,7 +88,7 @@ | |||||
<div id="tablediv"> | <div id="tablediv"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
<th colspan="8" style="text-align:center">西昌民族幼专入库清单</th> | |||||
<th colspan="8" style="text-align:center">娄底幼儿师范高等专科学校入库清单</th> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="4">入库日期</td> | <td colspan="4">入库日期</td> | ||||
@@ -88,7 +88,7 @@ | |||||
<div id="tablediv"> | <div id="tablediv"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
<th colspan="8" style="text-align: center">西昌民族幼专出库清单</th> | |||||
<th colspan="8" style="text-align: center">娄底幼儿师范高等专科学校出库清单</th> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>部门</td> | <td>部门</td> | ||||
@@ -88,7 +88,7 @@ | |||||
<div class="tablediv"> | <div class="tablediv"> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
<th colspan="8" style="text-align: center">西昌民族幼专出库清单</th> | |||||
<th colspan="8" style="text-align: center">娄底幼儿师范高等专科学校出库清单</th> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>部门</td> | <td>部门</td> | ||||
@@ -24,6 +24,14 @@ var bootstrap = function ($, learun) { | |||||
$.lrSetForm(top.$.rootUrl + '/LR_OAModule/Notice/GetEntity?keyValue=' + id, function (data) { | $.lrSetForm(top.$.rootUrl + '/LR_OAModule/Notice/GetEntity?keyValue=' + id, function (data) { | ||||
$("#F_FullHead").text(data.F_FullHead); | $("#F_FullHead").text(data.F_FullHead); | ||||
$("#F_CreateDate").text(data.F_CreateDate); | $("#F_CreateDate").text(data.F_CreateDate); | ||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | |||||
key: data.F_SourceName, | |||||
keyId: 'id', | |||||
callback: function (_data) { | |||||
$("#F_CreateUserName").text(_data['name'] || data.F_SourceName); | |||||
} | |||||
}); | |||||
$("#F_CreateUserName").text(data.F_CreateUserName); | $("#F_CreateUserName").text(data.F_CreateUserName); | ||||
$("#F_Category").text(data.F_Category); | $("#F_Category").text(data.F_Category); | ||||
//$("#F_NewsContent").html($('<div></div>').html(data.F_NewsContent)); | //$("#F_NewsContent").html($('<div></div>').html(data.F_NewsContent)); | ||||
@@ -164,7 +164,6 @@ export default { | |||||
this.id | this.id | ||||
); | ); | ||||
this.id=result.EmpInfo.EmpId; | this.id=result.EmpInfo.EmpId; | ||||
console.log(result); | |||||
this.origin = await this.formatFormData(result); | this.origin = await this.formatFormData(result); | ||||
} | } | ||||
this.current = this.COPY(this.origin); | this.current = this.COPY(this.origin); | ||||
@@ -572,7 +572,6 @@ export default { | |||||
// 点击通知公告的标题 | // 点击通知公告的标题 | ||||
async noticeClick(item) { | async noticeClick(item) { | ||||
console.log(item); | |||||
if(item.f_category!==undefined){ | if(item.f_category!==undefined){ | ||||
this.NAV_TO("/pages/home/notice", item, true); | this.NAV_TO("/pages/home/notice", item, true); | ||||
}else{ | }else{ | ||||
@@ -5,6 +5,7 @@ | |||||
<iframe v-if="ready&&contentType == 2" style="width: 100%;height: calc(100vh - 150px);" :src="CONFIG('webHost')+'/Utility/ListContentView?keyValue='+keyValue" frameborder="0"></iframe> | <iframe v-if="ready&&contentType == 2" style="width: 100%;height: calc(100vh - 150px);" :src="CONFIG('webHost')+'/Utility/ListContentView?keyValue='+keyValue" frameborder="0"></iframe> | ||||
</view> | </view> | ||||
<view class="padding-sm text-grey notice-info"> | <view class="padding-sm text-grey notice-info"> | ||||
<view class="text-right">信息来源: {{ f_sourcename }}</view> | |||||
<view class="text-right">本页内容发布于 {{ time }}</view> | <view class="text-right">本页内容发布于 {{ time }}</view> | ||||
<view class="text-right">{{ date }}</view> | <view class="text-right">{{ date }}</view> | ||||
</view> | </view> | ||||
@@ -20,6 +21,8 @@ export default { | |||||
ready: false, | ready: false, | ||||
content: '', | content: '', | ||||
time: '', | time: '', | ||||
classdata:new Array(), | |||||
f_sourcename:'', | |||||
date: '', | date: '', | ||||
contentType:'', | contentType:'', | ||||
keyValue:'', | keyValue:'', | ||||
@@ -40,10 +43,18 @@ export default { | |||||
}else{ | }else{ | ||||
this.contentType = 1 | this.contentType = 1 | ||||
} | } | ||||
console.log(noticeItem) | |||||
this.content = this.CONVERT_HTML(noticeItem.f_content) | this.content = this.CONVERT_HTML(noticeItem.f_content) | ||||
this.time = moment(noticeItem.f_time).format('HH : mm') | this.time = moment(noticeItem.f_time).format('HH : mm') | ||||
this.date = moment(noticeItem.f_time).format('YYYY年 M月 D日') | this.date = moment(noticeItem.f_time).format('YYYY年 M月 D日') | ||||
this.FETCH_DATASOURCE('classdata').then(data => { | |||||
this.classdata = data.data.map(t => ({ | |||||
text: t.name, | |||||
value: t.id | |||||
})); | |||||
const obj=this.classdata.find(t=>t.value==noticeItem.f_sourcename); | |||||
this.f_sourcename=obj?obj.text:''; | |||||
}) | |||||
this.SET_TITLE(noticeItem.f_title) | this.SET_TITLE(noticeItem.f_title) | ||||
this.ready = true | this.ready = true | ||||