|
@@ -345,6 +345,16 @@
|
|
|
<div class="row">
|
|
|
<div class="col-sm-6">
|
|
|
<div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label">apply图标颜色:</label>
|
|
|
+ <div class="col-sm-8">
|
|
|
+ <input class="form-control" value="" type="color" id="applyIconColor" name="applyIconColor">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-sm-6">
|
|
|
+ <div class="form-group">
|
|
|
<label class="col-sm-3 control-label">apply类型:</label>
|
|
|
<div class="col-sm-8">
|
|
|
<select name="applyType" id="applyType" th:field="*{applyType}" class="form-control m-b">
|
|
@@ -507,8 +517,9 @@
|
|
|
$("#h5Div").hide();
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+ var danganObj = [[${dangan}]];
|
|
|
function loadSelectApplyType() {
|
|
|
+ $("#applyIconColor").val(danganObj.applyIconColor);
|
|
|
let applyTypeValue = $("#applyType").val();
|
|
|
if(applyTypeValue===0||applyTypeValue==="0"){
|
|
|
$("#appDiv").show();
|
|
@@ -526,6 +537,7 @@
|
|
|
var prefix = ctx + "system/dangan";
|
|
|
var danganFileList = [[${fileList}]];
|
|
|
|
|
|
+
|
|
|
$("#form-dangan-edit").validate({
|
|
|
focusCleanup: true
|
|
|
});
|