apply-clients 3.1.56 → 3.1.57

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 (26) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +20 -20
  3. package/src/apply.js +77 -77
  4. package/src/components/product/ApplyCharge/ApplyChargeList.vue +316 -316
  5. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +26 -26
  6. package/src/components/product/Function/InstallFunction.vue +165 -165
  7. package/src/components/product/Function/InstallInfoSelect.vue +278 -278
  8. package/src/components/product/Function/Service/FunctionServiceControl.vue +262 -262
  9. package/src/components/product/Function/functions/ChargeManagement.vue +1013 -1013
  10. package/src/components/product/Order/OrderApply.vue +467 -467
  11. package/src/components/product/Process/ExplorationSelect.vue +371 -371
  12. package/src/components/product/Process/ExplorationUser.vue +168 -168
  13. package/src/components/product/Process/Service/ServiceControl.vue +13 -2
  14. package/src/components/product/Report/ApplyDevicesList.vue +249 -249
  15. package/src/components/product/Report/ApplyGongliaoList.vue +239 -239
  16. package/src/components/product/Report/ApplyReportSearch.vue +26 -26
  17. package/src/components/product/Report/ReportControl.vue +129 -129
  18. package/src/components/product/ReportForm/CustomerRecordMessage.vue +1593 -1593
  19. package/src/components/product/ServiceView.vue +728 -728
  20. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -169
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
  22. package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -132
  23. package/src/components/product/Supervisory/SupervisoryList.vue +311 -311
  24. package/src/components/product/Supervisory/SupervisoryList2.vue +368 -368
  25. package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -105
  26. package/yarn-error.log +0 -9175
@@ -1,26 +1,26 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div style="height: 95%">
5
- <report-control v-ref:query ></report-control>
6
- </div>
7
- </div>
8
- </div>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- title: '报建收费明细',
14
- data () {
15
- return {
16
- }
17
- },
18
- ready () {
19
- },
20
- methods: {
21
- }
22
- }
23
- </script>
24
-
25
- <style scoped>
26
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div style="height: 95%">
5
+ <report-control v-ref:query ></report-control>
6
+ </div>
7
+ </div>
8
+ </div>
9
+ </template>
10
+
11
+ <script>
12
+ export default {
13
+ title: '报建收费明细',
14
+ data () {
15
+ return {
16
+ }
17
+ },
18
+ ready () {
19
+ },
20
+ methods: {
21
+ }
22
+ }
23
+ </script>
24
+
25
+ <style scoped>
26
+ </style>
@@ -1,165 +1,165 @@
1
- <template>
2
- <div class="basic-main">
3
- <div class="col-sm-10">
4
- <div class="col-sm-12" :style="{height: selectheight}">
5
- <installinfoselect v-ref:installselect></installinfoselect>
6
- </div>
7
- <div class="col-sm-12" :style="{height: funcheight}" v-if="show">
8
- <div class="col-sm-3">
9
- <installfeeinfo :selectdata="selectdata"></installfeeinfo>
10
- </div>
11
- <div class="col-sm-9" style="overflow: auto; height: 95%">
12
- <div class="panel panel-info">
13
- <div class="panel-heading head auto" style="background-color: #e8f4ff">{{funcdata.title}}</div>
14
- <div class="panel-body">
15
- <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
16
- </div>
17
- </div>
18
- </div>
19
- </div>
20
- </div>
21
- <div class="col-sm-2">
22
- <stop-apply-cardlist v-ref:card></stop-apply-cardlist>
23
- </div>
24
- </div>
25
- </template>
26
- <script>
27
- import Vue from 'vue'
28
- import {HttpResetClass} from 'vue-client'
29
- export default {
30
- title: '报建业务',
31
- data () {
32
- return {
33
- funcdata: null, // 选中功能
34
- selectdata: null,
35
- show: false,
36
- selectheight: '100%',
37
- funcheight: '0%'
38
- }
39
- },
40
- created () {
41
- this.getConfig()
42
- },
43
- methods: {
44
- // 获取功能配置
45
- getConfig () {
46
- let http = new HttpResetClass()
47
- let data = {
48
- data: this.$login.f
49
- }
50
- http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
51
- ).then((res) => {
52
- if (res.data.code && res.data.code === 200) {
53
- Vue.prototype.$function_vue = res.data.function_vue
54
- } else {
55
- this.$showMessage('获取配置失败,原因:' + res.data.msg)
56
- return
57
- }
58
- })
59
- }
60
- },
61
- events: {
62
- 'onMessage' (data) {
63
- console.log('接收消息')
64
- console.log(data)
65
- if (data.type === 'apply-task') {
66
- this.$refs.installselect.$refs.cp.$refs.cri.search()
67
- }
68
- },
69
- // 点击功能操作
70
- 'func' (funcdata, row) {
71
- this.funcdata = funcdata
72
- this.selectdata = row
73
- this.selectheight = '10%'
74
- this.funcheight = '90%'
75
- this.$refs.installselect.$refs.cp.pager = false
76
- this.show = true
77
- },
78
- 'close' () {
79
- this.show = false
80
- this.selectheight = '100%'
81
- this.funcheight = '0%'
82
- this.$refs.installselect.$refs.cp.$refs.cri.search()
83
- this.$refs.installselect.$refs.cp.pager = true
84
- },
85
- // 控制查询条件 显示高度
86
- 'hidden' (criteriaShow) {
87
- if (!this.show && !criteriaShow) {
88
-
89
- }
90
- if (!this.show && criteriaShow) {
91
-
92
- }
93
- if (this.show && !criteriaShow) {
94
- this.selectheight = '20%'
95
- this.funcheight = '80%'
96
- }
97
- if (this.show && criteriaShow) {
98
- this.selectheight = '10%'
99
- this.funcheight = '90%'
100
- }
101
- },
102
- 'query' () {
103
- this.show = false
104
- this.selectheight = '100%'
105
- this.funcheight = '0%'
106
- this.$refs.installselect.$refs.cp.$refs.cri.search()
107
- this.$refs.installselect.$refs.cp.pager = true
108
-
109
- this.$refs.card.$refs.paged.$refs.cri.search()
110
- },
111
- 'operate' (row) {
112
- this.show = false
113
- this.funcdata = {
114
- title: '撤销'
115
- }
116
- let http = new HttpResetClass()
117
- let data = {
118
- tablename: 't_apply',
119
- condition: `f_process_id='${row.processid}' and f_apply_orgs = '${this.$login.f.orgs}'`
120
- }
121
- http.load('POST', 'rs/sql/applysingleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
122
- .then(res => {
123
- console.log(res.data[0])
124
- this.selectdata = res.data[0]
125
- this.selectdata.stopapply = row
126
- this.selectheight = '10%'
127
- this.funcheight = '90%'
128
- this.$refs.installselect.$refs.cp.pager = false
129
- this.show = true
130
- })
131
- },
132
- // 刷新控制层
133
- async 'breakControl' () {
134
- let http = new HttpResetClass()
135
- let data = {
136
- tablename: "t_material",
137
- condition: `f_process_id = ${this.selectdata.f_process_id}`
138
- }
139
-
140
- try {
141
- let res = await http.load('POST', 'rs/sql/applysingleTable', {data: data}, {resolveMsg: null, rejectMsg: null})
142
-
143
- this.showtotal = false
144
- this.selectdata = res.data[0]
145
- this.$nextTick(() => {
146
- this.showtotal = true
147
- })
148
- } catch (e) {
149
- this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
150
- }
151
- },
152
- 'selfsearch'() {
153
- this.$refs.installselect.$refs.cp.$refs.cri.search()
154
- },
155
- }
156
- }
157
- </script>
158
- <style scoped>
159
- .head{
160
- height: auto;
161
- font-weight: bold;
162
- color: #000000;
163
- font-family: 微软雅黑;
164
- }
165
- </style>
1
+ <template>
2
+ <div class="basic-main">
3
+ <div class="col-sm-10">
4
+ <div class="col-sm-12" :style="{height: selectheight}">
5
+ <installinfoselect v-ref:installselect></installinfoselect>
6
+ </div>
7
+ <div class="col-sm-12" :style="{height: funcheight}" v-if="show">
8
+ <div class="col-sm-3">
9
+ <installfeeinfo :selectdata="selectdata"></installfeeinfo>
10
+ </div>
11
+ <div class="col-sm-9" style="overflow: auto; height: 95%">
12
+ <div class="panel panel-info">
13
+ <div class="panel-heading head auto" style="background-color: #e8f4ff">{{funcdata.title}}</div>
14
+ <div class="panel-body">
15
+ <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ <div class="col-sm-2">
22
+ <stop-apply-cardlist v-ref:card></stop-apply-cardlist>
23
+ </div>
24
+ </div>
25
+ </template>
26
+ <script>
27
+ import Vue from 'vue'
28
+ import {HttpResetClass} from 'vue-client'
29
+ export default {
30
+ title: '报建业务',
31
+ data () {
32
+ return {
33
+ funcdata: null, // 选中功能
34
+ selectdata: null,
35
+ show: false,
36
+ selectheight: '100%',
37
+ funcheight: '0%'
38
+ }
39
+ },
40
+ created () {
41
+ this.getConfig()
42
+ },
43
+ methods: {
44
+ // 获取功能配置
45
+ getConfig () {
46
+ let http = new HttpResetClass()
47
+ let data = {
48
+ data: this.$login.f
49
+ }
50
+ http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
51
+ ).then((res) => {
52
+ if (res.data.code && res.data.code === 200) {
53
+ Vue.prototype.$function_vue = res.data.function_vue
54
+ } else {
55
+ this.$showMessage('获取配置失败,原因:' + res.data.msg)
56
+ return
57
+ }
58
+ })
59
+ }
60
+ },
61
+ events: {
62
+ 'onMessage' (data) {
63
+ console.log('接收消息')
64
+ console.log(data)
65
+ if (data.type === 'apply-task') {
66
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
67
+ }
68
+ },
69
+ // 点击功能操作
70
+ 'func' (funcdata, row) {
71
+ this.funcdata = funcdata
72
+ this.selectdata = row
73
+ this.selectheight = '10%'
74
+ this.funcheight = '90%'
75
+ this.$refs.installselect.$refs.cp.pager = false
76
+ this.show = true
77
+ },
78
+ 'close' () {
79
+ this.show = false
80
+ this.selectheight = '100%'
81
+ this.funcheight = '0%'
82
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
83
+ this.$refs.installselect.$refs.cp.pager = true
84
+ },
85
+ // 控制查询条件 显示高度
86
+ 'hidden' (criteriaShow) {
87
+ if (!this.show && !criteriaShow) {
88
+
89
+ }
90
+ if (!this.show && criteriaShow) {
91
+
92
+ }
93
+ if (this.show && !criteriaShow) {
94
+ this.selectheight = '20%'
95
+ this.funcheight = '80%'
96
+ }
97
+ if (this.show && criteriaShow) {
98
+ this.selectheight = '10%'
99
+ this.funcheight = '90%'
100
+ }
101
+ },
102
+ 'query' () {
103
+ this.show = false
104
+ this.selectheight = '100%'
105
+ this.funcheight = '0%'
106
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
107
+ this.$refs.installselect.$refs.cp.pager = true
108
+
109
+ this.$refs.card.$refs.paged.$refs.cri.search()
110
+ },
111
+ 'operate' (row) {
112
+ this.show = false
113
+ this.funcdata = {
114
+ title: '撤销'
115
+ }
116
+ let http = new HttpResetClass()
117
+ let data = {
118
+ tablename: 't_apply',
119
+ condition: `f_process_id='${row.processid}' and f_apply_orgs = '${this.$login.f.orgs}'`
120
+ }
121
+ http.load('POST', 'rs/sql/applysingleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
122
+ .then(res => {
123
+ console.log(res.data[0])
124
+ this.selectdata = res.data[0]
125
+ this.selectdata.stopapply = row
126
+ this.selectheight = '10%'
127
+ this.funcheight = '90%'
128
+ this.$refs.installselect.$refs.cp.pager = false
129
+ this.show = true
130
+ })
131
+ },
132
+ // 刷新控制层
133
+ async 'breakControl' () {
134
+ let http = new HttpResetClass()
135
+ let data = {
136
+ tablename: "t_material",
137
+ condition: `f_process_id = ${this.selectdata.f_process_id}`
138
+ }
139
+
140
+ try {
141
+ let res = await http.load('POST', 'rs/sql/applysingleTable', {data: data}, {resolveMsg: null, rejectMsg: null})
142
+
143
+ this.showtotal = false
144
+ this.selectdata = res.data[0]
145
+ this.$nextTick(() => {
146
+ this.showtotal = true
147
+ })
148
+ } catch (e) {
149
+ this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
150
+ }
151
+ },
152
+ 'selfsearch'() {
153
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
154
+ },
155
+ }
156
+ }
157
+ </script>
158
+ <style scoped>
159
+ .head{
160
+ height: auto;
161
+ font-weight: bold;
162
+ color: #000000;
163
+ font-family: 微软雅黑;
164
+ }
165
+ </style>