From afa3bc1e2f39f66f59ee9b15d6af16593acdc9a4 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期六, 02 十二月 2023 10:38:27 +0800
Subject: [PATCH] #
---
src/main/webapp/views/priOnline2/priOnline_more.html | 29 +++++++++++++++++------------
1 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/src/main/webapp/views/priOnline2/priOnline_more.html b/src/main/webapp/views/priOnline2/priOnline_more.html
index 6194ce7..cc60c8e 100644
--- a/src/main/webapp/views/priOnline2/priOnline_more.html
+++ b/src/main/webapp/views/priOnline2/priOnline_more.html
@@ -3,6 +3,7 @@
#formAdvForm {
background-color: #f3f3f3;
}
+
#formAdvForm .layui-form-item {
margin-top: 20px;
margin-bottom: 0;
@@ -31,7 +32,8 @@
<div class="layui-card-header" style="padding-top: 5px; padding-bottom: 5px">
<div>
<i class="layui-icon" style="font-size: 20px;color: #1890ff;font-weight: bold"></i>
- <span id="form-name" style="margin: 0 6px;font-size: 18px;font-weight: bold;letter-spacing: 1px"></span>
+ <span id="form-name"
+ style="margin: 0 6px;font-size: 18px;font-weight: bold;letter-spacing: 1px"></span>
<span style="opacity: .5;font-size: small;margin-left: 5px">鏍镐环鍗�</span>
</div>
</div>
@@ -74,7 +76,8 @@
</div>
<div class="form-group-bottom text-right">
- <button class="layui-btn" lay-filter="refresh" lay-submit><i class="layui-icon"></i> 鍒锋柊 </button>
+ <button class="layui-btn" lay-filter="refresh" lay-submit><i class="layui-icon"></i> 鍒锋柊 
+ </button>
</div>
</form>
@@ -132,7 +135,8 @@
form.render('select');
init();
- function init(){
+
+ function init() {
notice.msg('姝e湪杞藉叆鏁版嵁......', {icon: 4, position: "topRight"});
$.ajax({
url: baseUrl + "/priOnline2/" + priOnlineId + "/auth",
@@ -141,23 +145,23 @@
success: function (res) {
notice.destroy();
if (res.code === 200) {
- let priOnlineId = res.data;
- top.priOnlineIdByMore = null;
- $("#form-name").html(priOnlineId.name);
+ let priOnline = res.data;
+ top.priOnlineByMore = null;
+ $("#form-name").html(priOnline.name);
// 杩涘害姝ラ鍥�
let template0 = Handlebars.compile($('#stepTpl').html());
- $('#stepBox').html(template0({list: JSON.parse(priOnlineId.settleMsg)}));
- $('#step-' + Number(priOnlineId.step)).addClass("layui-this");
+ $('#stepBox').html(template0({list: JSON.parse(priOnline.settleMsg)}));
+ $('#step-' + Number(priOnline.step)).addClass("layui-this");
let template1 = Handlebars.compile($('#timelineTpl').html());
- $('#timelineBox').html(template1({list: JSON.parse(priOnlineId.settleMsg)}));
+ $('#timelineBox').html(template1({list: JSON.parse(priOnline.settleMsg)}));
// 琛ュ厖html
- $('#customizeBox').html(priOnlineId.formHtml);
+ $('#customizeBox').html(priOnline.formHtml);
// 璁惧鏄庣粏
- // form.val('formAdvForm', priOnlineId);
+ // form.val('formAdvForm', priOnline);
// top.convertDisabled($('#formAdvForm :input'), true);
// 璺熻繘浜�
- // initFollowers(priOnlineId.id);
+ // initFollowers(priOnline.id);
layDateRender();
} else if (res.code === 403) {
top.location.href = baseUrl + "/";
@@ -175,6 +179,7 @@
type: 'datetime'
});
}
+
layDateRender();
/* 鐩戝惉琛ㄥ崟鎻愪氦 */
--
Gitblit v1.9.1