mm_os 4.3.5 → 4.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/com/mqtt/drive.js +12 -4
- package/com/mqtt/index.js +60 -25
- package/com/mqtt/script.tpl.js +2 -2
- package/com/nav/tpl/admin_pc/page_channel.vue +5 -5
- package/com/nav/tpl/admin_pc/page_config.vue +5 -5
- package/com/nav/tpl/admin_pc/page_config_form.vue +1 -1
- package/com/nav/tpl/admin_pc/page_default.vue +5 -5
- package/com/nav/tpl/admin_pc/page_form.vue +1 -1
- package/com/nav/tpl/admin_pc/page_lang.vue +5 -5
- package/com/nav/tpl/admin_pc/page_nav.vue +5 -5
- package/com/nav/tpl/admin_pc/page_table.vue +5 -5
- package/com/nav/tpl/admin_pc/page_type.vue +5 -5
- package/com/nav/tpl/admin_pc/page_view.vue +1 -1
- package/com/nav/tpl/dev_pc/page_channel.vue +5 -5
- package/com/nav/tpl/dev_pc/page_config.vue +5 -5
- package/com/nav/tpl/dev_pc/page_default.vue +5 -5
- package/com/nav/tpl/dev_pc/page_form.vue +1 -1
- package/com/nav/tpl/dev_pc/page_nav.vue +5 -5
- package/com/nav/tpl/dev_pc/page_table.vue +5 -5
- package/com/nav/tpl/dev_pc/page_type.vue +6 -6
- package/com/nav/tpl/home_pc/page_channel.vue +5 -5
- package/com/nav/tpl/home_pc/page_default.vue +5 -5
- package/com/nav/tpl/home_pc/page_form.vue +1 -1
- package/com/nav/tpl/home_pc/page_list.vue +5 -5
- package/com/nav/tpl/home_pc/page_nav.vue +5 -5
- package/com/nav/tpl/home_pc/page_type.vue +5 -5
- package/com/nav/tpl/home_pc/page_view.vue +1 -1
- package/com/nav/tpl/home_phone/page_channel.vue +5 -5
- package/com/nav/tpl/home_phone/page_default.vue +5 -5
- package/com/nav/tpl/home_phone/page_form.vue +1 -1
- package/com/nav/tpl/home_phone/page_list.vue +5 -5
- package/com/nav/tpl/home_phone/page_nav.vue +5 -5
- package/com/nav/tpl/home_phone/page_type.vue +5 -5
- package/com/nav/tpl/home_phone/page_view.vue +1 -1
- package/com/pendant/index.js +39 -39
- package/com/sql/drive.js +49 -4
- package/com/template/index.js +141 -141
- package/common/middleware/web_waf/index.js +49 -39
- package/core/app/index.js +711 -710
- package/core/plugin/index.js +13 -43
- package/core/store/index.js +146 -146
- package/package.json +24 -20
- package/server.js +7 -0
- package/com/mqtt/mm_mqtt.js +0 -446
- package/core/store/sql.js +0 -1488
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
<!--{/if}-->
|
|
40
40
|
<!--{/loop}-->
|
|
41
41
|
<div class="mm_item">
|
|
42
|
-
<button class="
|
|
42
|
+
<button class="btn-primary-x" type="reset" @click.native="reset();search()">重置</button>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="bar_action">
|
|
47
47
|
<h5><span>操作</span></h5>
|
|
48
48
|
<div class="btns">
|
|
49
|
-
<button class="
|
|
50
|
-
<button @click.native="show = true" class="
|
|
49
|
+
<button class="btn-primary-x" url="./${name}_form?">添加</button>
|
|
50
|
+
<button @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</button>
|
|
51
51
|
</div>
|
|
52
52
|
<div class="btn_small">
|
|
53
53
|
<control_file class="btn_default-x" type="excel" :func="import_db" v-if="url_import"></control_file>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
<!--{/if}-->
|
|
109
109
|
<!--{/loop}-->
|
|
110
110
|
<td>
|
|
111
|
-
<button class="mm_btn
|
|
111
|
+
<button class="mm_btn btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</button>
|
|
112
112
|
<button class="mm_btn btn_warning" @click.native="del_show(o, field)">删除</button>
|
|
113
113
|
</td>
|
|
114
114
|
</tr>
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<div class="card_foot">
|
|
148
148
|
<div class="mm_group">
|
|
149
149
|
<button class="mm_btn btn_default" type="reset" @click="show = false">取消</button>
|
|
150
|
-
<button class="mm_btn
|
|
150
|
+
<button class="mm_btn btn-primary" type="button" @click="batchSet()">提交</button>
|
|
151
151
|
</div>
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
<!--{/if}-->
|
|
40
40
|
<!--{/loop}-->
|
|
41
41
|
<div class="mm_item">
|
|
42
|
-
<button class="
|
|
42
|
+
<button class="btn-primary-x" type="reset" @click.native="reset();search()">重置</button>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="bar_action">
|
|
47
47
|
<h5><span>操作</span></h5>
|
|
48
48
|
<div class="btns">
|
|
49
|
-
<button class="
|
|
50
|
-
<button @click.native="show = true" class="
|
|
49
|
+
<button class="btn-primary-x" url="./${name}_form?">添加</button>
|
|
50
|
+
<button @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</button>
|
|
51
51
|
</div>
|
|
52
52
|
<div class="btn_small">
|
|
53
53
|
<control_file class="btn_default-x" type="excel" :func="import_db" v-if="url_import"></control_file>
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<!--{/if}-->
|
|
105
105
|
<!--{/loop}-->
|
|
106
106
|
<td>
|
|
107
|
-
<button class="mm_btn
|
|
107
|
+
<button class="mm_btn btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</button>
|
|
108
108
|
<button class="mm_btn btn_warning" @click.native="del_show(o, field)">删除</button>
|
|
109
109
|
</td>
|
|
110
110
|
</tr>
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<div class="card_foot">
|
|
156
156
|
<div class="mm_group">
|
|
157
157
|
<button class="mm_btn btn_default" type="reset" @click="show = false">取消</button>
|
|
158
|
-
<button class="mm_btn
|
|
158
|
+
<button class="mm_btn btn-primary" type="button" @click="batchSet()">提交</button>
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
</div>
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
<!--{/if}-->
|
|
52
52
|
<!--{/loop}-->
|
|
53
53
|
<div class="mm_item">
|
|
54
|
-
<button class="
|
|
54
|
+
<button class="btn-primary-x" type="reset" @click.native="reset();">重置</button>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
<div class="bar_action">
|
|
59
59
|
<h5><span>操作</span></h5>
|
|
60
60
|
<div class="btns">
|
|
61
|
-
<button class="
|
|
62
|
-
<button @click.native="show = true" class="
|
|
61
|
+
<button class="btn-primary-x" url="./${name}_form?">添加</button>
|
|
62
|
+
<button @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</button>
|
|
63
63
|
</div>
|
|
64
64
|
<div class="btn_small">
|
|
65
65
|
<control_file class="btn_default-x" type="excel" :func="import_db" v-if="url_import"></control_file>
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<!--{/if}-->
|
|
125
125
|
<!--{/loop}-->
|
|
126
126
|
<td>
|
|
127
|
-
<button class="
|
|
127
|
+
<button class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</button>
|
|
128
128
|
<button class="btn_warning" @click.native="del_show(o, field)">删除</button>
|
|
129
129
|
</td>
|
|
130
130
|
</tr>
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<tr v-for="(o, idx) in list_new" :key="idx" :class="{'active': select == idx, sub: o[father_id], open: opens_has(o[field]), no_sub: !opens_has_sub(o[field]) }"
|
|
142
142
|
@click="selected(idx)">
|
|
143
143
|
<td>
|
|
144
|
-
<button class="mm_btn
|
|
144
|
+
<button class="mm_btn btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</button>
|
|
145
145
|
<button class="mm_btn btn_warning" @click.native="del_show(o, field)">删除</button>
|
|
146
146
|
</td>
|
|
147
147
|
</tr>
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
<div class="card_foot">
|
|
187
187
|
<div class="mm_group">
|
|
188
188
|
<button class="mm_btn btn_default" type="reset" @click="show = false">取消</button>
|
|
189
|
-
<button class="mm_btn
|
|
189
|
+
<button class="mm_btn btn-primary" type="button" @click="batchSet()">提交</button>
|
|
190
190
|
</div>
|
|
191
191
|
</div>
|
|
192
192
|
</div>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="mm_btn btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="mm_btn
|
|
147
|
+
<button class="mm_btn btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<footer>
|
|
60
60
|
<div class="mm_group">
|
|
61
61
|
<button class="mm_btn btn_default" type="button" @click="cancel">返回</button>
|
|
62
|
-
<button class="mm_btn
|
|
62
|
+
<button class="mm_btn btn-primary" type="button" @click="submit()">提交</button>
|
|
63
63
|
</div>
|
|
64
64
|
</footer>
|
|
65
65
|
</mm_form>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
<!--{/if}-->
|
|
78
78
|
<!--{/loop}-->
|
|
79
79
|
<td>
|
|
80
|
-
<mm_btn class="
|
|
80
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
81
81
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
82
82
|
</td>
|
|
83
83
|
</tr>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<footer>
|
|
132
132
|
<div class="mm_group">
|
|
133
133
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
134
|
-
<button class="
|
|
134
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
135
135
|
</div>
|
|
136
136
|
</footer>
|
|
137
137
|
</mm_view>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<footer>
|
|
48
48
|
<div class="mm_group">
|
|
49
49
|
<button class="mm_btn btn_default" type="button" @click="cancel">返回</button>
|
|
50
|
-
<button class="mm_btn
|
|
50
|
+
<button class="mm_btn btn-primary" type="button" @click="submit()">提交</button>
|
|
51
51
|
</div>
|
|
52
52
|
</footer>
|
|
53
53
|
</mm_form>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<footer>
|
|
60
60
|
<div class="mm_group">
|
|
61
61
|
<button class="mm_btn btn_default" type="button" @click="cancel">返回</button>
|
|
62
|
-
<button class="mm_btn
|
|
62
|
+
<button class="mm_btn btn-primary" type="button" @click="submit()">提交</button>
|
|
63
63
|
</div>
|
|
64
64
|
</footer>
|
|
65
65
|
</mm_form>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="mm_btn btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="mm_btn
|
|
147
|
+
<button class="mm_btn btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<!--{/if}-->
|
|
39
39
|
<!--{/loop}-->
|
|
40
40
|
<mm_col>
|
|
41
|
-
<mm_btn class="
|
|
41
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置
|
|
42
42
|
</mm_btn>
|
|
43
43
|
</mm_col>
|
|
44
44
|
</mm_list>
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
<div class="bar_action">
|
|
47
47
|
<h5><span>操作</span></h5>
|
|
48
48
|
<div class="">
|
|
49
|
-
<mm_btn class="
|
|
50
|
-
<mm_btn @click.native="show = true" class="
|
|
49
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
50
|
+
<mm_btn @click.native="show = true" class="btn-primary-x"
|
|
51
51
|
v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
<!--{/if}-->
|
|
89
89
|
<!--{/loop}-->
|
|
90
90
|
<td>
|
|
91
|
-
<mm_btn class="
|
|
91
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改
|
|
92
92
|
</mm_btn>
|
|
93
93
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
94
94
|
</td>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<footer>
|
|
147
147
|
<div class="mm_group">
|
|
148
148
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
149
|
-
<button class="
|
|
149
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
150
150
|
</div>
|
|
151
151
|
</footer>
|
|
152
152
|
</mm_view>
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
<!--{/if}-->
|
|
34
34
|
<!--{/loop}-->
|
|
35
35
|
<mm_col>
|
|
36
|
-
<mm_btn class="
|
|
36
|
+
<mm_btn class="btn-primary-x" type="reset" @click.native="reset();search()">重置</mm_btn>
|
|
37
37
|
</mm_col>
|
|
38
38
|
</mm_list>
|
|
39
39
|
</mm_form>
|
|
40
40
|
<div class="bar_action">
|
|
41
41
|
<h5><span>操作</span></h5>
|
|
42
42
|
<div class="">
|
|
43
|
-
<mm_btn class="
|
|
44
|
-
<mm_btn @click.native="show = true" class="
|
|
43
|
+
<mm_btn class="btn-primary-x" url="./${name}_form?">添加</mm_btn>
|
|
44
|
+
<mm_btn @click.native="show = true" class="btn-primary-x" v-bind:class="{ 'disabled': !selects }">批量修改</mm_btn>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<mm_table type="2">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</td>
|
|
91
91
|
<!--{/loop}-->
|
|
92
92
|
<td>
|
|
93
|
-
<mm_btn class="
|
|
93
|
+
<mm_btn class="btn-primary" :url="'./${name}_form?${sql.key}=' + o[field]">修改</mm_btn>
|
|
94
94
|
<mm_btn class="btn_warning" @click.native="del_show(o, field)">删除</mm_btn>
|
|
95
95
|
</td>
|
|
96
96
|
</tr>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<footer>
|
|
145
145
|
<div class="mm_group">
|
|
146
146
|
<button class="btn_default" type="reset" @click="show = false">取消</button>
|
|
147
|
-
<button class="
|
|
147
|
+
<button class="btn-primary" type="button" @click="batchSet()">提交</button>
|
|
148
148
|
</div>
|
|
149
149
|
</footer>
|
|
150
150
|
</mm_view>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<footer>
|
|
48
48
|
<div class="mm_group">
|
|
49
49
|
<button class="mm_btn btn_default" type="button" @click="cancel">返回</button>
|
|
50
|
-
<button class="mm_btn
|
|
50
|
+
<button class="mm_btn btn-primary" type="button" @click="submit()">提交</button>
|
|
51
51
|
</div>
|
|
52
52
|
</footer>
|
|
53
53
|
</mm_form>
|