apply-clients 3.1.36 → 3.1.37

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.1.36",
3
+ "version": "3.1.37",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -1,70 +1,70 @@
1
- import Vue from 'vue'
2
- Vue.config.silent = true
3
- import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
4
- import ApplyLoadParams from './stores/ApplyLoadParams'
5
- /** ****************服务插件*********************/
6
-
7
- export default function () {
8
- Vue.use(ApplyGetSaleParam)
9
- Vue.use(ApplyLoadParams)
10
- /** ***************************报建模块*********************************/
11
- /** 报建流程业务 **/
12
- // 报建流程业务总入口
13
- Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
14
- // 报建流程业务总入口页面list布局
15
- Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
16
- // 业务tab(control层)页
17
- Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
18
- // 公共业务显示(view层)页
19
- Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
20
- // 显示退回理由tab页
21
- Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/ShowBackReason'], resolve) })
22
-
23
- /** 报建监控业务 **/
24
- // 流程监控入口页
25
- Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
26
- // 流程监控列表页
27
- Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
28
- // 业务tab(control层)页
29
- Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
30
- // 流程列表页
31
- Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
32
-
33
- /** 报建功能业务 **/
34
- // 报建功能业务总入口
35
- Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
36
- // 报建功能工程列表
37
- Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
38
- // 报建菜单页面控制层
39
- Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
40
- // 基本信息页(右边)
41
- Vue.component('installfeeinfo', (resolve) => { require(['./components/product/Function/functions/InstallFeeInfo'], resolve) })
42
- // 终止报建业务
43
- Vue.component('stop-install', (resolve) => { require(['./components/product/Function/functions/StopInstall'], resolve) })
44
- // 终止报建列表页
45
- Vue.component('stop-apply-cardlist', (resolve) => { require(['./components/product/Function/StopApplyCrrdList'], resolve) })
46
- // 撤销报建终止页
47
- Vue.component('apply-record-cancel', (resolve) => { require(['./components/product/Function/functions/ApplyRecordCancel'], resolve) })
48
-
49
- /** 报建收费记录 **/
50
- Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
51
-
52
- // 合同编号
53
- Vue.component('contract-no', (resolve) => { require(['./components/product/Function/functions/ContractNo'], resolve) })
54
- // 派工单
55
- Vue.component('dispatch-list', (resolve) => { require(['./components/product/Function/functions/DispatchList'], resolve) })
56
- // 集中报建档案导入
57
- Vue.component('record-message', (resolve) => { require(['./components/product/ReportForm/CustomerRecordMessage'], resolve) })
58
- // 上传文件
59
- Vue.component('apply-upload', (resolve) => { require(['./components/product/ReportForm/ApplyUpload'], resolve) })
60
- Vue.component('test', (resolve) => { require(['./components/product/Test'], resolve) })
61
- // 合同编号
62
- Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Function/functions/ChargeManagement'], resolve) })
63
- /** VueUtils **/
64
- Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
65
- Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
66
- /** 预约报建 **/
67
- // 报建功能业务总入口
68
- Vue.component('order-apply', (resolve) => { require(['./components/product/Order/OrderApply'], resolve) })
69
- Vue.component('order-apply-list', (resolve) => { require(['./components/product/Order/OrderApplyList'], resolve) })
70
- }
1
+ import Vue from 'vue'
2
+ Vue.config.silent = true
3
+ import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
4
+ import ApplyLoadParams from './stores/ApplyLoadParams'
5
+ /** ****************服务插件*********************/
6
+
7
+ export default function () {
8
+ Vue.use(ApplyGetSaleParam)
9
+ Vue.use(ApplyLoadParams)
10
+ /** ***************************报建模块*********************************/
11
+ /** 报建流程业务 **/
12
+ // 报建流程业务总入口
13
+ Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
14
+ // 报建流程业务总入口页面list布局
15
+ Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
16
+ // 业务tab(control层)页
17
+ Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
18
+ // 公共业务显示(view层)页
19
+ Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
20
+ // 显示退回理由tab页
21
+ Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/ShowBackReason'], resolve) })
22
+
23
+ /** 报建监控业务 **/
24
+ // 流程监控入口页
25
+ Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
26
+ // 流程监控列表页
27
+ Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
28
+ // 业务tab(control层)页
29
+ Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
30
+ // 流程列表页
31
+ Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
32
+
33
+ /** 报建功能业务 **/
34
+ // 报建功能业务总入口
35
+ Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
36
+ // 报建功能工程列表
37
+ Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
38
+ // 报建菜单页面控制层
39
+ Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
40
+ // 基本信息页(右边)
41
+ Vue.component('installfeeinfo', (resolve) => { require(['./components/product/Function/functions/InstallFeeInfo'], resolve) })
42
+ // 终止报建业务
43
+ Vue.component('stop-install', (resolve) => { require(['./components/product/Function/functions/StopInstall'], resolve) })
44
+ // 终止报建列表页
45
+ Vue.component('stop-apply-cardlist', (resolve) => { require(['./components/product/Function/StopApplyCrrdList'], resolve) })
46
+ // 撤销报建终止页
47
+ Vue.component('apply-record-cancel', (resolve) => { require(['./components/product/Function/functions/ApplyRecordCancel'], resolve) })
48
+
49
+ /** 报建收费记录 **/
50
+ Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
51
+
52
+ // 合同编号
53
+ Vue.component('contract-no', (resolve) => { require(['./components/product/Function/functions/ContractNo'], resolve) })
54
+ // 派工单
55
+ Vue.component('dispatch-list', (resolve) => { require(['./components/product/Function/functions/DispatchList'], resolve) })
56
+ // 集中报建档案导入
57
+ Vue.component('record-message', (resolve) => { require(['./components/product/ReportForm/CustomerRecordMessage'], resolve) })
58
+ // 上传文件
59
+ Vue.component('apply-upload', (resolve) => { require(['./components/product/ReportForm/ApplyUpload'], resolve) })
60
+ Vue.component('test', (resolve) => { require(['./components/product/Test'], resolve) })
61
+ // 合同编号
62
+ Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Function/functions/ChargeManagement'], resolve) })
63
+ /** VueUtils **/
64
+ Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
65
+ Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
66
+ /** 预约报建 **/
67
+ // 报建功能业务总入口
68
+ Vue.component('order-apply', (resolve) => { require(['./components/product/Order/OrderApply'], resolve) })
69
+ Vue.component('order-apply-list', (resolve) => { require(['./components/product/Order/OrderApplyList'], resolve) })
70
+ }
@@ -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">
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" style="overflow: auto;">
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">
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" style="overflow: auto;">
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>