apply-clients 3.3.94-2 → 3.3.94-21-4
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/build/dev-server.js +2 -4
- package/package.json +1 -1
- package/src/App.vue +21 -20
- package/src/components/android/AppOnetomany.vue +32 -45
- package/src/components/android/AppServiceView.vue +814 -752
- package/src/components/android/AppTakePic.vue +143 -144
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +9 -3
- package/src/components/android/Process/AppServiceControl.vue +1417 -1417
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +5 -0
- package/src/components/product/Onetomany.vue +31 -44
- package/src/components/product/Process/Service/ServiceControl.vue +1430 -1430
- package/src/components/product/Supervisory/SupervisoryList.vue +378 -378
- package/src/main.js +27 -26
package/build/dev-server.js
CHANGED
|
@@ -8,10 +8,8 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var ldap = 'http://192.168.20.28:8400'
|
|
14
|
-
var applyinstall = 'http://192.168.20.28:8400'
|
|
11
|
+
var ldap = 'http://192.168.20.28:8556'
|
|
12
|
+
var applyinstall = 'http://192.168.20.28:8556'
|
|
15
13
|
var proxyTable = {
|
|
16
14
|
'/wx': {
|
|
17
15
|
target: ldap
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<!-- <route :comp="{name: 'login'}"></route>-->
|
|
7
|
+
<route :comp="{name: 'login-app'}"></route>
|
|
8
|
+
</article>
|
|
9
|
+
</div>
|
|
10
|
+
</app-base>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
</script>
|
|
@@ -164,56 +164,43 @@ export default {
|
|
|
164
164
|
},
|
|
165
165
|
methods: {
|
|
166
166
|
async confirmModal () {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
//报警器设备型号校验
|
|
168
|
+
if (this.selectdata.f_apply_type === '报警器报建') {
|
|
169
|
+
let data = {
|
|
170
|
+
f_material_name: "",
|
|
171
|
+
f_bjq_sid: "",
|
|
172
|
+
}
|
|
173
|
+
this.onetomany.fields.forEach(item => {
|
|
174
|
+
if (item.label === '材料编号') {
|
|
175
|
+
data.f_bjq_sid = item.value
|
|
173
176
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
data.f_bjq_sid = item.value
|
|
177
|
-
}
|
|
178
|
-
if (item.label === '材料名称'){
|
|
179
|
-
data.f_material_name = item.value
|
|
180
|
-
}
|
|
181
|
-
})
|
|
182
|
-
if (data.f_material_name.substr(0,3) === '报警器'){
|
|
183
|
-
let res = await this.$resetpost(
|
|
184
|
-
`${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqcheck`,
|
|
185
|
-
// `ncc/rs/logic/bjqcheck`,
|
|
186
|
-
// `/rs/logic/bjqcheck`,
|
|
187
|
-
data
|
|
188
|
-
)
|
|
189
|
-
if (res.data.code == 200){
|
|
190
|
-
if (this.onetomany.add.event) {
|
|
191
|
-
this.$dispatch(this.onetomany.add.event, this.index)
|
|
192
|
-
} else {
|
|
193
|
-
this.$dispatch('onetomanyadd', this.index)
|
|
194
|
-
}
|
|
195
|
-
this.closeModal()
|
|
196
|
-
}else {
|
|
197
|
-
this.disableButton = true
|
|
198
|
-
this.$showMessage(res.data.msg)
|
|
199
|
-
}
|
|
200
|
-
}else {
|
|
201
|
-
if (this.onetomany.add.event) {
|
|
202
|
-
this.$dispatch(this.onetomany.add.event, this.index)
|
|
203
|
-
} else {
|
|
204
|
-
this.$dispatch('onetomanyadd', this.index)
|
|
205
|
-
}
|
|
206
|
-
this.closeModal()
|
|
177
|
+
if (item.label === '材料名称') {
|
|
178
|
+
data.f_material_name = item.value
|
|
207
179
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
180
|
+
})
|
|
181
|
+
if (data.f_material_name.substr(0, 3) === '报警器') {
|
|
182
|
+
let res = await this.$resetpost(
|
|
183
|
+
`${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqcheck`,
|
|
184
|
+
// `ncc/rs/logic/bjqcheck`,
|
|
185
|
+
// `/rs/logic/bjqcheck`,
|
|
186
|
+
data
|
|
187
|
+
)
|
|
188
|
+
if (res.data.code != 200) {
|
|
189
|
+
this.disableButton = true
|
|
190
|
+
this.$showMessage(res.data.msg)
|
|
191
|
+
return
|
|
213
192
|
}
|
|
214
|
-
this.closeModal()
|
|
215
193
|
}
|
|
216
194
|
}
|
|
195
|
+
|
|
196
|
+
if (this.modelTitle === '新增') {
|
|
197
|
+
if (this.onetomany.add.event) {
|
|
198
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
199
|
+
} else {
|
|
200
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
201
|
+
}
|
|
202
|
+
this.closeModal()
|
|
203
|
+
}
|
|
217
204
|
if (this.modelTitle === '修改') {
|
|
218
205
|
if (this.onetomany.update.event) {
|
|
219
206
|
this.$dispatch(this.onetomany.update.event, this.index, this.rowIndex)
|