telephone-clients 4.0.0-1-14 → 4.0.0-1-15
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div id="pc-finduser-page">
|
|
2
|
+
<div id="pc-finduser-page" v-show="!showinfo">
|
|
3
3
|
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
4
|
|
|
5
5
|
<data-grid :model="model" partial='list' v-ref:grid
|
|
@@ -25,20 +25,7 @@
|
|
|
25
25
|
</data-grid>
|
|
26
26
|
</criteria-paged>
|
|
27
27
|
</div>
|
|
28
|
-
<
|
|
29
|
-
<header slot="modal-header" class="modal-header">
|
|
30
|
-
安检详情
|
|
31
|
-
</header>
|
|
32
|
-
<article slot="modal-body" class="modal-body">
|
|
33
|
-
<div class="from-group col-smm-12 col-md-12 col-xs-12" v-if="infoshow">
|
|
34
|
-
<new-check-paper :f_plan_id="onedata.f_check_plan_id" :item="onedata" role="view" >
|
|
35
|
-
</new-check-paper>
|
|
36
|
-
</div>
|
|
37
|
-
</article>
|
|
38
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
39
|
-
<button type="button" class="btn btn-success" @click='close'>确认</button>
|
|
40
|
-
</footer>
|
|
41
|
-
</modal>
|
|
28
|
+
<new-check-paper v-if="showinfo" :f_plan_id="shouinfodata.f_check_plan_id" :item="shouinfodata" :role="'view'" v-on:showback="showback"></new-check-paper>
|
|
42
29
|
</template>
|
|
43
30
|
|
|
44
31
|
<script>
|
|
@@ -65,6 +52,8 @@
|
|
|
65
52
|
title: '用户安检历史',
|
|
66
53
|
data () {
|
|
67
54
|
return {
|
|
55
|
+
showinfo:false,
|
|
56
|
+
shouinfodata:{},
|
|
68
57
|
model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'api/af-safecheck/sql/查找安检单', 5, {orderitem: '"f_onsite_time desc"',f_plan_id:'""',f_approved:'""',f_entry_status:'""',f_no_checkplan:'""',f_filialeid:'""'}),
|
|
69
58
|
row: Object,
|
|
70
59
|
infoshow:false,
|
|
@@ -78,12 +67,16 @@
|
|
|
78
67
|
clearflg:0
|
|
79
68
|
},
|
|
80
69
|
methods: {
|
|
70
|
+
showback(){
|
|
71
|
+
this.showinfo = false
|
|
72
|
+
},
|
|
81
73
|
close(){
|
|
82
74
|
this.infoshow = false
|
|
83
75
|
},
|
|
84
76
|
change(row) {
|
|
85
77
|
row.f_upload_state = '已传'
|
|
86
|
-
this
|
|
78
|
+
this.shouinfodata = JSON.parse(JSON.stringify(row))
|
|
79
|
+
this.showinfo = true
|
|
87
80
|
},
|
|
88
81
|
// change(val){
|
|
89
82
|
//
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div class="y-form-item">
|
|
16
|
-
<label
|
|
16
|
+
<label>材料名称</label>
|
|
17
17
|
<input-select
|
|
18
18
|
class="select select_list y-form-item-input"
|
|
19
19
|
:value.sync="item.f_typename"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
<div class="y-form-item">
|
|
28
|
-
<label
|
|
28
|
+
<label>材料型号</label>
|
|
29
29
|
<input-select
|
|
30
30
|
class="select select_list y-form-item-input"
|
|
31
31
|
:value.sync="item.f_typenumber"
|
|
@@ -164,11 +164,11 @@ export default {
|
|
|
164
164
|
for (let index = 0; index < this.material.length; index++) {
|
|
165
165
|
const item = this.material[index]
|
|
166
166
|
if (!item.f_typename) {
|
|
167
|
-
this.$showMessage(`请选择材料${index + 1}
|
|
167
|
+
this.$showMessage(`请选择材料${index + 1}的材料名称`)
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
170
|
if (!item.f_typenumber) {
|
|
171
|
-
this.$showMessage(`请选择材料${index + 1}
|
|
171
|
+
this.$showMessage(`请选择材料${index + 1}的材料型号`)
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
174
|
if (!item.f_material_price) {
|
|
@@ -191,11 +191,11 @@ export default {
|
|
|
191
191
|
for (let index = 0; index < this.material.length; index++) {
|
|
192
192
|
const item = this.material[index]
|
|
193
193
|
if (!item.f_typename) {
|
|
194
|
-
this.$showMessage(`请选择材料${index + 1}
|
|
194
|
+
this.$showMessage(`请选择材料${index + 1}的材料名称`)
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
if (!item.f_typenumber) {
|
|
198
|
-
this.$showMessage(`请选择材料${index + 1}
|
|
198
|
+
this.$showMessage(`请选择材料${index + 1}的材料型号`)
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
if (!item.f_material_price) {
|