zhangjiaqing
8 天以前 1cef3adee31c6934c0da4b4f0b8a6f5ac03b364f
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
<div>
    <div class="bg-white padding-sm">
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddParentMachineTypeModal()">
            <i class="fa fa-plus"></i>添加一级分类
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddMachineTypeModal()">
            <i class="fa fa-plus"></i>添加子级分类
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openEditMachineTypeModel()">
            <i class="fa fa-edit"></i>修改
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openDeleteMachineTypeModel()">
            <i class="fa fa-times"></i>删除
        </button>
    </div>
    <div class="row">
        <div class="col-md-2" style="padding-right:0px">
            <vc:create path="property/machineTypeTree" callBackListener="equipmentAccount"></vc:create>
        </div>
        <div class="col-md-10 margin-top-xs">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                        <div class="ibox-content border-radius">
                            <h3 class="m-t-none m-b ">
                                <span><vc:i18n name="详情" namespace="machineTypeInfo"></vc:i18n></span>
                            </h3>
                            <div class="ibox-content">
                                <div>
                                    <div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span>
                                                    <vc:i18n name="设备类型名称" namespace="machineTypeInfo"></vc:i18n>
                                                </span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.machineTypeName}}
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="分类编码" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.machineTypeCode}}
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="启用状态" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10" style="line-height: 30px;">
                                                <label class="radio-inline">
                                                    <input type="radio" disabled v-model="machineTypeInfo.isEnable"
                                                           value="1000"/> 启用
                                                </label>
                                                <label class="radio-inline">
                                                    <input type="radio" disabled v-model="machineTypeInfo.isEnable"
                                                           value="2000"/> 停用
                                                </label>
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="重要等级" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10" v-for="(item,index) in importanceLevels"
                                                 v-if="machineTypeInfo.importanceLevel == item.statusCd" :key="index">
                                                <span>{{item.name}}</span>
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="排序值" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.seq}}
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="单位" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.unit}}
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span>
                                                    <vc:i18n name="保修截止日期" namespace="machineTypeInfo"></vc:i18n>
                                                </span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.warrantyDeadline}}
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <label class="col-sm-2 col-form-label">
                                                <span><vc:i18n name="备注" namespace="machineTypeInfo"></vc:i18n></span>
                                            </label>
                                            <div class="col-sm-10">
                                                {{machineTypeInfo.remark}}
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 设备分类 -->
    <vc:create path="property/addMachineType" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editMachineType"></vc:create>
    <vc:create path="property/deleteMachineType"></vc:create>
</div>