apply-clients 3.3.110-207 → 3.3.110-210
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/package.json
CHANGED
|
@@ -226,8 +226,8 @@ export default {
|
|
|
226
226
|
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
227
227
|
)
|
|
228
228
|
console.log('打印查询的内容',restp1)
|
|
229
|
-
restp1.data[0].processname = '散户报建流程'
|
|
230
|
-
restp1.data[0].defname = '报装缴费'
|
|
229
|
+
// restp1.data[0].processname = '散户报建流程'
|
|
230
|
+
// restp1.data[0].defname = '报装缴费'
|
|
231
231
|
this.$dispatch('gotoson',restp1.data[0])
|
|
232
232
|
this.$goto('app-service-control', {selectdata: restp1.data[0]}, 'self',restp1.data[0])
|
|
233
233
|
}else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
@@ -246,8 +246,8 @@ export default {
|
|
|
246
246
|
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
247
247
|
)
|
|
248
248
|
console.log('打印查询的内容',restp2)
|
|
249
|
-
restp2.data[0].processname = '散户报建流程'
|
|
250
|
-
restp2.data[0].defname = '工程派工'
|
|
249
|
+
// restp2.data[0].processname = '散户报建流程'
|
|
250
|
+
// restp2.data[0].defname = '工程派工'
|
|
251
251
|
this.$dispatch('gotoson',restp2.data[0])
|
|
252
252
|
this.$goto('app-service-control', {selectdata: restp2.data[0]}, 'self',restp2.data[0])
|
|
253
253
|
}
|
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
</template>
|
|
151
151
|
|
|
152
152
|
<script>
|
|
153
|
+
import Vue from 'vue'
|
|
153
154
|
import {HttpResetClass} from 'vue-client'
|
|
154
155
|
export default {
|
|
155
156
|
name: 'addMaterialScience',
|
|
@@ -190,7 +191,7 @@
|
|
|
190
191
|
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
191
192
|
}
|
|
192
193
|
let res = await this.$resetpost(
|
|
193
|
-
|
|
194
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
194
195
|
{data: data},
|
|
195
196
|
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
196
197
|
)
|
|
@@ -234,7 +235,7 @@
|
|
|
234
235
|
let http = new HttpResetClass()
|
|
235
236
|
let res = await http.load(
|
|
236
237
|
'POST',
|
|
237
|
-
|
|
238
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/getStockMaterial`,
|
|
238
239
|
{data: data},
|
|
239
240
|
{resolveMsg: null, rejectMsg: '材料查询失败!!!'}
|
|
240
241
|
)
|
|
@@ -260,15 +261,15 @@
|
|
|
260
261
|
this.title = '新增'
|
|
261
262
|
let data = {
|
|
262
263
|
f_process_id : this.selectdata.f_process_id,
|
|
263
|
-
f_operator_id:
|
|
264
|
-
f_operator:
|
|
264
|
+
f_operator_id: Vue.user.id,
|
|
265
|
+
f_operator: Vue.user.name,
|
|
265
266
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
266
|
-
f_orgid:
|
|
267
|
-
f_orgname:
|
|
267
|
+
f_orgid: Vue.user.orgid,
|
|
268
|
+
f_orgname: Vue.user.orgs,
|
|
268
269
|
materials:this.materials
|
|
269
270
|
}
|
|
270
271
|
let res = await this.$resetpost(
|
|
271
|
-
|
|
272
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
|
|
272
273
|
data
|
|
273
274
|
)
|
|
274
275
|
this.closeMaterials()
|
|
@@ -280,7 +281,7 @@
|
|
|
280
281
|
|
|
281
282
|
let res = http.load(
|
|
282
283
|
'DELETE',
|
|
283
|
-
|
|
284
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply/${row.id}`,
|
|
284
285
|
null,
|
|
285
286
|
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
286
287
|
)
|
|
@@ -312,7 +313,7 @@
|
|
|
312
313
|
data.f_material_number = this.materials[0].f_material_number
|
|
313
314
|
data.f_material_code = this.materials[0].f_material_code
|
|
314
315
|
let res = await this.$resetpost(
|
|
315
|
-
|
|
316
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply`,
|
|
316
317
|
data
|
|
317
318
|
)
|
|
318
319
|
this.closeMaterials()
|
|
@@ -257,14 +257,15 @@
|
|
|
257
257
|
},
|
|
258
258
|
// 新增材料
|
|
259
259
|
async addMaterial () {
|
|
260
|
+
console.log("登录信息:",this.$login.f)
|
|
260
261
|
this.title = '新增'
|
|
261
262
|
let data = {
|
|
262
263
|
f_process_id : this.selectdata.f_process_id,
|
|
263
264
|
f_operator_id: this.$login.f.id,
|
|
264
265
|
f_operator: this.$login.f.name,
|
|
265
266
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
266
|
-
f_orgid: this.$login.f.
|
|
267
|
-
f_orgname: this.$login.f.
|
|
267
|
+
f_orgid: this.$login.f.orgid,
|
|
268
|
+
f_orgname: this.$login.f.orgs,
|
|
268
269
|
materials:this.materials
|
|
269
270
|
}
|
|
270
271
|
let res = await this.$resetpost(
|