apply-clients 3.3.81 → 3.3.85
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/.project +17 -0
- package/build/dev-server-app.js +76 -76
- package/build/dev-server.js +150 -127
- package/package.json +1 -1
- package/src/App.vue +22 -20
- package/src/apply.js +5 -0
- package/src/applyAndroid.js +39 -34
- package/src/components/android/AppOnetomany.vue +50 -8
- package/src/components/android/AppServiceView.vue +742 -683
- package/src/components/android/AppSign.vue +151 -142
- package/src/components/android/AppTakePic.vue +144 -143
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +136 -0
- package/src/components/android/Process/AppExplorationUser.vue +4 -1
- package/src/components/android/Process/AppServiceControl.vue +1411 -1348
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -311
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Onetomany.vue +49 -7
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +8 -4
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +4 -0
- package/src/components/product/Process/ExplorationSelect.vue +36 -23
- package/src/components/product/Process/Service/ServiceControl.vue +62 -0
- package/src/components/product/ServiceView.vue +253 -4
- package/src/components/product/Supervisory/SupervisoryList.vue +29 -11
- package/src/main.js +27 -28
- package/yarn.lock +0 -9013
|
@@ -151,7 +151,7 @@ import {guid, toStandardTimeString} from '../Util'
|
|
|
151
151
|
import Vue from 'vue'
|
|
152
152
|
export default {
|
|
153
153
|
title: 'onetomany',
|
|
154
|
-
props: ['onetomany', 'index'],
|
|
154
|
+
props: ['onetomany', 'index','selectdata'],
|
|
155
155
|
data () {
|
|
156
156
|
return {
|
|
157
157
|
showModal: false,
|
|
@@ -163,12 +163,54 @@ export default {
|
|
|
163
163
|
ready () {
|
|
164
164
|
},
|
|
165
165
|
methods: {
|
|
166
|
-
confirmModal () {
|
|
166
|
+
async confirmModal () {
|
|
167
167
|
if (this.modelTitle === '新增') {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
//报警器设备型号校验
|
|
169
|
+
if (this.modelTitle === '新增' && this.selectdata.f_apply_type === '报警器报建'){
|
|
170
|
+
let data = {
|
|
171
|
+
f_material_name : "",
|
|
172
|
+
f_bjq_sid: "",
|
|
173
|
+
}
|
|
174
|
+
this.onetomany.fields.forEach(item=>{
|
|
175
|
+
if (item.label === '材料编号'){
|
|
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
|
+
// `/rs/logic/bjqcheck`,
|
|
186
|
+
data
|
|
187
|
+
)
|
|
188
|
+
if (res.data.code == 200){
|
|
189
|
+
if (this.onetomany.add.event) {
|
|
190
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
191
|
+
} else {
|
|
192
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
193
|
+
}
|
|
194
|
+
this.closeModal()
|
|
195
|
+
}else {
|
|
196
|
+
this.disableButton = true
|
|
197
|
+
this.$showMessage(res.data.msg)
|
|
198
|
+
}
|
|
199
|
+
}else {
|
|
200
|
+
if (this.onetomany.add.event) {
|
|
201
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
202
|
+
} else {
|
|
203
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
204
|
+
}
|
|
205
|
+
this.closeModal()
|
|
206
|
+
}
|
|
207
|
+
}else {
|
|
208
|
+
if (this.onetomany.add.event) {
|
|
209
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
210
|
+
} else {
|
|
211
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
212
|
+
}
|
|
213
|
+
this.closeModal()
|
|
172
214
|
}
|
|
173
215
|
}
|
|
174
216
|
if (this.modelTitle === '修改') {
|
|
@@ -177,9 +219,9 @@ export default {
|
|
|
177
219
|
} else {
|
|
178
220
|
this.$dispatch('onetomanyupdate', this.index, this.rowIndex)
|
|
179
221
|
}
|
|
222
|
+
this.closeModal()
|
|
180
223
|
}
|
|
181
|
-
|
|
182
|
-
this.closeModal()
|
|
224
|
+
// this.closeModal()
|
|
183
225
|
},
|
|
184
226
|
onchange (fieldIndex) {
|
|
185
227
|
this.disableModalButton()
|