apply-clients 3.5.4-40 → 3.5.4-41

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 (28) hide show
  1. package/build/dev-server.js +133 -133
  2. package/package.json +1 -1
  3. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  4. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  5. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -1762
  6. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -801
  7. package/src/filiale/baiyin/android/ByDeviceManagement.vue +917 -917
  8. package/src/filiale/baiyin/android.js +8 -8
  9. package/src/filiale/fugou/android/AppChargeManagement.vue +756 -756
  10. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +515 -515
  11. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
  12. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1096 -1096
  13. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1664 -1664
  14. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  15. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  16. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  17. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  18. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  19. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  20. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  21. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
  22. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +613 -613
  23. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  24. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  25. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
  26. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1047 -1047
  27. package/src/filiale/yangchunboneng/pc.js +24 -24
  28. package/src/main.js +23 -23
@@ -1,133 +1,133 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
- var app = express()
7
- var compiler = webpack(config)
8
- var ldap = 'http://125.71.238.50:30789'
9
- var applyinstall = 'http://125.71.238.50:30789'
10
- //测试地址
11
- // var ldap = 'http://192.168.50.93:31986'
12
- // var applyinstall = 'http://192.168.50.93:31986'
13
-
14
- var proxyTable = {
15
- '/rs/logic/getSaleInitData': {
16
- target: ldap,
17
- changeOrigin: true
18
- },
19
- '/rs/workflow': {
20
- target: applyinstall,
21
- changeOrigin: true
22
- },
23
- '/rs/vue': {
24
- target: ldap,
25
- changeOrigin: true
26
- },
27
- // 查找资源服务数据
28
- '/rs/search': {
29
- target: ldap,
30
- changeOrigin: true
31
- },
32
- // 街道查询
33
- '/rs/sql/address_getstreetlist': {
34
- target: ldap,
35
- changeOrigin: true
36
- },
37
- // 创建街道
38
- '/rs/logic/address_updatestreet': {
39
- target: ldap,
40
- changeOrigin: true
41
- },
42
- // 创建小区
43
- '/rs/logic/address_updatearea': {
44
- target: ldap,
45
- changeOrigin: true
46
- },
47
- // 用户登录服务地址
48
- '/rs/user': {
49
- target: ldap,
50
- changeOrigin: true
51
- },
52
- '/rs/logic/getInitData': {
53
- target: ldap?ldap:applyinstall,
54
- changeOrigin: true
55
- },
56
- '/rs/logic/getLogin': {
57
- target: ldap,
58
- changeOrigin: true
59
- },
60
- '/rs/file': { // 文件上传
61
- target: applyinstall,
62
- changeOrigin: true
63
- },
64
- '/project': { // 文件回显
65
- target: applyinstall,
66
- changeOrigin: true
67
- },
68
- '/rs': {
69
- target: applyinstall,
70
- changeOrigin: true
71
- },
72
- '/ws': {
73
- target: applyinstall,
74
- changeOrigin: true,
75
- ws: true // 代理webSocket
76
- }
77
- }
78
-
79
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
80
- publicPath: config.output.publicPath,
81
- stats: {
82
- colors: true,
83
- chunks: false
84
- }
85
- })
86
-
87
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
88
- // force page reload when html-webpack-plugin template changes
89
- compiler.plugin('compilation', function (compilation) {
90
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
91
- hotMiddleware.publish({action: 'reload'})
92
- cb()
93
- })
94
- })
95
-
96
- // proxy api requests
97
- Object.keys(proxyTable).forEach(function (context) {
98
- var options = proxyTable[context]
99
- if (typeof options === 'string') {
100
- options = {target: options}
101
- }
102
- app.use(proxyMiddleware(context, options))
103
- })
104
-
105
- // handle fallback for HTML5 history API
106
- app.use(require('connect-history-api-fallback')())
107
- // app.use(function (req, res, next) {
108
- // res.header('Access-Control-Allow-Origin', '*')
109
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
110
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
111
- // res.header('X-Powered-By', '3,2,1')
112
- // res.header('Access-Control-Allow-Credentials', 'true')
113
- // res.header('Content-Type', 'application/json;charset=utf-8')
114
- // next()
115
- // })
116
-
117
- // serve webpack bundle output
118
- app.use(devMiddleware)
119
-
120
- // enable hot-reload and state-preserving
121
- // compilation error display
122
- app.use(hotMiddleware)
123
-
124
- // serve pure static assets
125
- app.use('/static', express.static('./static'))
126
-
127
- module.exports = app.listen(30789, function (err) {
128
- if (err) {
129
- console.log(err)
130
- return
131
- }
132
- console.log('Listening at http://localhost:30789')
133
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+ var app = express()
7
+ var compiler = webpack(config)
8
+ // var proxy = httpProxy.createProxyServer()
9
+ // var ldap = 'http://121.36.79.201:8400'
10
+ // var applyinstall = 'http://121.36.79.201:8400'
11
+ var ldap = 'https://qnjtkf.cn:7401'
12
+ var applyinstall = 'https://qnjtkf.cn:7401'
13
+
14
+ var proxyTable = {
15
+ '/rs/logic/getSaleInitData': {
16
+ target: ldap,
17
+ changeOrigin: true
18
+ },
19
+ '/rs/workflow': {
20
+ target: applyinstall,
21
+ changeOrigin: true
22
+ },
23
+ '/rs/vue': {
24
+ target: ldap,
25
+ changeOrigin: true
26
+ },
27
+ // 查找资源服务数据
28
+ '/rs/search': {
29
+ target: ldap,
30
+ changeOrigin: true
31
+ },
32
+ // 街道查询
33
+ '/rs/sql/address_getstreetlist': {
34
+ target: ldap,
35
+ changeOrigin: true
36
+ },
37
+ // 创建街道
38
+ '/rs/logic/address_updatestreet': {
39
+ target: ldap,
40
+ changeOrigin: true
41
+ },
42
+ // 创建小区
43
+ '/rs/logic/address_updatearea': {
44
+ target: ldap,
45
+ changeOrigin: true
46
+ },
47
+ // 用户登录服务地址
48
+ '/rs/user': {
49
+ target: ldap,
50
+ changeOrigin: true
51
+ },
52
+ '/rs/logic/getInitData': {
53
+ target: ldap?ldap:applyinstall,
54
+ changeOrigin: true
55
+ },
56
+ '/rs/logic/getLogin': {
57
+ target: ldap,
58
+ changeOrigin: true
59
+ },
60
+ '/rs/file': { // 文件上传
61
+ target: applyinstall,
62
+ changeOrigin: true
63
+ },
64
+ '/project': { // 文件回显
65
+ target: applyinstall,
66
+ changeOrigin: true
67
+ },
68
+ '/rs': {
69
+ target: applyinstall,
70
+ changeOrigin: true
71
+ },
72
+ '/ws': {
73
+ target: applyinstall,
74
+ changeOrigin: true,
75
+ ws: true // 代理webSocket
76
+ }
77
+ }
78
+
79
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
80
+ publicPath: config.output.publicPath,
81
+ stats: {
82
+ colors: true,
83
+ chunks: false
84
+ }
85
+ })
86
+
87
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
88
+ // force page reload when html-webpack-plugin template changes
89
+ compiler.plugin('compilation', function (compilation) {
90
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
91
+ hotMiddleware.publish({action: 'reload'})
92
+ cb()
93
+ })
94
+ })
95
+
96
+ // proxy api requests
97
+ Object.keys(proxyTable).forEach(function (context) {
98
+ var options = proxyTable[context]
99
+ if (typeof options === 'string') {
100
+ options = {target: options}
101
+ }
102
+ app.use(proxyMiddleware(context, options))
103
+ })
104
+
105
+ // handle fallback for HTML5 history API
106
+ app.use(require('connect-history-api-fallback')())
107
+ // app.use(function (req, res, next) {
108
+ // res.header('Access-Control-Allow-Origin', '*')
109
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
110
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
111
+ // res.header('X-Powered-By', '3,2,1')
112
+ // res.header('Access-Control-Allow-Credentials', 'true')
113
+ // res.header('Content-Type', 'application/json;charset=utf-8')
114
+ // next()
115
+ // })
116
+
117
+ // serve webpack bundle output
118
+ app.use(devMiddleware)
119
+
120
+ // enable hot-reload and state-preserving
121
+ // compilation error display
122
+ app.use(hotMiddleware)
123
+
124
+ // serve pure static assets
125
+ app.use('/static', express.static('./static'))
126
+
127
+ module.exports = app.listen(8300, function (err) {
128
+ if (err) {
129
+ console.log(err)
130
+ return
131
+ }
132
+ console.log('Listening at http://localhost:8300')
133
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.5.4-40",
3
+ "version": "3.5.4-41",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,141 +1,141 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10" style="margin-top: 20px">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :pblobid="selectdata.f_parent_process_id"
19
- :isupload = "false"
20
- :isdelete="false"
21
- :isusetype="true"
22
- :isremark = "true"
23
- :takeimg="false"
24
- :issearch="true"
25
- :defname="selectdata.defname">
26
- </apply-upload>
27
- </tab>
28
- </tabset>
29
- </div>
30
- <div style="height: 1%">
31
-
32
- </div>
33
- </div>
34
- </div>
35
- </div>
36
-
37
- </template>
38
- <script>
39
- import Vue from 'vue'
40
- import {HttpResetClass} from 'vue-client'
41
- export default {
42
- title: '流程监控',
43
- data () {
44
- return {
45
- showtotal: false, // 控制详细信息显示
46
- showData: true,
47
- selectdata: {},
48
- xmlname: '' // 配置文件名称
49
- }
50
- },
51
- created () {
52
- },
53
- methods: {
54
- // 获取页面配置json文件
55
- async loadName () {
56
- let data = {
57
- workname: this.selectdata.processname
58
- }
59
-
60
- let res = await this.$resetpost(
61
- 'rs/logic/ApplyGetConfigs',
62
- {data: data},
63
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
64
- )
65
-
66
- Vue.prototype.$workflow_vue = res.data
67
- }
68
- },
69
- events: {
70
- // 刷新控制层
71
- async 'breakControl' (servicedata) {
72
-
73
- if (servicedata.id) {
74
- let data = {
75
- condition: `u.id = ${servicedata.id}`,
76
- data: {
77
- orgid: this.$login.f.orgid
78
- }
79
- }
80
- let res = await this.$resetpost(
81
- 'rs/sql/supervisory',
82
- {data: data},
83
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
84
- )
85
- this.selectdata = Object.assign({}, this.selectdata, res.data[0])
86
- } else {
87
- this.selectdata = servicedata
88
- }
89
-
90
- this.showtotal = false
91
- this.$nextTick(() => {
92
- this.showtotal = true
93
- })
94
-
95
- },
96
- 'onMessage' (data) {
97
- console.log('接收消息')
98
- console.log(data)
99
- if (data.type === 'apply-task') {
100
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
101
- }
102
- },
103
- async 'apply' (val) {
104
- this.selectdata = null
105
- this.selectdata = val
106
- this.showtotal = false
107
-
108
- // 获取配置文件
109
- await this.loadName()
110
-
111
- this.$refs.query.$refs.cp.pager = false
112
- this.showData = false
113
-
114
- this.showtotal = true
115
- },
116
- 'search' () {
117
- // 关闭详细
118
- this.showtotal = false
119
- // 显示列表数据
120
- this.showData = true
121
- // 显示分页
122
- this.$refs.query.$refs.cp.pager = true
123
- // 调用查询
124
- this.$refs.query.$refs.cp.$refs.cri.search()
125
- },
126
- 'loadPage' () {
127
- // 关闭详细
128
- this.showtotal = false
129
- // 显示列表数据
130
- this.showData = true
131
- // 显示分页
132
- this.$refs.query.$refs.cp.pager = true
133
- // 调用查询
134
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
135
- }
136
- },
137
-
138
- watch: {
139
- }
140
- }
141
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :pblobid="selectdata.f_parent_process_id"
19
+ :isupload = "false"
20
+ :isdelete="false"
21
+ :isusetype="true"
22
+ :isremark = "true"
23
+ :takeimg="false"
24
+ :issearch="true"
25
+ :defname="selectdata.defname">
26
+ </apply-upload>
27
+ </tab>
28
+ </tabset>
29
+ </div>
30
+ <div style="height: 1%">
31
+
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </div>
36
+
37
+ </template>
38
+ <script>
39
+ import Vue from 'vue'
40
+ import {HttpResetClass} from 'vue-client'
41
+ export default {
42
+ title: '流程监控',
43
+ data () {
44
+ return {
45
+ showtotal: false, // 控制详细信息显示
46
+ showData: true,
47
+ selectdata: {},
48
+ xmlname: '' // 配置文件名称
49
+ }
50
+ },
51
+ created () {
52
+ },
53
+ methods: {
54
+ // 获取页面配置json文件
55
+ async loadName () {
56
+ let data = {
57
+ workname: this.selectdata.processname
58
+ }
59
+
60
+ let res = await this.$resetpost(
61
+ 'rs/logic/ApplyGetConfigs',
62
+ {data: data},
63
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
64
+ )
65
+
66
+ Vue.prototype.$workflow_vue = res.data
67
+ }
68
+ },
69
+ events: {
70
+ // 刷新控制层
71
+ async 'breakControl' (servicedata) {
72
+
73
+ if (servicedata.id) {
74
+ let data = {
75
+ condition: `u.id = ${servicedata.id}`,
76
+ data: {
77
+ orgid: this.$login.f.orgid
78
+ }
79
+ }
80
+ let res = await this.$resetpost(
81
+ 'rs/sql/supervisory',
82
+ {data: data},
83
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
84
+ )
85
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
86
+ } else {
87
+ this.selectdata = servicedata
88
+ }
89
+
90
+ this.showtotal = false
91
+ this.$nextTick(() => {
92
+ this.showtotal = true
93
+ })
94
+
95
+ },
96
+ 'onMessage' (data) {
97
+ console.log('接收消息')
98
+ console.log(data)
99
+ if (data.type === 'apply-task') {
100
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
101
+ }
102
+ },
103
+ async 'apply' (val) {
104
+ this.selectdata = null
105
+ this.selectdata = val
106
+ this.showtotal = false
107
+
108
+ // 获取配置文件
109
+ await this.loadName()
110
+
111
+ this.$refs.query.$refs.cp.pager = false
112
+ this.showData = false
113
+
114
+ this.showtotal = true
115
+ },
116
+ 'search' () {
117
+ // 关闭详细
118
+ this.showtotal = false
119
+ // 显示列表数据
120
+ this.showData = true
121
+ // 显示分页
122
+ this.$refs.query.$refs.cp.pager = true
123
+ // 调用查询
124
+ this.$refs.query.$refs.cp.$refs.cri.search()
125
+ },
126
+ 'loadPage' () {
127
+ // 关闭详细
128
+ this.showtotal = false
129
+ // 显示列表数据
130
+ this.showData = true
131
+ // 显示分页
132
+ this.$refs.query.$refs.cp.pager = true
133
+ // 调用查询
134
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
135
+ }
136
+ },
137
+
138
+ watch: {
139
+ }
140
+ }
141
+ </script>