Administrator
2023-03-15 c7bbfa1c4c448f703dd9b93de18cd7c93f16fc55
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template/nit/tmp_brief.xhtml">
    <ui:define name="acss">
        <style>
        .form-body span.text {
            line-height: 34px
        }
        </style>
    </ui:define>
    <ui:define name="acontent">
        <input type="hidden" name="" value="#{sessionScope.login_sess_sysdepart}" id="sysDepart" />
        <div class="col-md-5">
            <form class="form-horizontal" id="form">
                <div class="form-body">
                    <div class="form-group">
                        <label class="col-md-3 control-label">系统部门</label>
                        <div class="col-md-9">
                            <span class="text" data-bind="text: o().syName"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">数据库类型</label>
                        <div class="col-md-9">
                            <select name="" id="type" class="form-control" data-bind="value: o().db, options: tList"></select>
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">服务名</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" placeholder="请输入ip地址" data-bind="value: o().ip" name="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">端口</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().port" name="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">数据库名</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().dbName" name="" />
                        </div>
                    </div>
                   <!--  <div class="form-group">
                        <label class="col-md-3 control-label">uri</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().uri" name="" />
                        </div>
                    </div> -->
                    <div class="form-group">
                        <label class="col-md-3 control-label">用户名</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().username" name="" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">密码</label>
                        <div class="col-md-9">
                            <input type="password" class="form-control" data-bind="value: o().pwd" name="" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">半成品url</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().semiRequestURL" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">成品url</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().productRequestURL" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">备注</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().note" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-9 col-md-offset-3">
                            <button class="btn btn-sm btn-info" type="button" id="save">
                                <i class="ace-icon fa fa-save bigger-110"></i>
                                保存
                            </button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </ui:define>
    <ui:define name="myscript">
        <script src="js/ERPDBConfig.js"></script>
    </ui:define>
</ui:composition>
</html>