safecheck-client 3.0.34-27 → 3.0.34-29

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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -55
  3. package/src/App.vue +31 -31
  4. package/src/components/android/ImgSelfAndroid.vue +181 -181
  5. package/src/components/android/QRCode/QRCodeBinding.vue +247 -247
  6. package/src/components/android/QRCode/QRCodePage.vue +199 -199
  7. package/src/components/android/SafecheckDevices.vue +1298 -1298
  8. package/src/components/android/examples/SafeListExamples.vue +95 -95
  9. package/src/components/android/examples/UserExamples.vue +125 -125
  10. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  11. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  12. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  13. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  14. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  15. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  16. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  17. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  18. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  19. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  20. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  21. package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
  22. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  23. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1231 -0
  24. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  25. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -2811
  26. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  27. package/src/filiale/jiaxian/android.js +14 -13
  28. package/src/filiale/jiaxian/pc.js +12 -12
  29. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  30. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  31. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  32. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  33. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  34. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
  35. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +649 -649
  36. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  37. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -24
  38. package/src/main.js +1 -1
@@ -1,199 +1,199 @@
1
- <template>
2
- <div class="auto">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div partial>
6
- <form>
7
- <div class="row app-row">
8
- <div class="col-xs-4">
9
- <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
10
- <label class="font text-left">二维码编号:</label>
11
- </div>
12
- <div class="col-xs-8" >
13
- <input class="search_input input-font" style="width: 70%" placeholder="请输入或扫码" v-model="model.id"/>
14
- <button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
15
- </div>
16
- </div>
17
- <div class="row app-row">
18
- <div class="col-xs-4">
19
- <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
20
- <label class="font text-left">负责人:</label>
21
- </div>
22
- <div class="col-xs-8">
23
- <v-select :value.sync="model.f_head_name" class="input-font"
24
- :options='$parent.$parent.head_names' placeholder='请选择负责人' :value-single="true"
25
- v-model="model.f_head_name" close-on-select clear-button></v-select>
26
- </div>
27
- </div>
28
- <div class="row app-row">
29
- <div class="col-xs-4">
30
- <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
31
- <label class="font text-left">小区名称/用户名称:</label>
32
- </div>
33
- <div class="col-xs-8" >
34
- <input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入小区名称/用户名称(可模糊查询)">
35
- </div>
36
- </div>
37
- <div class="row text-center" style="margin-top: 20px;">
38
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.search">查询</button>
39
- </div>
40
- <div style="height:30px;"></div>
41
- </form>
42
- </div>
43
- </criteria>
44
-
45
- <list :model="model" partial='list'>
46
- <div partial>
47
- <div class="auto app-text" style="margin-top: 5px;">
48
- <div class="panel" style="padding: 10px 10px 5px 10px;">
49
- <div class="panel-body panel-self">
50
- <div class="row">
51
- <p class="panel-title col-xs-4 text-left font">二维码编号</p>
52
- <p class="panel-title col-xs-8 text-left input-font">{{ row.id }}</p>
53
- </div>
54
- <div class="row">
55
- <p class="panel-title col-xs-4 text-left font">负责人二维码编号</p>
56
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_code }}</p>
57
- </div>
58
- <div class="row">
59
- <p class="panel-title col-xs-4 text-left font">安检情况二维码编号</p>
60
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_safecheck_code }}</p>
61
- </div>
62
- <div class="row">
63
- <p class="panel-title col-xs-4 text-left font">负责人姓名</p>
64
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_name }}</p>
65
- </div>
66
- <div class="row">
67
- <p class="panel-title col-xs-4 text-left font">小区/用户名称</p>
68
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name}}</p>
69
- </div>
70
- <div class="row">
71
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
72
- </div>
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
- </list>
78
- </criteria-paged>
79
- </div>
80
- </template>
81
-
82
- <script>
83
- import {HttpResetClass, PagedList} from 'vue-client'
84
- export default {
85
- title: '二维码绑定',
86
- data () {
87
- return {
88
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
89
- items: '"id,f_head_code,f_safecheck_code,f_head_name,f_user_name,f_head_post,f_head_phone,f_type"',
90
- tablename: '"t_qr_code"',
91
- orderitem: '"1"'
92
- }),
93
- QRCode:{},
94
- head_names:[{ label: '请选择', value: '' }]
95
- }
96
- },
97
- ready () {
98
- new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
99
- items: 'f_head_name',
100
- tablename: 't_qr_code',
101
- condition: `1=1 and f_head_name is not null`,
102
- orderitem: '1'
103
- }}).then(res=>{
104
- res.data.forEach(item=>{
105
- this.head_names.push({label:item.f_head_name,value:item.f_head_name})
106
- })
107
- })
108
- },
109
- computed: {
110
- reload(){
111
- this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
112
- },
113
- selected () {
114
- return this.$refs.paged.$refs.grid.selected
115
- }
116
- },
117
- methods:{
118
- scan(){
119
- HostApp.__this__=this,
120
- HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
121
- },
122
- getCode(){
123
- let datapa = HostApp.getCode().data;
124
- this.this.$refs.paged.$refs.cri.model.id=datapa
125
- },
126
- handle(row){
127
- var pardate = {
128
- _this:this,
129
- tittle:'二维码绑定',
130
- safe:true
131
- }
132
- this.$dispatch('gotoson',pardate)
133
- this.$goto('qr-code-binding', {row: row}, 'self')
134
- },
135
- search(){
136
- let condition = `1=1`
137
- if (this.$refs.paged.$refs.cri.model.id) {
138
- condition += ` and (qr.f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or qr.f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
139
- }
140
- if (this.$refs.paged.$refs.cri.model.f_head_name) {
141
- condition += ` and qr.f_head_name = ${this.$refs.paged.$refs.cri.model.f_head_name}`
142
- }
143
- if (this.$refs.paged.$refs.cri.model.f_user_name) {
144
- condition += ` and ui.f_user_name = ${this.$refs.paged.$refs.cri.model.f_user_name}`
145
- }
146
- if (this.$refs.paged.$refs.cri.model.f_residential_area) {
147
- condition += ` and ua.f_residential_area = ${this.$refs.paged.$refs.cri.model.f_residential_area}`
148
- }
149
- this.model.search(condition)
150
- }
151
-
152
- }
153
- }
154
- </script>
155
- <style scoped>
156
- .app-row {
157
- background-color: white;
158
- padding: 10px 10px 0 10px;
159
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
160
- }
161
- .search_input {
162
- border: 0;
163
- outline: none;
164
- }
165
- .font{
166
- font: 15px PingFang-SC-Medium;
167
- color: #666666;
168
- }
169
- .input-font{
170
- font: 15px PingFang-SC-Medium;
171
- color: #333333;
172
- }
173
- .btn-font{
174
- font:600 16px PingFang-SC-Bold;
175
- color: #499EDF;
176
- }
177
- .btn-color{
178
- background-color: #FFFFFF;
179
- border-radius: 10px ;
180
- border: 1px solid #499EDF;
181
- }
182
- .app-text {
183
- font-size: 12px;
184
- }
185
- .panel-self{
186
- border-radius: 10px;
187
- border:1px solid #499EDF;
188
- background-color: #F8F8F8;
189
- }
190
- .yybtn-color{
191
- border-radius: 4px ;
192
- border: 1px solid #499EDF;
193
- }
194
- .qxbtn-color{
195
- background-color: #FFFFFF;
196
- border-radius: 4px ;
197
- border: 1px solid #499EDF;
198
- }
199
- </style>
1
+ <template>
2
+ <div class="auto">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div partial>
6
+ <form>
7
+ <div class="row app-row">
8
+ <div class="col-xs-4">
9
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
10
+ <label class="font text-left">二维码编号:</label>
11
+ </div>
12
+ <div class="col-xs-8" >
13
+ <input class="search_input input-font" style="width: 70%" placeholder="请输入或扫码" v-model="model.id"/>
14
+ <button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
15
+ </div>
16
+ </div>
17
+ <div class="row app-row">
18
+ <div class="col-xs-4">
19
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
20
+ <label class="font text-left">负责人:</label>
21
+ </div>
22
+ <div class="col-xs-8">
23
+ <v-select :value.sync="model.f_head_name" class="input-font"
24
+ :options='$parent.$parent.head_names' placeholder='请选择负责人' :value-single="true"
25
+ v-model="model.f_head_name" close-on-select clear-button></v-select>
26
+ </div>
27
+ </div>
28
+ <div class="row app-row">
29
+ <div class="col-xs-4">
30
+ <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
31
+ <label class="font text-left">小区名称/用户名称:</label>
32
+ </div>
33
+ <div class="col-xs-8" >
34
+ <input class="search_input input-font" v-model="model.f_user_name" placeholder="请输入小区名称/用户名称(可模糊查询)">
35
+ </div>
36
+ </div>
37
+ <div class="row text-center" style="margin-top: 20px;">
38
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.search">查询</button>
39
+ </div>
40
+ <div style="height:30px;"></div>
41
+ </form>
42
+ </div>
43
+ </criteria>
44
+
45
+ <list :model="model" partial='list'>
46
+ <div partial>
47
+ <div class="auto app-text" style="margin-top: 5px;">
48
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
49
+ <div class="panel-body panel-self">
50
+ <div class="row">
51
+ <p class="panel-title col-xs-4 text-left font">二维码编号</p>
52
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.id }}</p>
53
+ </div>
54
+ <div class="row">
55
+ <p class="panel-title col-xs-4 text-left font">负责人二维码编号</p>
56
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_code }}</p>
57
+ </div>
58
+ <div class="row">
59
+ <p class="panel-title col-xs-4 text-left font">安检情况二维码编号</p>
60
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_safecheck_code }}</p>
61
+ </div>
62
+ <div class="row">
63
+ <p class="panel-title col-xs-4 text-left font">负责人姓名</p>
64
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_head_name }}</p>
65
+ </div>
66
+ <div class="row">
67
+ <p class="panel-title col-xs-4 text-left font">小区/用户名称</p>
68
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name}}</p>
69
+ </div>
70
+ <div class="row">
71
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.$parent.handle(row)">处理</button>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </list>
78
+ </criteria-paged>
79
+ </div>
80
+ </template>
81
+
82
+ <script>
83
+ import {HttpResetClass, PagedList} from 'vue-client'
84
+ export default {
85
+ title: '二维码绑定',
86
+ data () {
87
+ return {
88
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, 50, {
89
+ items: '"id,f_head_code,f_safecheck_code,f_head_name,f_user_name,f_head_post,f_head_phone,f_type"',
90
+ tablename: '"t_qr_code"',
91
+ orderitem: '"1"'
92
+ }),
93
+ QRCode:{},
94
+ head_names:[{ label: '请选择', value: '' }]
95
+ }
96
+ },
97
+ ready () {
98
+ new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
99
+ items: 'f_head_name',
100
+ tablename: 't_qr_code',
101
+ condition: `1=1 and f_head_name is not null`,
102
+ orderitem: '1'
103
+ }}).then(res=>{
104
+ res.data.forEach(item=>{
105
+ this.head_names.push({label:item.f_head_name,value:item.f_head_name})
106
+ })
107
+ })
108
+ },
109
+ computed: {
110
+ reload(){
111
+ this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
112
+ },
113
+ selected () {
114
+ return this.$refs.paged.$refs.grid.selected
115
+ }
116
+ },
117
+ methods:{
118
+ scan(){
119
+ HostApp.__this__=this,
120
+ HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
121
+ },
122
+ getCode(){
123
+ let datapa = HostApp.getCode().data;
124
+ this.this.$refs.paged.$refs.cri.model.id=datapa
125
+ },
126
+ handle(row){
127
+ var pardate = {
128
+ _this:this,
129
+ tittle:'二维码绑定',
130
+ safe:true
131
+ }
132
+ this.$dispatch('gotoson',pardate)
133
+ this.$goto('qr-code-binding', {row: row}, 'self')
134
+ },
135
+ search(){
136
+ let condition = `1=1`
137
+ if (this.$refs.paged.$refs.cri.model.id) {
138
+ condition += ` and (qr.f_head_code = '${this.$refs.paged.$refs.cri.model.id}' or qr.f_safecheck_code= '${this.$refs.paged.$refs.cri.model.id}')`
139
+ }
140
+ if (this.$refs.paged.$refs.cri.model.f_head_name) {
141
+ condition += ` and qr.f_head_name = ${this.$refs.paged.$refs.cri.model.f_head_name}`
142
+ }
143
+ if (this.$refs.paged.$refs.cri.model.f_user_name) {
144
+ condition += ` and ui.f_user_name = ${this.$refs.paged.$refs.cri.model.f_user_name}`
145
+ }
146
+ if (this.$refs.paged.$refs.cri.model.f_residential_area) {
147
+ condition += ` and ua.f_residential_area = ${this.$refs.paged.$refs.cri.model.f_residential_area}`
148
+ }
149
+ this.model.search(condition)
150
+ }
151
+
152
+ }
153
+ }
154
+ </script>
155
+ <style scoped>
156
+ .app-row {
157
+ background-color: white;
158
+ padding: 10px 10px 0 10px;
159
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
160
+ }
161
+ .search_input {
162
+ border: 0;
163
+ outline: none;
164
+ }
165
+ .font{
166
+ font: 15px PingFang-SC-Medium;
167
+ color: #666666;
168
+ }
169
+ .input-font{
170
+ font: 15px PingFang-SC-Medium;
171
+ color: #333333;
172
+ }
173
+ .btn-font{
174
+ font:600 16px PingFang-SC-Bold;
175
+ color: #499EDF;
176
+ }
177
+ .btn-color{
178
+ background-color: #FFFFFF;
179
+ border-radius: 10px ;
180
+ border: 1px solid #499EDF;
181
+ }
182
+ .app-text {
183
+ font-size: 12px;
184
+ }
185
+ .panel-self{
186
+ border-radius: 10px;
187
+ border:1px solid #499EDF;
188
+ background-color: #F8F8F8;
189
+ }
190
+ .yybtn-color{
191
+ border-radius: 4px ;
192
+ border: 1px solid #499EDF;
193
+ }
194
+ .qxbtn-color{
195
+ background-color: #FFFFFF;
196
+ border-radius: 4px ;
197
+ border: 1px solid #499EDF;
198
+ }
199
+ </style>