safecheck-client 3.0.34-35 → 3.0.34-39

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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/android/QRCode/QRCodePage.vue +208 -208
  4. package/src/components/android/examples/SafeListExamples.vue +96 -96
  5. package/src/components/android/examples/UserExamples.vue +126 -126
  6. package/src/filiale/bayan/android/SafecheckOrderV.vue +49 -26
  7. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  8. package/src/filiale/huaran/android.js +12 -12
  9. package/src/filiale/huaran/pc/CheckBook.vue +313 -313
  10. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -69
  11. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -170
  12. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -166
  13. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -196
  14. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -61
  15. package/src/filiale/huaran/pc/CheckBookList.vue +386 -386
  16. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -564
  17. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -229
  18. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -604
  19. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -112
  20. package/src/filiale/huaran/pc/PaperList.vue +822 -822
  21. package/src/filiale/huaran/pc/PlanManage.vue +887 -887
  22. package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
  23. package/src/filiale/huaran/pc/checkUserList.vue +867 -867
  24. package/src/filiale/huaran/pc.js +27 -27
  25. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  26. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  27. package/src/filiale/ruihua/android.js +11 -0
  28. package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
  29. package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3335
  30. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  31. package/src/filiale/weinan/pc.js +47 -47
  32. package/src/main.js +33 -33
@@ -1,112 +1,112 @@
1
- <template>
2
- <div class="auto select-overspread">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">客户编号</label>
9
- <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
10
- placeholder='客户编号'
11
- condition="f_userinfo_code = '{}'" @keyup.enter="search()">
12
- </div>
13
- <div class="form-group col-sm-2 button-range">
14
- <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
15
-
16
- </div>
17
- </div>
18
- </div>
19
- </criteria>
20
- <data-grid :model="model" class="table_sy" partial='list' v-ref:grid>
21
- <template partial='head'>
22
- <tr>
23
- <th>
24
- <nobr>序号</nobr>
25
- </th>
26
- <th>
27
- <nobr>用户编号</nobr>
28
- </th>
29
- <th>
30
- <nobr>用户姓名</nobr>
31
- </th>
32
- <th>
33
- <nobr>用户电话</nobr>
34
- </th>
35
- <th>
36
- <nobr>用户地址</nobr>
37
- </th>
38
-
39
- </tr>
40
- </template>
41
- <template partial='body'>
42
- <tr>
43
- <td style="text-align:center;">{{ $index + 1 }}</td>
44
- <td style="text-align:center">{{ row.f_userinfo_code }}</td>
45
- <td style="text-align:center">{{ row.f_user_name }}</td>
46
- <td style="text-align:center">{{ row.f_user_phone }}</td>
47
- <td style="text-align:center">{{ row.f_address }}</td>
48
- </tr>
49
- </template>
50
- <template partial='foot'></template>
51
- </data-grid>
52
- </criteria-paged>
53
- </div>
54
- </template>
55
-
56
- <script>
57
- import {PagedList} from 'vue-client'
58
-
59
- export default {
60
- title: '安检记录列表',
61
- props: ['row'],
62
- data() {
63
- return {
64
- rowdata: this.row,
65
- model: new PagedList('rs/sql/getUserByCheckBook', 50)
66
- }
67
- },
68
- ready() {
69
- if (this.row) {
70
- let condition = ''
71
- if (this.row.f_check_book_type1 == '小区') {
72
- this.model.url = 'rs/sql/getUserByCheckBook'
73
- condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
74
- } else {
75
- this.model.url = 'rs/sql/getUserByCheckBookCompany'
76
- condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
77
- }
78
- this.model.search(condition)
79
- //只显示用户页面
80
- this.row.f_check_book_type = '用户'
81
- }
82
- },
83
- watch: {
84
- 'row'(val) {
85
- if (val) {
86
- this.rowdata = val
87
- let condition = ''
88
- if (this.row.f_check_book_type1 == '小区') {
89
- condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
90
- } else {
91
- condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
92
- }
93
- this.model.search(condition)
94
- }
95
- }
96
- },
97
- methods: {
98
- selfSearch(args) {
99
- if (this.rowdata.id) {
100
- if (this.rowdata.f_check_book_type1 == '小区') {
101
- args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
102
- } else {
103
- args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
104
- }
105
- this.model.search(args.condition)
106
- } else {
107
- this.$showMessage('请选择安检册')
108
- }
109
- }
110
- }
111
- }
112
- </script>
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">客户编号</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
10
+ placeholder='客户编号'
11
+ condition="f_userinfo_code = '{}'" @keyup.enter="search()">
12
+ </div>
13
+ <div class="form-group col-sm-2 button-range">
14
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
15
+
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </criteria>
20
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid>
21
+ <template partial='head'>
22
+ <tr>
23
+ <th>
24
+ <nobr>序号</nobr>
25
+ </th>
26
+ <th>
27
+ <nobr>用户编号</nobr>
28
+ </th>
29
+ <th>
30
+ <nobr>用户姓名</nobr>
31
+ </th>
32
+ <th>
33
+ <nobr>用户电话</nobr>
34
+ </th>
35
+ <th>
36
+ <nobr>用户地址</nobr>
37
+ </th>
38
+
39
+ </tr>
40
+ </template>
41
+ <template partial='body'>
42
+ <tr>
43
+ <td style="text-align:center;">{{ $index + 1 }}</td>
44
+ <td style="text-align:center">{{ row.f_userinfo_code }}</td>
45
+ <td style="text-align:center">{{ row.f_user_name }}</td>
46
+ <td style="text-align:center">{{ row.f_user_phone }}</td>
47
+ <td style="text-align:center">{{ row.f_address }}</td>
48
+ </tr>
49
+ </template>
50
+ <template partial='foot'></template>
51
+ </data-grid>
52
+ </criteria-paged>
53
+ </div>
54
+ </template>
55
+
56
+ <script>
57
+ import {PagedList} from 'vue-client'
58
+
59
+ export default {
60
+ title: '安检记录列表',
61
+ props: ['row'],
62
+ data() {
63
+ return {
64
+ rowdata: this.row,
65
+ model: new PagedList('rs/sql/getUserByCheckBook', 50)
66
+ }
67
+ },
68
+ ready() {
69
+ if (this.row) {
70
+ let condition = ''
71
+ if (this.row.f_check_book_type1 == '小区') {
72
+ this.model.url = 'rs/sql/getUserByCheckBook'
73
+ condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
74
+ } else {
75
+ this.model.url = 'rs/sql/getUserByCheckBookCompany'
76
+ condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
77
+ }
78
+ this.model.search(condition)
79
+ //只显示用户页面
80
+ this.row.f_check_book_type = '用户'
81
+ }
82
+ },
83
+ watch: {
84
+ 'row'(val) {
85
+ if (val) {
86
+ this.rowdata = val
87
+ let condition = ''
88
+ if (this.row.f_check_book_type1 == '小区') {
89
+ condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
90
+ } else {
91
+ condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
92
+ }
93
+ this.model.search(condition)
94
+ }
95
+ }
96
+ },
97
+ methods: {
98
+ selfSearch(args) {
99
+ if (this.rowdata.id) {
100
+ if (this.rowdata.f_check_book_type1 == '小区') {
101
+ args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
102
+ } else {
103
+ args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
104
+ }
105
+ this.model.search(args.condition)
106
+ } else {
107
+ this.$showMessage('请选择安检册')
108
+ }
109
+ }
110
+ }
111
+ }
112
+ </script>