safecheck-client 3.0.39-65 → 3.0.39-67

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 (44) hide show
  1. package/index.html +2 -2
  2. package/package.json +134 -134
  3. package/src/App.vue +31 -26
  4. package/src/components/android/rejectInspecCheck.vue +325 -303
  5. package/src/components/pc/NewCheckpaper.vue +108 -14
  6. package/src/components/pc/RoleSelector.vue +172 -172
  7. package/src/components/rongcheng/AddPlanItem.vue +344 -344
  8. package/src/components/rongcheng/CheckCurrentCreate.vue +1081 -1081
  9. package/src/components/rongcheng/PaperDefectMain.vue +828 -828
  10. package/src/filiale/BFshiye/android/AndroidDefectDeal.vue +652 -652
  11. package/src/filiale/BFshiye/pc/DefectListNew.vue +637 -637
  12. package/src/filiale/BFshiye/pc/checkUserList.vue +772 -772
  13. package/src/filiale/BFshiye/pc.js +17 -17
  14. package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -775
  15. package/src/filiale/baiyin/android.js +12 -12
  16. package/src/filiale/dexin/pc/PaperList.vue +840 -840
  17. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1357 -1357
  18. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +823 -823
  19. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1919 -1919
  20. package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -1262
  21. package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -398
  22. package/src/filiale/rongchuang/pc.js +18 -18
  23. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1 -1
  24. package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +532 -531
  25. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1339 -1339
  26. package/src/filiale/wensu/android/SafecheckOrderV.vue +2444 -2444
  27. package/src/filiale/wensu/android/SafecheckUserInfo.vue +712 -712
  28. package/src/filiale/wensu/pc/CheckSearchUser.vue +1251 -1251
  29. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
  30. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +913 -913
  31. package/src/filiale/yangchunboneng/android.js +21 -21
  32. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +353 -353
  33. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1197 -1197
  34. package/src/filiale/yangchunboneng/pc/HiddenSituation.vue +171 -171
  35. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1112 -1112
  36. package/src/filiale/yangchunboneng/pc/PaperList.vue +757 -757
  37. package/src/filiale/yangchunboneng/pc/SelectCheckPlan.vue +331 -331
  38. package/src/filiale/yangchunboneng/pc.js +29 -29
  39. package/src/main.js +33 -33
  40. package/src/rongcheng.js +319 -319
  41. package/src/safecheck-android.js +316 -316
  42. package/.trae/.ignore +0 -0
  43. package/.vscode/settings.json +0 -3
  44. package/yarn-error.log +0 -140
@@ -202,17 +202,64 @@ div {
202
202
  </tr>
203
203
  <tr>
204
204
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
205
- <td colspan="2" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
205
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
206
206
  {{ paperdata.f_entry_status }}
207
207
  </td>
208
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">
209
- <button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">
210
- {{ dev.lname }}
211
- 查看{{ data.f_entry_status }}照片
212
- </button-link>
213
- </td>
208
+ <!-- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">-->
209
+ <!-- <button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">-->
210
+ <!-- {{ dev.lname }}-->
211
+ <!-- 查看{{ data.f_entry_status }}照片-->
212
+ <!-- </button-link>-->
213
+ <!-- </td>-->
214
+ </tr>
215
+
216
+ </tbody>
217
+ </table>
218
+ <table class="table table-striped table-bordered" style="margin-top: 35px"
219
+ v-show="paperdata.f_entry_status=='到访不遇' || paperdata.f_entry_status=='拒检'" >
220
+ <thead>
221
+ <tr>
222
+ <th style="text-align: center">{{paperdata.f_entry_status}}照片</th>
214
223
  </tr>
224
+ </thead>
225
+ <tbody>
226
+ <tr>
227
+ <td style="margin: auto;text-align: center">
228
+ <div class="container" style="max-width: 550px;background: #FFFFFF">
215
229
 
230
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer_path">
231
+ <img-self-plus :src="paperdata.f_noanswer_path" style="float: left"
232
+ width="150"
233
+ height="200"></img-self-plus>
234
+ </div>
235
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer1_path">
236
+ <img-self-plus :src="paperdata.f_noanswer1_path" style="float: left"
237
+ width="150"
238
+ height="200"></img-self-plus>
239
+ </div>
240
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer2_path">
241
+ <img-self-plus :src="paperdata.f_noanswer2_path" style="float: left"
242
+ width="150"
243
+ height="200"></img-self-plus>
244
+ </div>
245
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck_path">
246
+ <img-self-plus :src="paperdata.f_rejectcheck_path" style="float: left"
247
+ width="150"
248
+ height="200"></img-self-plus>
249
+ </div>
250
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck1_path">
251
+ <img-self-plus :src="paperdata.f_rejectcheck1_path" style="float: left"
252
+ width="150"
253
+ height="200"></img-self-plus>
254
+ </div>
255
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck2_path">
256
+ <img-self-plus :src="paperdata.f_rejectcheck2_path" style="float: left"
257
+ width="150"
258
+ height="200"></img-self-plus>
259
+ </div>
260
+ </div>
261
+ </td>
262
+ </tr>
216
263
  </tbody>
217
264
  </table>
218
265
  <table class="table table-striped table-bordered" style="margin-top: 40px"
@@ -607,17 +654,64 @@ div {
607
654
  </tr>
608
655
  <tr>
609
656
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
610
- <td colspan="2" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
657
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
611
658
  {{ paperdata.f_entry_status }}
612
659
  </td>
613
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">
614
- <button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">
615
- {{ dev.lname }}
616
- 查看{{ data.f_entry_status }}照片
617
- </button-link>
618
- </td>
660
+ <!-- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">-->
661
+ <!-- <button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">-->
662
+ <!-- {{ dev.lname }}-->
663
+ <!-- 查看{{ data.f_entry_status }}照片-->
664
+ <!-- </button-link>-->
665
+ <!-- </td>-->
666
+ </tr>
667
+
668
+ </tbody>
669
+ </table>
670
+ <table class="table table-striped table-bordered" style="margin-top: 35px"
671
+ v-show="paperdata.f_entry_status=='到访不遇' || paperdata.f_entry_status=='拒检'" >
672
+ <thead>
673
+ <tr>
674
+ <th style="text-align: center">{{paperdata.f_entry_status}}照片</th>
619
675
  </tr>
676
+ </thead>
677
+ <tbody>
678
+ <tr>
679
+ <td style="margin: auto;text-align: center">
680
+ <div class="container" style="max-width: 550px;background: #FFFFFF">
620
681
 
682
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer_path">
683
+ <img-self-plus :src="paperdata.f_noanswer_path" style="float: left"
684
+ width="150"
685
+ height="200"></img-self-plus>
686
+ </div>
687
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer1_path">
688
+ <img-self-plus :src="paperdata.f_noanswer1_path" style="float: left"
689
+ width="150"
690
+ height="200"></img-self-plus>
691
+ </div>
692
+ <div class="img" v-if="paperdata.f_entry_status=='到访不遇'&& paperdata.f_noanswer2_path">
693
+ <img-self-plus :src="paperdata.f_noanswer2_path" style="float: left"
694
+ width="150"
695
+ height="200"></img-self-plus>
696
+ </div>
697
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck_path">
698
+ <img-self-plus :src="paperdata.f_rejectcheck_path" style="float: left"
699
+ width="150"
700
+ height="200"></img-self-plus>
701
+ </div>
702
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck1_path">
703
+ <img-self-plus :src="paperdata.f_rejectcheck1_path" style="float: left"
704
+ width="150"
705
+ height="200"></img-self-plus>
706
+ </div>
707
+ <div class="img" v-if="paperdata.f_entry_status=='拒检'&& paperdata.f_rejectcheck2_path">
708
+ <img-self-plus :src="paperdata.f_rejectcheck2_path" style="float: left"
709
+ width="150"
710
+ height="200"></img-self-plus>
711
+ </div>
712
+ </div>
713
+ </td>
714
+ </tr>
621
715
  </tbody>
622
716
  </table>
623
717
  <table class="table table-striped table-bordered" style="margin-top: 40px"
@@ -1,172 +1,172 @@
1
- <template>
2
- <div style="width: 100%;height: 100%">
3
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
- <label class="font_normal_body">公&emsp;&emsp;司</label>
5
- <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
- </div>
7
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
- <label class="font_normal_body">{{ roleLable }}</label>
9
- <v-select :value="selVal" v-model='selVal'
10
- :value-single="!valueMultiple"
11
- class="select_list select"
12
- :options='users' :placeholder='roleName'
13
- :close-on-select = 'valueClose'
14
- :multiple="valueMultiple"
15
- :width="rightWidth"
16
- @change="valuechange">
17
- </v-select>
18
- </div>
19
- </div>
20
- </template>
21
-
22
- <script>
23
- import {HttpResetClass} from 'vue-client'
24
-
25
- export default {
26
- name: "RoleSelector",
27
- props: {
28
- valueMultiple: {
29
- type: Boolean,
30
- default: false
31
- },
32
- roleName: {
33
- type: String,
34
- default: '安检员'
35
- },
36
- roleLable: {
37
- type: String,
38
- default: '安检员'
39
- },
40
- leftWidth: {
41
- type: String,
42
- default: '60%'
43
- },
44
- rightWidth: {
45
- type: String,
46
- default: '60%'
47
- },
48
- value: {
49
- default: ''
50
- },
51
- resobjprop: {
52
- default: {}
53
- },
54
- valueClose: {
55
- type: Boolean,
56
- default: true
57
- }
58
- },
59
- data() {
60
- return {
61
- // source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
- source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`,
63
- allUsers: [],
64
- users: [],
65
- selVal: '',
66
- organizationname:this.$login.f.organizationname,
67
- resids: [],
68
- changeval: ''
69
- }
70
- },
71
- watch: {
72
- 'value'(val) {
73
- console.log("969696", val)
74
- if (val) {
75
- if (this.valueMultiple) {
76
-
77
- } else {
78
- this.selVal = val
79
- }
80
-
81
- }
82
- }
83
- },
84
- async ready() {
85
- await this.search()
86
- await this.filterUser(this.resids)
87
- },
88
- methods: {
89
- async clear() {
90
- // 根据valueMultiple属性设置适当的空值
91
- const emptyValue = this.valueMultiple ? [] : '';
92
- // 设置内部状态
93
- this.selVal = emptyValue;
94
- // 调用valuechange方法,确保值同步
95
- this.valuechange(emptyValue);
96
- },
97
- async search() {
98
- let http = new HttpResetClass()
99
- const res = await http.load('POST', '/rs/search', {
100
- data: {
101
- source: this.source,
102
- userid: this.$login.f.id
103
- }
104
- }, {resolveMsg: null, rejectMsg: null})
105
- this.allUsers = res.data
106
- },
107
- valuechange(val) {
108
- console.log(`val instanceof Array======${!val instanceof Array}`)
109
- if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
110
- return
111
- }
112
- if (this.valueMultiple && Array.isArray(val)) {
113
- if (val && val.length > 0) {
114
- let valuesele = `(`
115
- for (let i = 0; i < val.length; i++) {
116
- valuesele += `'${val[i]}',`
117
- }
118
- this.value = valuesele.substring(0, valuesele.length - 1) + ')'
119
- } else {
120
- this.value = ''
121
- }
122
- } else {
123
- this.value = val
124
- }
125
- // this.changeval = val
126
- },
127
- getRes(obj) {
128
- this.resids = obj.resids
129
- this.organizationname = obj.res[0]
130
- this.filterUser(this.resids)
131
- this.$dispatch('re-res', obj)
132
- },
133
- async filterUser(resids) {
134
- // 处理第一次进入页面值异常问题
135
- if (resids.length > 0 && typeof resids[0] == "object") {
136
- resids = resids[0]
137
- }
138
- if (resids[0]) {
139
- this.source = `root.getResourceById($${resids[0]}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`
140
- await this.search()
141
- }
142
- this.users = []
143
- this.allUsers.forEach(user => {
144
- if ((this.organizationname == user.organizationname || !user.organizationname) && user.state == '在职') {
145
- this.users.push({label: user.name, value: user.name})
146
- }
147
- })
148
- if (!this.valueMultiple && this.users.length > 0) {
149
- this.users = [{label: '全部', value: ''}, ...this.users]
150
- }
151
- let temp = []
152
- this.users = this.users.filter(item => {
153
- if (!temp.includes(item.label)) {
154
- temp.push(item.label)
155
- return true
156
- }
157
- return false
158
- })
159
- let sort = this.$appdata.getSingleValue('数据排序') || '否'
160
- if (sort == '是'){
161
- this.users.sort((a,b)=>a.label.localeCompare(b.label, 'zh-Hans-CN'))
162
- }
163
- this.$emit('alluser', this.allUsers)
164
- //tag
165
- }
166
- }
167
- }
168
- </script>
169
-
170
- <style scoped>
171
-
172
- </style>
1
+ <template>
2
+ <div style="width: 100%;height: 100%">
3
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
5
+ <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
+ </div>
7
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
+ <label class="font_normal_body">{{ roleLable }}</label>
9
+ <v-select :value="selVal" v-model='selVal'
10
+ :value-single="!valueMultiple"
11
+ class="select_list select"
12
+ :options='users' :placeholder='roleName'
13
+ :close-on-select = 'valueClose'
14
+ :multiple="valueMultiple"
15
+ :width="rightWidth"
16
+ @change="valuechange">
17
+ </v-select>
18
+ </div>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ import {HttpResetClass} from 'vue-client'
24
+
25
+ export default {
26
+ name: "RoleSelector",
27
+ props: {
28
+ valueMultiple: {
29
+ type: Boolean,
30
+ default: false
31
+ },
32
+ roleName: {
33
+ type: String,
34
+ default: '安检员'
35
+ },
36
+ roleLable: {
37
+ type: String,
38
+ default: '安检员'
39
+ },
40
+ leftWidth: {
41
+ type: String,
42
+ default: '60%'
43
+ },
44
+ rightWidth: {
45
+ type: String,
46
+ default: '60%'
47
+ },
48
+ value: {
49
+ default: ''
50
+ },
51
+ resobjprop: {
52
+ default: {}
53
+ },
54
+ valueClose: {
55
+ type: Boolean,
56
+ default: true
57
+ }
58
+ },
59
+ data() {
60
+ return {
61
+ // source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
+ source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`,
63
+ allUsers: [],
64
+ users: [],
65
+ selVal: '',
66
+ organizationname:this.$login.f.organizationname,
67
+ resids: [],
68
+ changeval: ''
69
+ }
70
+ },
71
+ watch: {
72
+ 'value'(val) {
73
+ console.log("969696", val)
74
+ if (val) {
75
+ if (this.valueMultiple) {
76
+
77
+ } else {
78
+ this.selVal = val
79
+ }
80
+
81
+ }
82
+ }
83
+ },
84
+ async ready() {
85
+ await this.search()
86
+ await this.filterUser(this.resids)
87
+ },
88
+ methods: {
89
+ async clear() {
90
+ // 根据valueMultiple属性设置适当的空值
91
+ const emptyValue = this.valueMultiple ? [] : '';
92
+ // 设置内部状态
93
+ this.selVal = emptyValue;
94
+ // 调用valuechange方法,确保值同步
95
+ this.valuechange(emptyValue);
96
+ },
97
+ async search() {
98
+ let http = new HttpResetClass()
99
+ const res = await http.load('POST', '/rs/search', {
100
+ data: {
101
+ source: this.source,
102
+ userid: this.$login.f.id
103
+ }
104
+ }, {resolveMsg: null, rejectMsg: null})
105
+ this.allUsers = res.data
106
+ },
107
+ valuechange(val) {
108
+ console.log(`val instanceof Array======${!val instanceof Array}`)
109
+ if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
110
+ return
111
+ }
112
+ if (this.valueMultiple && Array.isArray(val)) {
113
+ if (val && val.length > 0) {
114
+ let valuesele = `(`
115
+ for (let i = 0; i < val.length; i++) {
116
+ valuesele += `'${val[i]}',`
117
+ }
118
+ this.value = valuesele.substring(0, valuesele.length - 1) + ')'
119
+ } else {
120
+ this.value = ''
121
+ }
122
+ } else {
123
+ this.value = val
124
+ }
125
+ // this.changeval = val
126
+ },
127
+ getRes(obj) {
128
+ this.resids = obj.resids
129
+ this.organizationname = obj.res[0]
130
+ this.filterUser(this.resids)
131
+ this.$dispatch('re-res', obj)
132
+ },
133
+ async filterUser(resids) {
134
+ // 处理第一次进入页面值异常问题
135
+ if (resids.length > 0 && typeof resids[0] == "object") {
136
+ resids = resids[0]
137
+ }
138
+ if (resids[0]) {
139
+ this.source = `root.getResourceById($${resids[0]}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`
140
+ await this.search()
141
+ }
142
+ this.users = []
143
+ this.allUsers.forEach(user => {
144
+ if ((this.organizationname == user.organizationname || !user.organizationname) && user.state == '在职') {
145
+ this.users.push({label: user.name, value: user.name})
146
+ }
147
+ })
148
+ if (!this.valueMultiple && this.users.length > 0) {
149
+ this.users = [{label: '全部', value: ''}, ...this.users]
150
+ }
151
+ let temp = []
152
+ this.users = this.users.filter(item => {
153
+ if (!temp.includes(item.label)) {
154
+ temp.push(item.label)
155
+ return true
156
+ }
157
+ return false
158
+ })
159
+ let sort = this.$appdata.getSingleValue('数据排序') || '否'
160
+ if (sort == '是'){
161
+ this.users.sort((a,b)=>a.label.localeCompare(b.label, 'zh-Hans-CN'))
162
+ }
163
+ this.$emit('alluser', this.allUsers)
164
+ //tag
165
+ }
166
+ }
167
+ }
168
+ </script>
169
+
170
+ <style scoped>
171
+
172
+ </style>