592 lines
31 KiB
Plaintext
592 lines
31 KiB
Plaintext
<%@ page language="java" pageEncoding="UTF-8" %>
|
|
<%@page import="com.sipai.entity.process.DataVisualContent" %>
|
|
<%request.setAttribute("Type_PercentChart", DataVisualContent.Type_PercentChart); %>
|
|
<%request.setAttribute("Isfull_True", DataVisualContent.Isfull_True); %>
|
|
<%request.setAttribute("Isfull_False", DataVisualContent.Isfull_False); %>
|
|
|
|
<link rel="stylesheet"
|
|
href="<%=request.getContextPath()%>/node_modules/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.min.css"/>
|
|
<script type="text/javascript"
|
|
src="<%=request.getContextPath()%>/node_modules/bootstrap-switch/dist/js/bootstrap-switch.min.js"
|
|
charset="utf-8"></script>
|
|
|
|
<style type="text/css">
|
|
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#backgroundContainer').colorpicker({format: null});
|
|
$('#titleColorContainer').colorpicker({format: null});
|
|
$('#subtitleColorContainer').colorpicker({format: null});
|
|
$('#unittitleColorContainer').colorpicker({format: null});
|
|
$('#scoreringcolorContainer').colorpicker({format: null});
|
|
$('#bgringcolorContainer').colorpicker({format: null});
|
|
|
|
$(".select2-selection--single").css({'height': '30px', 'paddingTop': '4px'});//选中元素上下居中
|
|
|
|
var dataclockwise = JSON.parse("[{\"id\":\"true\",\"text\":\"顺时针\"},{\"id\":\"false\",\"text\":\"逆时针\"}]");
|
|
var selectclockwise = $("#clockwise").select2({
|
|
data: dataclockwise,
|
|
placeholder: '请选择',//默认文字提示
|
|
allowClear: false,//允许清空
|
|
escapeMarkup: function (markup) {
|
|
return markup;
|
|
}, // 自定义格式化防止xss注入
|
|
language: "zh-CN",
|
|
minimumInputLength: 0,
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|
formatResult: function formatRepo(repo) {
|
|
return repo.text;
|
|
}, // 函数用来渲染结果
|
|
formatSelection: function formatRepoSelection(repo) {
|
|
return repo.text;
|
|
} // 函数用于呈现当前的选择
|
|
});
|
|
// select.on("change", function (e) {
|
|
//
|
|
// });
|
|
selectclockwise.val('${dataVisualPercentChart.clockwise}').trigger("change");//设置选中
|
|
|
|
$('#switchBtnIsFull').bootstrapSwitch({
|
|
onText: '是',
|
|
offText: '否',
|
|
size: "small",
|
|
});
|
|
if ('${dataVisualContent.isfull}' == '${Isfull_False}') {
|
|
$('#switchBtnIsFull').bootstrapSwitch('state', false, true);
|
|
} else if ('${dataVisualContent.isfull}' == '${Isfull_True}') {
|
|
$('#switchBtnIsFull').bootstrapSwitch('state', true, true);
|
|
} else {
|
|
$('#switchBtnIsFull').bootstrapSwitch('state', false, true);
|
|
}
|
|
|
|
$('#switchBtnIsFixed').bootstrapSwitch({
|
|
onText: '是',
|
|
offText: '否',
|
|
size: "small",
|
|
});
|
|
|
|
if ('${dataVisualContent.isfixed}' == 'false') {
|
|
$('#switchBtnIsFixed').bootstrapSwitch('state', false, true);
|
|
} else if ('${dataVisualContent.isfixed}' == 'true') {
|
|
$('#switchBtnIsFixed').bootstrapSwitch('state', true, true);
|
|
} else {
|
|
$('#switchBtnIsFixed').bootstrapSwitch('state', false, true);
|
|
}
|
|
|
|
$('#switchBtnUnitisneedbr').bootstrapSwitch({
|
|
onText: '是',
|
|
offText: '否',
|
|
size: "small",
|
|
});
|
|
if ('${dataVisualPercentChart.unitisneedbr}' == 'false') {
|
|
$('#switchBtnUnitisneedbr').bootstrapSwitch('state', false, true);
|
|
} else if ('${dataVisualPercentChart.unitisneedbr}' == 'true') {
|
|
$('#switchBtnUnitisneedbr').bootstrapSwitch('state', true, true);
|
|
} else {
|
|
$('#switchBtnUnitisneedbr').bootstrapSwitch('state', false, true);
|
|
}
|
|
|
|
$(".select2-selection--single").css({'height': '30px', 'paddingTop': '4px'});//选中元素上下居中
|
|
var datavaluemethod = JSON.parse("[{\"id\":\"nowTime\",\"text\":\"nowTime\"},{\"id\":\"sum\",\"text\":\"sum\"},{\"id\":\"diff\",\"text\":\"diff\"},{\"id\":\"avg\",\"text\":\"avg\"},{\"id\":\"max\",\"text\":\"max\"},{\"id\":\"min\",\"text\":\"min\"},{\"id\":\"first\",\"text\":\"first\"},{\"id\":\"last\",\"text\":\"last\"}]");
|
|
var selectvaluemethod = $("#valuemethod").select2({
|
|
data: datavaluemethod,
|
|
placeholder: '请选择',//默认文字提示
|
|
allowClear: false,//允许清空
|
|
escapeMarkup: function (markup) {
|
|
return markup;
|
|
}, // 自定义格式化防止xss注入
|
|
language: "zh-CN",
|
|
minimumInputLength: 0,
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|
formatResult: function formatRepo(repo) {
|
|
return repo.text;
|
|
}, // 函数用来渲染结果
|
|
formatSelection: function formatRepoSelection(repo) {
|
|
return repo.text;
|
|
} // 函数用于呈现当前的选择
|
|
});
|
|
selectvaluemethod.val('${dataVisualPercentChart.valuemethod}').trigger("change");//设置选中
|
|
|
|
});
|
|
|
|
function doPercentChartsave() {
|
|
$("#contentsubForm").bootstrapValidator('validate');//提交验证
|
|
if ($("#contentsubForm").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
|
|
let form = $("#contentsubForm").serialize();
|
|
const isFullStatus = $('#switchBtnIsFull').bootstrapSwitch('state');
|
|
if (isFullStatus) {
|
|
form = form + "&isfull=${Isfull_True}";
|
|
} else {
|
|
form = form + "&isfull=${Isfull_False}";
|
|
}
|
|
const isFixedStatus = $('#switchBtnIsFixed').bootstrapSwitch('state');
|
|
if (isFixedStatus) {
|
|
form = form + "&isfixed=true";
|
|
} else {
|
|
form = form + "&isfixed=false";
|
|
}
|
|
$.post(ext.contextPath + "/process/dataVisualContent/doupdate.do", form, function (data) {
|
|
if (data.code == 1) {
|
|
$("#chartsubForm").bootstrapValidator('validate');//提交验证
|
|
if ($("#chartsubForm").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
|
|
let chartsubForm = $("#chartsubForm").serialize();
|
|
const switchBtnUnitisneedbr = $('#switchBtnUnitisneedbr').bootstrapSwitch('state');
|
|
if (switchBtnUnitisneedbr) {
|
|
chartsubForm = chartsubForm + "&unitisneedbr=true";
|
|
} else {
|
|
chartsubForm = chartsubForm + "&unitisneedbr=false";
|
|
}
|
|
$.post(ext.contextPath + "/process/dataVisualPercentChart/doupdate.do", chartsubForm, function (data) {
|
|
if (data.code == 1) {
|
|
closeModal('percentChartSubModal');
|
|
if ('${dataVisualContent.istab}' == 'true') {
|
|
showOneContent('${dataVisualContent.id}', 'tab');
|
|
} else {
|
|
showOneContent('${dataVisualContent.id}');
|
|
}
|
|
} else if (data.code == 0) {
|
|
showAlert('d', '保存失败');
|
|
} else {
|
|
showAlert('d', data.res);
|
|
}
|
|
}, 'json');
|
|
}
|
|
|
|
} else if (data.code == 0) {
|
|
showAlert('d', '保存失败');
|
|
} else {
|
|
showAlert('d', data.res);
|
|
}
|
|
}, 'json');
|
|
}
|
|
}
|
|
|
|
function doPercentChartDel() {
|
|
swal({
|
|
text: "您确定要删除此记录?",
|
|
dangerMode: true,
|
|
buttons: {
|
|
cancel: {
|
|
text: "取消",
|
|
value: null,
|
|
visible: true,
|
|
className: "btn btn-default btn-sm",
|
|
closeModal: true,
|
|
},
|
|
confirm: {
|
|
text: "确定",
|
|
value: true,
|
|
visible: true,
|
|
className: "btn btn-danger btn-sm",
|
|
closeModal: true
|
|
}
|
|
}
|
|
})
|
|
.then(function (willDelete) {
|
|
if (willDelete) {
|
|
$.post(ext.contextPath + '/process/dataVisualContent/dodelete.do', {
|
|
id: '${dataVisualContent.id}',
|
|
did: '${dataVisualPercentChart.id}',
|
|
type: '${Type_PercentChart}'
|
|
}, function (data) {
|
|
var datajson = JSON.parse(data);
|
|
if (datajson.code == 1) {
|
|
closeModal('percentChartSubModal');
|
|
$('#${dataVisualContent.id}').remove();
|
|
} else {
|
|
showAlert('d', '删除失败', 'mainAlertdiv');
|
|
}
|
|
});
|
|
|
|
}
|
|
});
|
|
}
|
|
|
|
function selectmpid() {
|
|
$.post(ext.contextPath + '/work/mpoint/mpointListSingle4LayerES.do', {
|
|
// mpids: mpids,
|
|
mpids: '',
|
|
fucname: 'ckmpidDone'
|
|
}, function (data) {
|
|
$("#mpSelectDiv").html(data);
|
|
openModal('subModalMpoint');
|
|
});
|
|
}
|
|
|
|
function ckmpidDone(data) {
|
|
data = JSON.parse(data);
|
|
$('#chartsubForm #mpid').val(data[0].mpid);
|
|
closeModal('subModalMpoint');
|
|
}
|
|
|
|
function doCopy() {
|
|
$.post(ext.contextPath + '/process/dataVisualPercentChart/doCopy.do', {
|
|
contentId: '${dataVisualContent.id}',
|
|
id: '${dataVisualPercentChart.id}'
|
|
}, function (data) {
|
|
var datajson = JSON.parse(data);
|
|
closeModal('percentChartSubModal');
|
|
if ('${dataVisualContent.istab}' == 'true') {
|
|
showOneContent(datajson.id, 'tab');
|
|
} else {
|
|
showOneContent(datajson.id);
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
<div class="modal fade" id="percentChartSubModal">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">编辑</h4>
|
|
</div>
|
|
|
|
<div id="alertDiv"></div>
|
|
|
|
<div class="modal-body">
|
|
<!-- 新增界面formid强制为subForm -->
|
|
<form class="form-horizontal" id="contentsubForm" autocomplete="off">
|
|
<!-- 界面提醒div强制id为alertDiv -->
|
|
<input type="hidden" name="id" id="id" value="${dataVisualContent.id}"/>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">左侧距离</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="postx" name="postx" placeholder="左侧距离"
|
|
value="${dataVisualContent.postx}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">上侧距离</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="posty" name="posty" placeholder="上侧距离"
|
|
value="${dataVisualContent.posty}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">宽度</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="width" name="width" placeholder="宽度"
|
|
value="${dataVisualContent.width}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">高度</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="height" name="height" placeholder="高度"
|
|
value="${dataVisualContent.height}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">自适应</label>
|
|
<div class="col-sm-4">
|
|
<div class="switch" data-on="primary" data-off="info">
|
|
<input id="switchBtnIsFull" type="checkbox"/>
|
|
</div>
|
|
</div>
|
|
<label class="col-sm-2 control-label">固定组件</label>
|
|
<div class="col-sm-4">
|
|
<div class="switch" data-on="primary" data-off="info">
|
|
<input id="switchBtnIsFixed" type="checkbox"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">刷新时间</label>
|
|
<div class="col-sm-3">
|
|
<input type="text" class="form-control" id="refreshtime" name="refreshtime"
|
|
placeholder="刷新时间"
|
|
value="${dataVisualContent.refreshtime}">
|
|
</div>
|
|
<div class="col-sm-1">
|
|
<div style="line-height: 34px;text-align: center;">min</div>
|
|
</div>
|
|
<label class="col-sm-2 control-label">图层</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="zIndex" name="zIndex" placeholder="图层"
|
|
value="${dataVisualContent.zIndex}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">样式</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control" id="style" name="style" placeholder="样式"
|
|
value="${dataVisualContent.style}">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<form class="form-horizontal" id="chartsubForm" autocomplete="off">
|
|
<!-- 界面提醒div强制id为alertDiv -->
|
|
<input type="hidden" name="id" id="id" value="${dataVisualPercentChart.id}"/>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">测量点</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="mpid" name="mpid"
|
|
placeholder="测量点"
|
|
value="${dataVisualPercentChart.mpid}" onclick="selectmpid();">
|
|
</div>
|
|
<label class="col-sm-2 control-label">计算方式</label>
|
|
<div class="col-sm-4">
|
|
<select class="form-control select2 " id="valuemethod" name="valuemethod"
|
|
style="width: 170px;"></select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">接口数据</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control" id="urldata" name="urldata"
|
|
placeholder="接口数据"
|
|
value="${dataVisualPercentChart.urldata}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">固定值</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="titleText" name="titleText"
|
|
placeholder="固定值"
|
|
value="${dataVisualPercentChart.titleText}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">小数位</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="numtail" name="numtail"
|
|
placeholder="小数位"
|
|
value="${dataVisualPercentChart.numtail}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">系数</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="rate" name="rate"
|
|
placeholder="系数"
|
|
value="${dataVisualPercentChart.rate}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">标题颜色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="titleColorContainer">
|
|
<input name="titleColor" id="titleColor" type="text" class="form-control"
|
|
placeholder="标题颜色"
|
|
value="${dataVisualPercentChart.titleColor}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<label class="col-sm-2 control-label">标题大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="titleFontSize" name="titleFontSize"
|
|
placeholder="标题大小"
|
|
value="${dataVisualPercentChart.titleFontSize}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">标题粗细</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="titleFontWeight" name="titleFontWeight"
|
|
placeholder="标题粗细"
|
|
value="${dataVisualPercentChart.titleFontWeight}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">与左侧距离</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="titleLeftPosition" name="titleLeftPosition"
|
|
placeholder="与左侧距离"
|
|
value="${dataVisualPercentChart.titleLeftPosition}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">与顶部距离</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="titleTopPosition" name="titleTopPosition"
|
|
placeholder="与顶部距离"
|
|
value="${dataVisualPercentChart.titleTopPosition}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">副标题内容</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="subtitleText" name="subtitleText"
|
|
placeholder="副标题内容"
|
|
value="${dataVisualPercentChart.subtitleText}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">副标题颜色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="subtitleColorContainer">
|
|
<input name="subtitleColor" id="subtitleColor" type="text" class="form-control"
|
|
placeholder="副标题颜色"
|
|
value="${dataVisualPercentChart.subtitleColor}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">副标题大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="subtitleFontSize" name="subtitleFontSize"
|
|
placeholder="副标题大小"
|
|
value="${dataVisualPercentChart.subtitleFontSize}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">副标题粗细</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="subtitleFontWeight" name="subtitleFontWeight"
|
|
placeholder="副标题粗细"
|
|
value="${dataVisualPercentChart.subtitleFontWeight}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">与标题距离</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="subtitlePosition" name="subtitlePosition"
|
|
placeholder="与标题距离"
|
|
value="${dataVisualPercentChart.subtitlePosition}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">单位</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="unittitleText" name="unittitleText"
|
|
placeholder="单位"
|
|
value="${dataVisualPercentChart.unittitleText}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">单位颜色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="unittitleColorContainer">
|
|
<input name="unittitleColor" id="unittitleColor" type="text" class="form-control"
|
|
placeholder="单位颜色"
|
|
value="${dataVisualPercentChart.unittitleColor}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">单位大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="unittitleFontSize" name="unittitleFontSize"
|
|
placeholder="单位大小"
|
|
value="${dataVisualPercentChart.unittitleFontSize}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">单位粗细</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="unittitleFontWeight" name="unittitleFontWeight"
|
|
placeholder="单位粗细"
|
|
value="${dataVisualPercentChart.unittitleFontWeight}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">是否换行</label>
|
|
<div class="col-sm-4">
|
|
<div class="switch" data-on="primary" data-off="info">
|
|
<input id="switchBtnUnitisneedbr" type="checkbox"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">旋转方向</label>
|
|
<div class="col-sm-4">
|
|
<div class="switch" data-on="primary" data-off="info">
|
|
<select class="form-control select2 " id="clockwise" name="clockwise"
|
|
style="width: 170px;"></select>
|
|
</div>
|
|
</div>
|
|
<label class="col-sm-2 control-label">图形大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="radius" name="radius"
|
|
placeholder="图形大小"
|
|
value="${dataVisualPercentChart.radius}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">刻度最大值</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="angleaxismax" name="angleaxismax"
|
|
placeholder="刻度最大值"
|
|
value="${dataVisualPercentChart.angleaxismax}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">刻度角度</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="startangle" name="startangle"
|
|
placeholder="刻度角度"
|
|
value="${dataVisualPercentChart.startangle}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">分值环大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="scoreringwidth" name="scoreringwidth"
|
|
placeholder="分值环大小"
|
|
value="${dataVisualPercentChart.scoreringwidth}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">分值环颜色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="scoreringcolorContainer">
|
|
<input name="scoreringcolor" id="scoreringcolor" type="text" class="form-control"
|
|
placeholder="分值环颜色"
|
|
value="${dataVisualPercentChart.scoreringcolor}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">背景环大小</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="bgringwidth" name="bgringwidth"
|
|
placeholder="背景环大小"
|
|
value="${dataVisualPercentChart.bgringwidth}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">背景环颜色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="bgringcolorContainer">
|
|
<input name="bgringcolor" id="bgringcolor" type="text" class="form-control"
|
|
placeholder="背景环颜色"
|
|
value="${dataVisualPercentChart.bgringcolor}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">背景环位置</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="bgringposition" name="bgringposition"
|
|
placeholder="背景环位置"
|
|
value="${dataVisualPercentChart.bgringposition}">
|
|
</div>
|
|
<label class="col-sm-2 control-label">背景色</label>
|
|
<div class="col-sm-4">
|
|
<div class="input-group" id="backgroundContainer">
|
|
<input name="background" id="background" type="text" class="form-control"
|
|
placeholder="背景色"
|
|
value="${dataVisualPercentChart.background}">
|
|
<div class="input-group-addon">
|
|
<i></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
|
|
<button type="button" class="btn" onclick="doPercentChartDel();">删除</button>
|
|
<button type="button" class="btn btn-primary" onclick="doCopy()">拷贝</button>
|
|
<button type="button" class="btn btn-primary" onclick="doPercentChartsave()">保存</button>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div> |