telephone-clients 4.0.0-1-11 → 4.0.0-1-13
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/CHANGELOG.md +37 -37
- package/README.md +38 -38
- package/package.json +120 -120
- package/release.bat +5 -5
- package/src/components/temp/SecuritycheckInfo.vue +133 -140
- package/src/filiale/meihekou/android/AppInstallationMaterial.vue +856 -856
- package/src/filiale/meihekou/android/FaultAll.vue +914 -914
- package/src/filiale/yuncheng/pc/TelFindUser.vue +338 -338
|
@@ -1,140 +1,133 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="pc-finduser-page">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
|
-
|
|
5
|
-
<data-grid :model="model" partial='list' v-ref:grid
|
|
6
|
-
class="list_area table_sy">
|
|
7
|
-
<template partial='head'>
|
|
8
|
-
<tr>
|
|
9
|
-
<!-- <th><nobr>卡号</nobr></th>-->
|
|
10
|
-
<th><nobr>安检日期</nobr></th>
|
|
11
|
-
<th><nobr>入户情况</nobr></th>
|
|
12
|
-
<th><nobr>安检员</nobr></th>
|
|
13
|
-
<th> <nobr>隐患明细</nobr></th>
|
|
14
|
-
<th> <nobr>操作</nobr></th>
|
|
15
|
-
</tr>
|
|
16
|
-
</template>
|
|
17
|
-
<template partial='body'>
|
|
18
|
-
<!-- <td><nobr>{{row.f_card_id}}</nobr></td>-->
|
|
19
|
-
<td style="text-align: center"><nobr>{{row.f_onsite_time.substring(0,11)}}</nobr></td>
|
|
20
|
-
<td style="text-align: center"><nobr>{{row.f_entry_status}}</nobr></td>
|
|
21
|
-
<td style="text-align: center"><nobr>{{row.f_checker_name}}</nobr></td>
|
|
22
|
-
<td style="text-align: center" ><nobr>{{row.f_defect_text?row.f_defect_text:$parent.$parent.$parent.getjsonData(row.f_defect_content)}}</nobr></td>
|
|
23
|
-
<td style="text-align: center"><nobr><button-link type="button" class="btn btn-link" @click="$parent.$parent.$parent.change(row)">查看</button-link></nobr></td>
|
|
24
|
-
</template>
|
|
25
|
-
</data-grid>
|
|
26
|
-
</criteria-paged>
|
|
27
|
-
</div>
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if (this.user && this.user.f_userinfo_id) {
|
|
135
|
-
this.model.search(`f_userinfoid = '${this.user.f_userinfo_id}'`)
|
|
136
|
-
}
|
|
137
|
-
//this.model.rows=[{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'},{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'},{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'}]
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="pc-finduser-page" v-show="!showinfo">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :simple="true">
|
|
4
|
+
|
|
5
|
+
<data-grid :model="model" partial='list' v-ref:grid
|
|
6
|
+
class="list_area table_sy">
|
|
7
|
+
<template partial='head'>
|
|
8
|
+
<tr>
|
|
9
|
+
<!-- <th><nobr>卡号</nobr></th>-->
|
|
10
|
+
<th><nobr>安检日期</nobr></th>
|
|
11
|
+
<th><nobr>入户情况</nobr></th>
|
|
12
|
+
<th><nobr>安检员</nobr></th>
|
|
13
|
+
<th> <nobr>隐患明细</nobr></th>
|
|
14
|
+
<th> <nobr>操作</nobr></th>
|
|
15
|
+
</tr>
|
|
16
|
+
</template>
|
|
17
|
+
<template partial='body'>
|
|
18
|
+
<!-- <td><nobr>{{row.f_card_id}}</nobr></td>-->
|
|
19
|
+
<td style="text-align: center"><nobr>{{row.f_onsite_time.substring(0,11)}}</nobr></td>
|
|
20
|
+
<td style="text-align: center"><nobr>{{row.f_entry_status}}</nobr></td>
|
|
21
|
+
<td style="text-align: center"><nobr>{{row.f_checker_name}}</nobr></td>
|
|
22
|
+
<td style="text-align: center" ><nobr>{{row.f_defect_text?row.f_defect_text:$parent.$parent.$parent.getjsonData(row.f_defect_content)}}</nobr></td>
|
|
23
|
+
<td style="text-align: center"><nobr><button-link type="button" class="btn btn-link" @click="$parent.$parent.$parent.change(row)">查看</button-link></nobr></td>
|
|
24
|
+
</template>
|
|
25
|
+
</data-grid>
|
|
26
|
+
</criteria-paged>
|
|
27
|
+
</div>
|
|
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>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
/**
|
|
33
|
+
*用户档案相关信息组件
|
|
34
|
+
*/
|
|
35
|
+
import { PagedList } from 'vue-client'
|
|
36
|
+
import Vue from 'vue'
|
|
37
|
+
import {isEmpty} from "../Util";
|
|
38
|
+
//获取json配置文件
|
|
39
|
+
let asyncReady = async function (self) {
|
|
40
|
+
// 获取配置信息
|
|
41
|
+
try {
|
|
42
|
+
let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
|
43
|
+
Vue.config = res.data
|
|
44
|
+
} catch (error) {
|
|
45
|
+
// 忽略704,文件找不到异常R
|
|
46
|
+
if (error.status !== 704) {
|
|
47
|
+
throw error
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export default {
|
|
52
|
+
title: '用户安检历史',
|
|
53
|
+
data () {
|
|
54
|
+
return {
|
|
55
|
+
showinfo:false,
|
|
56
|
+
shouinfodata:{},
|
|
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:'""'}),
|
|
58
|
+
row: Object,
|
|
59
|
+
infoshow:false,
|
|
60
|
+
onedata:Object
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
props: {
|
|
64
|
+
user: {
|
|
65
|
+
type: Object
|
|
66
|
+
},
|
|
67
|
+
clearflg:0
|
|
68
|
+
},
|
|
69
|
+
methods: {
|
|
70
|
+
showback(){
|
|
71
|
+
this.showinfo = false
|
|
72
|
+
},
|
|
73
|
+
close(){
|
|
74
|
+
this.infoshow = false
|
|
75
|
+
},
|
|
76
|
+
change(row) {
|
|
77
|
+
row.f_upload_state = '已传'
|
|
78
|
+
this.shouinfodata = JSON.parse(JSON.stringify(row))
|
|
79
|
+
this.showinfo = true
|
|
80
|
+
},
|
|
81
|
+
// change(val){
|
|
82
|
+
//
|
|
83
|
+
// this.onedata = val
|
|
84
|
+
// this.infoshow = true
|
|
85
|
+
// },
|
|
86
|
+
getjsonData(value){
|
|
87
|
+
//将value字符串转换成json对象
|
|
88
|
+
let jsonStr= JSON.parse(value);
|
|
89
|
+
let str = jsonStr.data;
|
|
90
|
+
if(jsonStr.result=='正常'){
|
|
91
|
+
return '正常'
|
|
92
|
+
}else{
|
|
93
|
+
let result = ''
|
|
94
|
+
if (str) {
|
|
95
|
+
for (const itemdata of str) {
|
|
96
|
+
const keys = Object.keys(itemdata)
|
|
97
|
+
for (const itm of keys) {
|
|
98
|
+
const value = itemdata[itm]
|
|
99
|
+
result += itm + ':' + value +' '
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return result
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
selected (row) {
|
|
107
|
+
if (this.row === row) {
|
|
108
|
+
this.row = null
|
|
109
|
+
} else {
|
|
110
|
+
this.row = row
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
isSelected (row) {
|
|
114
|
+
return this.row === row
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
watch: {
|
|
118
|
+
'user' (val) {
|
|
119
|
+
//tag
|
|
120
|
+
this.model.search(`f_userinfoid = '${this.user.f_userinfo_id}'`)
|
|
121
|
+
},
|
|
122
|
+
'clearflg'(){
|
|
123
|
+
this.model.rows = []
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
ready () {
|
|
127
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
128
|
+
this.model.search(`f_userinfoid = '${this.user.f_userinfo_id}'`)
|
|
129
|
+
}
|
|
130
|
+
//this.model.rows=[{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'},{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'},{f_onsite_time:'2020-01-01',f_entry_status:'入戶',f_checker_name:'何11'}]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
</script>
|