xuhy
2025-09-05 016ddc332273c36e437a6f3b5f0a25574d5b7b78
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@layout("/common/_container.html"){
<div class="ibox float-e-margins" xmlns="http://www.w3.org/1999/html">
    <div class="ibox-content">
        <div class="form-horizontal" id="siteInfoForm">
            <input type="hidden" id="id" value="${id}">
            <div class="row">
                <div class="col-sm-12">
                    <div class="">
                        <h3 style="margin-left: 100px;">特殊区域价格设置编辑</h3>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">*区域名称:</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="areaName" name="areaName" value="${data.areaName}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">*价格系数:</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="priceCoefficient" name="priceCoefficient" value="${data.priceCoefficient}">
                        </div>
                    </div>
                    注:若行程终点在此电子围栏里则需根据车型计费价格*价格系数计算金额,例如:常区专车车型费用为30,
                    </br>
                    此区域价格系数为1.2,若行程终点在此区域则计算价格为36(30*1.2)
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注:</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="remark" name="remark" value="${data.remark}">
                        </div>
                    </div>
 
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态:</label>
                        <div class="col-sm-10">
                            <div class="form-group">
                                <div class="col-sm-9">
                                    <input type="checkbox" class="js-switch" id="state"
                                           ${1 != data.state ? '' : 'checked=checked'}
                                    />
                                </div>
                            </div>
                        </div>
                    </div>
 
                    <div class="">
                        <h3 style="margin-left: 100px;margin-top: 70px;">区域范围</h3>
                    </div>
                    <div class="form-group">
 
 
                    </div>
 
                    <div class="form-group" id="areaType2Div" >
                        <label class="col-sm-2 control-label">电子围栏:</label>
                        <div class="col-sm-8">
                            <div id="container" style="height: 350px;width: 1000px;"></div>
                            <div class='info' style="margin-top:10px;position: absolute; z-index: 999; left: 20px; width: 450px;">操作说明:圆和矩形通过拖拽来绘制,其他覆盖物通过点击来绘制</div>
                            <div class="input-card" style='margin-top:28px;width: 100rem; z-index: 999; bottom: 20px;'>
                                <div class="input-item">
                                    <!--<input type="radio" name='func' checked="" value='marker'><span class="input-text">画点</span>-->
                                    <!--<input type="radio" name='func' value='polyline'><span class="input-text">画折线</span>&nbsp;&nbsp;-->
                                    <input type="radio" name='func' value='polygon'><span class="input-text" style='width:5rem;'>画多边形</span>&nbsp;&nbsp;
                                    <!--<input type="radio" name='func' value='rectangle'><span class="input-text" style='width:5rem;'>画矩形</span>&nbsp;&nbsp;-->
                                    <input type="radio" name='func' value='circle'><span class="input-text" style='width:5rem;'>画圆</span>
                                </div>
                                <div class="input-item">
                                    <input id="clear" type="button" class="btn" value="清除" />
                                    <input id="close" type="button" class="btn" value="关闭绘图" />
                                    <input type="button" class="btn" value="开始编辑" onclick="editAll()" />
                                    <input type="button" class="btn" value="结束编辑" onclick="closeEdit()" />
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <label style='color:grey'>行政区边界查询</label>
                                <div class="input-group">
                                    <div class="input-group-btn">
                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
                                                type="button">行政级别
                                        </button>
                                    </div>
                                    <select id="level" class="form-control">
                                        <option value="district">区</option>
                                        <option value="city">市</option>
                                        <option value="province">省</option>
                                    </select>
 
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="input-group">
                                    <div class="input-group-btn">
                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
                                                type="button">名称/adcode
                                        </button>
                                    </div>
                                    <input id='district' class="layui-input form-control" type="text" value=''>
                                </div>
                            </div>
                            <input id="find" type="button" class="btn btn-primary btn-sm" value="查询" />
                        </div>
                    </div>
                </div>
            </div>
 
            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-5">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SpecialAreaBillingInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SpecialAreaBillingInfoDlg.close()"/>
                </div>
            </div>
        </div>
 
    </div>
</div>
<script type="text/javascript">
    window._AMapSecurityConfig = {
        securityJsCode:'74ded7b46116084074e0bd314bca7b1d',
    }
</script>
<script src="https://webapi.amap.com/maps?v=1.4.15&key=83a918fd5e6ed82be74e3056d403dbe6&plugin=AMap.MouseTool,AMap.DistrictSearch,AMap.PolyEditor,AMap.RectangleEditor,AMap.CircleEditor"></script>
<script src="${ctxPath}/static/modular/system/specialAreaBilling/electricFence.js"></script>
<script src="${ctxPath}/static/modular/system/specialAreaBilling/specialAreaBilling_info.js"></script>
 
<script>
    $(function() {
        var elem = document.querySelector(".js-switch");
        var init = new Switchery(elem);
        laydate.render({
            elem: '#assessment'
            ,type: 'time'
            ,range: true
        });
    });
 
</script>
@}