apply-clients 3.5.4-8 → 3.5.4-81

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 (105) hide show
  1. package/app/src/main/java/com/example/phonechatbot/MainActivity.java +50 -0
  2. package/build/dev-server.js +12 -4
  3. package/package.json +2 -2
  4. package/src/App.vue +5 -5
  5. package/src/apply.js +2 -3
  6. package/src/applyAndroid.js +2 -0
  7. package/src/assets//344/270/213/350/275/275.png +0 -0
  8. package/src/components/android/AppCheckTakePic.vue +168 -0
  9. package/src/components/android/Process/AppServiceControl.vue +4 -0
  10. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  11. package/src/components/image/dxf.png +0 -0
  12. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  13. package/src/components/product/Material/MaterialDetailed.vue +1 -1
  14. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -177
  15. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  16. package/src/components/product/PcZhihuanManagement.vue +160 -0
  17. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  18. package/src/components/product/Process/ExplorationUser.vue +1 -0
  19. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  20. package/src/components/product/ServiceView.vue +1026 -1005
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  22. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  23. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +824 -0
  24. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  25. package/src/filiale/baiyin/android.js +8 -0
  26. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  27. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  28. package/src/filiale/fugou/android/AppChargeManagement.vue +126 -12
  29. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  30. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  31. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  32. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  33. package/src/filiale/fugou/android.js +7 -1
  34. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  35. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  36. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  37. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  38. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  39. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  40. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  41. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  42. package/src/filiale/fugou/pc.js +7 -1
  43. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +20 -8
  44. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  45. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -495
  46. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  47. package/src/filiale/gongyi/android/AppSign.vue +170 -157
  48. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  49. package/src/filiale/gongyi/android.js +18 -15
  50. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -379
  51. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -213
  52. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  53. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  54. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  55. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  56. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -539
  57. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  58. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  59. package/src/filiale/gongyi/pc.js +24 -19
  60. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -409
  61. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  62. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  63. package/src/filiale/jinhuang/pc.js +7 -0
  64. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  65. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  66. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  67. package/src/filiale/qianneng/android.js +2 -1
  68. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  69. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  70. package/src/filiale/qianneng/pc/Applydetail.vue +0 -5
  71. package/src/filiale/qianneng/pc/InstallFunction.vue +2 -2
  72. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  73. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  74. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  75. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  76. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  77. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  78. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  79. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  80. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  81. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  82. package/src/filiale/siyangRH/pc.js +1 -0
  83. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +17 -1
  84. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +32 -2
  85. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  86. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  87. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +34 -1
  88. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  89. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  90. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  91. package/src/filiale/yangchunboneng/android.js +1 -1
  92. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  93. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +59 -19
  94. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  95. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +207 -3
  96. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  97. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  98. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  101. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  102. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +112 -13
  103. package/src/filiale/yangchunboneng/pc.js +7 -1
  104. package/src/main.js +3 -3
  105. package/~/chatbot/main.py +57 -0
@@ -175,7 +175,7 @@
175
175
  </criteria-paged>
176
176
  <p class="bg-info text-center" style="font-size: 20px;height: 5%">
177
177
  合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
178
- 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
178
+ 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>
179
179
  </p>
180
180
  </div>
181
181
 
@@ -1,177 +1,181 @@
1
- <template>
2
- <div class="auto select-overspread" style="overflow-y: scroll;overflow-x: hidden">
3
- <ul class="nav nav-tabs" style="position: relative">
4
- <p class="bg-info text-center" style="padding: 8px;">{{ title }}</p>
5
- <h3 class="txtline" v-if="model.parent_name">上一级【{{ model.parent_name }}】</h3>
6
- </ul>
7
- <div class="row" style="margin-top:1rem;">
8
- <div class="col-sm-6">
9
- <label class="font_normal_body">名称</label>
10
- <input type="text"
11
- :disabled="look"
12
- v-model="model.name" style="width:60%"
13
- class="input_search full-with" placeholder="名称">
14
- </div>
15
- <div class="col-sm-6">
16
- <label style="width: 80px" class="font_normal_body">类别</label>
17
- <v-select :disabled="look"
18
- v-model="model.type"
19
- placeholder='项目类别'
20
- :value.sync="model.type"
21
- :value-single="true"
22
- :options='types'></v-select>
23
- </div>
24
- </div>
25
- <div class="row" style="margin-top:1rem;" v-if="model.type ==='型号'">
26
- <div class="col-sm-6">
27
- <label class="font_normal_body">单位</label>
28
- <input type="text"
29
- :disabled="look"
30
- v-model="model.unit" style="width:60%"
31
- class="input_search full-with" id="name" placeholder="计量单位">
32
- </div>
33
- <div class="col-sm-6">
34
- <label style="width: 80px" class="font_normal_body">编码</label>
35
- <input type="text"
36
- :disabled="look"
37
- v-model="model.code" style="width:60%"
38
- class="input_search full-with" id="name" placeholder="物料编码">
39
- </div>
40
- <div class="col-sm-6">
41
- <label class="font_normal_body">单价</label>
42
- <input type="text"
43
- :disabled="look"
44
- v-model="model.price" style="width:60%"
45
- class="input_search full-with" id="name" placeholder="物料单价">
46
- </div>
47
- <div class="col-sm-6">
48
- <label style="width: 80px" class="font_normal_body">业务类型</label>
49
- <v-select
50
- v-model="model.material_type"
51
- placeholder='请选择'
52
- :value.sync="model.material_type"
53
- :value-single="true"
54
- :options='materialTypeOptions'></v-select>
55
- </div>
56
- </div>
57
- <!-- 按钮 -->
58
- <div class="row col-sm-12" style="margin-top: 1rem">
59
- <button @click="confirm()" v-show="!look" class="btn button_search col-sm-1 col-sm-offset-5"
60
- style="width: 70px">
61
- <span class="glyphicon glyphicon-floppy-disk"></span>保存
62
- </button>
63
- <button @click='cancel()' class="btn button_clear col-sm-1 col-sm-offset-1" style="width: 70px">
64
- <span class=" glyphicon glyphicon-log-out"></span>返回
65
- </button>
66
- </div>
67
- <div class="row col-sm-12" style="margin-top: 18rem">
68
- </div>
69
- <work-busy :is-busy="isbusy"></work-busy>
70
- </div>
71
- </template>
72
-
73
- <script>
74
-
75
- export default {
76
- title: '功能',
77
- props: ['parent', 'data', 'look', 'title'],
78
- data () {
79
- return {
80
- model: {
81
- menu_id: null,
82
- menu_name: '',
83
- parent_id: '0',
84
- component: null,
85
- create_by: '',
86
- depict: '',
87
- type: '',
88
- material_type: '',
89
- org_id: ''
90
- },
91
- type: '',
92
- isbusy: false,
93
- types: this.$appdata.getParam('材料管理-项目类别') ? this.$appdata.getParam('材料管理-项目类别') : [{
94
- label: '型号',
95
- value: '型号'
96
- }, {label: '燃气具设备', value: '燃气具设备'}, {label: '报建', value: '报建'},
97
- {label: '规格', value: '规格'}, {label: '材料', value: '材料'}, {label: '品名', value: '品名'}],
98
- showFile: 'false',
99
- file: [],
100
- materialTypeOptions: this.$appdata.getParam('材料管理-业务类型')
101
- }
102
- },
103
- watch: {
104
- data: {
105
- handler (n, o) {
106
- // if (!n.menu_id&&n.menu_id !== o.menu_id)
107
- this.initdata()
108
- },
109
- deep: true // 对象内部属性的监听,关键。
110
- }
111
- },
112
- ready () {
113
- this.initdata()
114
- },
115
- methods: {
116
- // 初始化数据
117
- initdata () {
118
- this.model = {
119
- id: null,
120
- name: '',
121
- parent_id: '0',
122
- create_by: '',
123
- type: '',
124
- org_id: ''
125
- }
126
- this.model = Object.assign({}, this.model, this.data)
127
- this.model.org_id = this.$login.f.orgid
128
- // this.type = this.model.type
129
- // if (this.model.id) {
130
- // this.$resetpost('rs/sql/singleTable_OrderBy', {
131
- // data: {
132
- // items: '*',
133
- // table: 't_material_info',
134
- // condition: ` 1 = 1 and id = ${this.model.id}`,
135
- // order: 'id desc'
136
- // }
137
- // }, {rejectMsg: null, resolveMsg: null})
138
- // }
139
- },
140
- // 关闭文件上传对话框
141
- closeFile () {
142
- this.showFile = 'false'
143
- // 将选的文件清空
144
- this.$refs.file.$el.querySelector('input').value = ''
145
- },
146
- cancel () {
147
- this.$dispatch('cancel')
148
- },
149
- async confirm () {
150
- await this.$resetpost('rs/entity/t_material_info', this.model).then(res =>
151
- this.$parent.$refs.funlist.searchData()
152
- )
153
- },
154
- importFile () {
155
- this.showFile = 'true'
156
- },
157
- delFile (row) {
158
- if (!this.look) {
159
- this.$resetdelete(`rs/entity/t_material_info`, {id: row.id}).then(res =>
160
- this.initdata()
161
- )
162
- }
163
- }
164
- },
165
- events: {}
166
- }
167
- </script>
168
-
169
- <style>
170
- .full-with {
171
- width: 100%;
172
- }
173
-
174
- #ldapDisplayUploadFile {
175
- height: auto !important;
176
- }
177
- </style>
1
+ <template>
2
+ <div class="auto select-overspread" style="overflow-y: scroll;overflow-x: hidden">
3
+ <ul class="nav nav-tabs" style="position: relative">
4
+ <p class="bg-info text-center" style="padding: 8px;">{{ title }}</p>
5
+ <h3 class="txtline" v-if="model.parent_name">上一级【{{ model.parent_name }}】</h3>
6
+ </ul>
7
+ <div class="row" style="margin-top:1rem;">
8
+ <div class="col-sm-6">
9
+ <label class="font_normal_body">名称</label>
10
+ <input type="text"
11
+ :disabled="look"
12
+ v-model="model.name" style="width:60%"
13
+ class="input_search full-with" placeholder="名称">
14
+ </div>
15
+ <div class="col-sm-6">
16
+ <label style="width: 80px" class="font_normal_body">类别</label>
17
+ <v-select :disabled="look"
18
+ v-model="model.type"
19
+ placeholder='项目类别'
20
+ :value.sync="model.type"
21
+ :value-single="true"
22
+ :options='types'></v-select>
23
+ </div>
24
+ </div>
25
+ <div class="row" style="margin-top:1rem;" v-if="model.type ==='型号'">
26
+ <div class="col-sm-6">
27
+ <label class="font_normal_body">单位</label>
28
+ <input type="text"
29
+ :disabled="look"
30
+ v-model="model.unit" style="width:60%"
31
+ class="input_search full-with"
32
+ autocomplete="off"
33
+ id="name" placeholder="计量单位">
34
+ </div>
35
+ <div class="col-sm-6">
36
+ <label style="width: 80px" class="font_normal_body">编码</label>
37
+ <input type="text"
38
+ :disabled="look"
39
+ autocomplete="off"
40
+ v-model="model.code" style="width:60%"
41
+ class="input_search full-with" id="name" placeholder="物料编码">
42
+ </div>
43
+ <div class="col-sm-6">
44
+ <label class="font_normal_body">单价</label>
45
+ <input type="text"
46
+ :disabled="look"
47
+ autocomplete="off"
48
+ v-model="model.price" style="width:60%"
49
+ class="input_search full-with" id="name" placeholder="物料单价">
50
+ </div>
51
+ <div class="col-sm-6">
52
+ <label style="width: 80px" class="font_normal_body">业务类型</label>
53
+ <v-select
54
+ v-model="model.material_type"
55
+ placeholder='请选择'
56
+ :value.sync="model.material_type"
57
+ :value-single="true"
58
+ :options='materialTypeOptions'></v-select>
59
+ </div>
60
+ </div>
61
+ <!-- 按钮 -->
62
+ <div class="row col-sm-12" style="margin-top: 1rem">
63
+ <button @click="confirm()" v-show="!look" class="btn button_search col-sm-1 col-sm-offset-5"
64
+ style="width: 70px">
65
+ <span class="glyphicon glyphicon-floppy-disk"></span>保存
66
+ </button>
67
+ <button @click='cancel()' class="btn button_clear col-sm-1 col-sm-offset-1" style="width: 70px">
68
+ <span class=" glyphicon glyphicon-log-out"></span>返回
69
+ </button>
70
+ </div>
71
+ <div class="row col-sm-12" style="margin-top: 18rem">
72
+ </div>
73
+ <work-busy :is-busy="isbusy"></work-busy>
74
+ </div>
75
+ </template>
76
+
77
+ <script>
78
+
79
+ export default {
80
+ title: '功能',
81
+ props: ['parent', 'data', 'look', 'title'],
82
+ data () {
83
+ return {
84
+ model: {
85
+ menu_id: null,
86
+ menu_name: '',
87
+ parent_id: '0',
88
+ component: null,
89
+ create_by: '',
90
+ depict: '',
91
+ type: '',
92
+ material_type: '',
93
+ org_id: ''
94
+ },
95
+ type: '',
96
+ isbusy: false,
97
+ types: this.$appdata.getParam('材料管理-项目类别') ? this.$appdata.getParam('材料管理-项目类别') : [{
98
+ label: '型号',
99
+ value: '型号'
100
+ }, {label: '燃气具设备', value: '燃气具设备'}, {label: '报建', value: '报建'},
101
+ {label: '规格', value: '规格'}, {label: '材料', value: '材料'}, {label: '品名', value: '品名'}],
102
+ showFile: 'false',
103
+ file: [],
104
+ materialTypeOptions: this.$appdata.getParam('材料管理-业务类型')
105
+ }
106
+ },
107
+ watch: {
108
+ data: {
109
+ handler (n, o) {
110
+ // if (!n.menu_id&&n.menu_id !== o.menu_id)
111
+ this.initdata()
112
+ },
113
+ deep: true // 对象内部属性的监听,关键。
114
+ }
115
+ },
116
+ ready () {
117
+ this.initdata()
118
+ },
119
+ methods: {
120
+ // 初始化数据
121
+ initdata () {
122
+ this.model = {
123
+ id: null,
124
+ name: '',
125
+ parent_id: '0',
126
+ create_by: '',
127
+ type: '',
128
+ org_id: ''
129
+ }
130
+ this.model = Object.assign({}, this.model, this.data)
131
+ this.model.org_id = this.$login.f.orgid
132
+ // this.type = this.model.type
133
+ // if (this.model.id) {
134
+ // this.$resetpost('rs/sql/singleTable_OrderBy', {
135
+ // data: {
136
+ // items: '*',
137
+ // table: 't_material_info',
138
+ // condition: ` 1 = 1 and id = ${this.model.id}`,
139
+ // order: 'id desc'
140
+ // }
141
+ // }, {rejectMsg: null, resolveMsg: null})
142
+ // }
143
+ },
144
+ // 关闭文件上传对话框
145
+ closeFile () {
146
+ this.showFile = 'false'
147
+ // 将选的文件清空
148
+ this.$refs.file.$el.querySelector('input').value = ''
149
+ },
150
+ cancel () {
151
+ this.$dispatch('cancel')
152
+ },
153
+ async confirm () {
154
+ await this.$resetpost('rs/entity/t_material_info', this.model).then(res =>
155
+ this.$parent.$refs.funlist.searchData()
156
+ )
157
+ },
158
+ importFile () {
159
+ this.showFile = 'true'
160
+ },
161
+ delFile (row) {
162
+ if (!this.look) {
163
+ this.$resetdelete(`rs/entity/t_material_info`, {id: row.id}).then(res =>
164
+ this.initdata()
165
+ )
166
+ }
167
+ }
168
+ },
169
+ events: {}
170
+ }
171
+ </script>
172
+
173
+ <style>
174
+ .full-with {
175
+ width: 100%;
176
+ }
177
+
178
+ #ldapDisplayUploadFile {
179
+ height: auto !important;
180
+ }
181
+ </style>
@@ -1,60 +1,60 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <apply-material-display @select-changed='selected' @modify-res="modifyRes"
4
- @add-res="addRes"
5
- class="basic-main" style="width:auto;" v-ref:funlist>
6
- </apply-material-display>
7
- <div class="binary-right" style="width: 40%;overflow-x: hidden; overflow-y: scroll;" v-if="row">
8
- <apply-materials-base :look='look' :data="row" :title="title"
9
- :parent="row.parent_name" @cancel="cancel">
10
- </apply-materials-base>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default {
18
- title: '功能展示',
19
- data () {
20
- return {
21
- row: null,
22
- look: true,
23
- title: '功能信息'
24
- }
25
- },
26
- methods: {
27
- // 选中数据
28
- selected (obj) {
29
- this.title = '功能信息'
30
- this.look = true
31
- this.row = obj.val.data
32
- },
33
- // 修改数据
34
- modifyRes (obj) {
35
- this.title = '修改信息'
36
- this.row = obj.data
37
- this.look = false
38
- },
39
- // 添加数据
40
- addRes (obj) {
41
- this.title = '添加功能'
42
- let type = ''
43
- if (obj.type === '品名') {
44
- type = '规格'
45
- } else if (obj.type === '规格') {
46
- type = '型号'
47
- }
48
- this.row = Object.assign({}, {parent_id: obj.id, type: type})
49
- this.look = false
50
- },
51
- // 返回
52
- cancel () {
53
- // 把选择的节点清空 不然点击同样的节点点不出来
54
- this.$refs.funlist.$refs.list.selectStore.selected = null
55
- this.row = null
56
- }
57
-
58
- }
59
- }
60
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <apply-material-display @select-changed='selected' @modify-res="modifyRes"
4
+ @add-res="addRes"
5
+ class="basic-main" style="width:auto;" v-ref:funlist>
6
+ </apply-material-display>
7
+ <div class="binary-right" style="width: 40%verflow-x: hidden; overflow-y: scroll;" v-if="row">
8
+ <apply-materials-base :look='look' :data="row" :title="title"
9
+ :parent="row.parent_name" @cancel="cancel">
10
+ </apply-materials-base>
11
+ </div>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+
17
+ export default {
18
+ title: '物料配置',
19
+ data () {
20
+ return {
21
+ row: null,
22
+ look: true,
23
+ title: '功能信息'
24
+ }
25
+ },
26
+ methods: {
27
+ // 选中数据
28
+ selected (obj) {
29
+ this.title = '功能信息'
30
+ this.look = true
31
+ this.row = obj.val.data
32
+ },
33
+ // 修改数据
34
+ modifyRes (obj) {
35
+ this.title = '修改信息'
36
+ this.row = obj.data
37
+ this.look = false
38
+ },
39
+ // 添加数据
40
+ addRes (obj) {
41
+ this.title = '添加功能'
42
+ let type = ''
43
+ if (obj.type === '品名') {
44
+ type = '规格'
45
+ } else if (obj.type === '规格') {
46
+ type = '型号'
47
+ }
48
+ this.row = Object.assign({}, {parent_id: obj.id, type: type})
49
+ this.look = false
50
+ },
51
+ // 返回
52
+ cancel () {
53
+ // 把选择的节点清空 不然点击同样的节点点不出来
54
+ this.$refs.funlist.$refs.list.selectStore.selected = null
55
+ this.row = null
56
+ }
57
+
58
+ }
59
+ }
60
+ </script>
@@ -0,0 +1,160 @@
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th class="textNoLineBreak">序号</th>
7
+ <th class="textNoLineBreak">检查项目</th>
8
+ <th class="textNoLineBreak">检查结果</th>
9
+ <th class="textNoLineBreak">操作</th>
10
+ </tr>
11
+ </template>
12
+ <template partial='body'>
13
+ <tr>
14
+ <td style="text-align: center;">
15
+ <nobr>{{$index+1}}</nobr>
16
+ </td>
17
+ <td style="text-align: center;" >
18
+ <nobr>{{row.f_check_list}}</nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_check_value}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>
25
+ <button
26
+ type="button"
27
+ name="button"
28
+ class="btn btn-link"
29
+ @click="$parent.$parent.showModal(row)"
30
+ >查看照片</button>
31
+ </nobr>
32
+ </td>
33
+ </tr>
34
+ </template>
35
+ </data-grid>
36
+ <validator name="v">
37
+ <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
38
+ <header slot="modal-header" class="modal-header">
39
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
40
+ <h4 class="modal-title">检查明细照片</h4>
41
+ </header>
42
+ <article slot="modal-body" class="modal-body clearfix">
43
+ <div :class="bootstraped ? bootstraped + ' showData' : 'col-sm-6 showData'" v-for="row in fileInfoData">
44
+ <div class="col-sm-12 item">
45
+ <div class="left col-sm-5">
46
+ <a href="#" class="thumbnail" style="width: 100%;height: 100%">
47
+ <img :src="row" alt="..."/>
48
+ </a>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </article>
53
+ <footer slot="modal-footer" class="modal-footer">
54
+ </footer>
55
+ </modal>
56
+ </validator>
57
+ </div>
58
+ </template>
59
+ <script>
60
+ import {HttpResetClass} from 'vue-client'
61
+ import Vue from 'vue'
62
+ import {isEmpty} from "../Util";
63
+
64
+ export default {
65
+ title: '检查项管理',
66
+ props: {
67
+ selectdata: {
68
+ type: Object
69
+ },
70
+ },
71
+ data () {
72
+ return {
73
+ model: {
74
+ data: null
75
+ },
76
+ flag:0,
77
+ showCheckModel: false,
78
+ checkList:{},
79
+ item: [{label: '是', value: '是'},{label: '否', value: '否'}],
80
+ hasList:false,
81
+ savelist:[],
82
+ fileInfoData:[]
83
+ }
84
+ },
85
+ ready () {
86
+ this.search()
87
+ },
88
+ methods: {
89
+ showModal(row){
90
+ this.load(row)
91
+ this.showCheckModel=true
92
+ },
93
+ closeModal() {
94
+ this.showCheckModel=false
95
+ },
96
+ //查询
97
+ async search() {
98
+ let http = new HttpResetClass()
99
+ let data = {
100
+ tablename: 't_apply_check',
101
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
102
+ }
103
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
104
+ resolveMsg: null,
105
+ rejectMsg: '开发商档案查询失败!!!'
106
+ })
107
+ if(res.data.length>0){
108
+ this.model.data=res.data
109
+ }
110
+ },
111
+ async load(row) {
112
+ this.fileInfoData=[]
113
+ let condition = ''
114
+ condition = `f_blobid= '${this.selectdata.f_process_id}' and fremarks='${this.selectdata.f_apply_num+row.id}' `
115
+ let http = new HttpResetClass()
116
+ let data = {
117
+ tablename: 't_files',
118
+ condition: condition + ` order by f_uploaddate desc `
119
+ }
120
+ let getFile = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
121
+ warnMsg: null,
122
+ resolveMsg: null
123
+ })
124
+ for (var i = 0; i < getFile.data.length; i++) {
125
+ // 如果使用类型包含导入字样,则是execl文件导入的,不做显示
126
+ if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
127
+ getFile.data.splice(i,1)
128
+ i--
129
+ continue
130
+ }
131
+ let temp = getFile.data[i].f_filename
132
+ let src = "http://" + location.host + "/rs/image/file/" + temp
133
+ this.fileInfoData.push(src)
134
+ }
135
+ },
136
+ },
137
+ events: {
138
+ },
139
+ computed: {
140
+ CheckItems() {
141
+ return this.$appdata.getParam("报建检查项目")
142
+ }
143
+ },
144
+ watch: {
145
+ }
146
+ }
147
+ </script>
148
+ <style scoped>
149
+ .textNoLineBreak {
150
+ white-space: nowrap;
151
+ }
152
+ .head-but{
153
+ margin-left: 5px;
154
+ height: 34px;
155
+ /*background-color: #6aa6e2;*/
156
+ border-radius: 4px;
157
+ font-family: PingFang;
158
+ color: #ffffff;
159
+ }
160
+ </style>