apply-clients 3.5.5-3 → 3.5.5-5

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 (61) hide show
  1. package/build/dev-server.js +5 -9
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/Process/Processes/contractModel.vue +458 -458
  11. package/src/components/product/ServiceView.vue +1028 -1028
  12. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  13. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  14. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  21. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  22. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  23. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  24. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  25. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  26. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  27. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  28. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  29. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  30. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  31. package/src/filiale/gongyi/android.js +18 -18
  32. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  33. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  34. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  35. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  36. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  37. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  38. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  39. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  40. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  41. package/src/filiale/gongyi/pc.js +24 -24
  42. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  43. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  44. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  45. package/src/filiale/qianneng/android.js +15 -15
  46. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  47. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  48. package/src/filiale/qianneng/pc.js +29 -29
  49. package/src/filiale/ruihua/pc/ServiceControl.vue +1966 -1966
  50. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  51. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  52. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1706
  53. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  54. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2115
  55. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  56. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  57. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  58. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
  59. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  60. package/src/main.js +3 -3
  61. package/~/chatbot/main.py +0 -57
@@ -1,181 +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"
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
+ <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%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>
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>