apply-clients 3.4.61 → 3.4.62

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.
@@ -1,119 +1,119 @@
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 = 'http://123.249.102.255:8400/'
12
- var applyinstall = 'http://123.249.102.255:8400/'
13
-
14
- var proxyTable = {
15
- '/rs/logic/getSaleInitData': {
16
- target: ldap
17
- },
18
- '/rs/workflow': {
19
- target: applyinstall
20
- },
21
- '/rs/vue': {
22
- target: ldap
23
- },
24
- // 查找资源服务数据
25
- '/rs/search': {
26
- target: ldap
27
- },
28
- // 街道查询
29
- '/rs/sql/address_getstreetlist': {
30
- target: ldap
31
- },
32
- // 创建街道
33
- '/rs/logic/address_updatestreet': {
34
- target: ldap
35
- },
36
- // 创建小区
37
- '/rs/logic/address_updatearea': {
38
- target: ldap
39
- },
40
- // 用户登录服务地址
41
- '/rs/user': {
42
- target: ldap
43
- },
44
- '/rs/logic/getInitData': {
45
- target: ldap?ldap:applyinstall
46
- },
47
- '/rs/logic/getLogin': {
48
- target: ldap
49
- },
50
- '/rs/file': { // 文件上传
51
- target: applyinstall
52
- },
53
- '/project': { // 文件回显
54
- target: applyinstall
55
- },
56
- '/rs': {
57
- target: applyinstall
58
- },
59
- '/ws': {
60
- target: applyinstall,
61
- ws: true // 代理webSocket
62
- }
63
- }
64
-
65
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
66
- publicPath: config.output.publicPath,
67
- stats: {
68
- colors: true,
69
- chunks: false
70
- }
71
- })
72
-
73
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
74
- // force page reload when html-webpack-plugin template changes
75
- compiler.plugin('compilation', function (compilation) {
76
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
77
- hotMiddleware.publish({action: 'reload'})
78
- cb()
79
- })
80
- })
81
-
82
- // proxy api requests
83
- Object.keys(proxyTable).forEach(function (context) {
84
- var options = proxyTable[context]
85
- if (typeof options === 'string') {
86
- options = {target: options}
87
- }
88
- app.use(proxyMiddleware(context, options))
89
- })
90
-
91
- // handle fallback for HTML5 history API
92
- app.use(require('connect-history-api-fallback')())
93
- // app.use(function (req, res, next) {
94
- // res.header('Access-Control-Allow-Origin', '*')
95
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
96
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
97
- // res.header('X-Powered-By', '3,2,1')
98
- // res.header('Access-Control-Allow-Credentials', 'true')
99
- // res.header('Content-Type', 'application/json;charset=utf-8')
100
- // next()
101
- // })
102
-
103
- // serve webpack bundle output
104
- app.use(devMiddleware)
105
-
106
- // enable hot-reload and state-preserving
107
- // compilation error display
108
- app.use(hotMiddleware)
109
-
110
- // serve pure static assets
111
- app.use('/static', express.static('./static'))
112
-
113
- module.exports = app.listen(8300, function (err) {
114
- if (err) {
115
- console.log(err)
116
- return
117
- }
118
- console.log('Listening at http://localhost:8300')
119
- })
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 = 'http://219.138.226.181:8401'
12
+ var applyinstall = 'http://219.138.226.181:8401'
13
+
14
+ var proxyTable = {
15
+ '/rs/logic/getSaleInitData': {
16
+ target: ldap
17
+ },
18
+ '/rs/workflow': {
19
+ target: applyinstall
20
+ },
21
+ '/rs/vue': {
22
+ target: ldap
23
+ },
24
+ // 查找资源服务数据
25
+ '/rs/search': {
26
+ target: ldap
27
+ },
28
+ // 街道查询
29
+ '/rs/sql/address_getstreetlist': {
30
+ target: ldap
31
+ },
32
+ // 创建街道
33
+ '/rs/logic/address_updatestreet': {
34
+ target: ldap
35
+ },
36
+ // 创建小区
37
+ '/rs/logic/address_updatearea': {
38
+ target: ldap
39
+ },
40
+ // 用户登录服务地址
41
+ '/rs/user': {
42
+ target: ldap
43
+ },
44
+ '/rs/logic/getInitData': {
45
+ target: ldap?ldap:applyinstall
46
+ },
47
+ '/rs/logic/getLogin': {
48
+ target: ldap
49
+ },
50
+ '/rs/file': { // 文件上传
51
+ target: applyinstall
52
+ },
53
+ '/project': { // 文件回显
54
+ target: applyinstall
55
+ },
56
+ '/rs': {
57
+ target: applyinstall
58
+ },
59
+ '/ws': {
60
+ target: applyinstall,
61
+ ws: true // 代理webSocket
62
+ }
63
+ }
64
+
65
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
66
+ publicPath: config.output.publicPath,
67
+ stats: {
68
+ colors: true,
69
+ chunks: false
70
+ }
71
+ })
72
+
73
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
74
+ // force page reload when html-webpack-plugin template changes
75
+ compiler.plugin('compilation', function (compilation) {
76
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
77
+ hotMiddleware.publish({action: 'reload'})
78
+ cb()
79
+ })
80
+ })
81
+
82
+ // proxy api requests
83
+ Object.keys(proxyTable).forEach(function (context) {
84
+ var options = proxyTable[context]
85
+ if (typeof options === 'string') {
86
+ options = {target: options}
87
+ }
88
+ app.use(proxyMiddleware(context, options))
89
+ })
90
+
91
+ // handle fallback for HTML5 history API
92
+ app.use(require('connect-history-api-fallback')())
93
+ // app.use(function (req, res, next) {
94
+ // res.header('Access-Control-Allow-Origin', '*')
95
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
96
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
97
+ // res.header('X-Powered-By', '3,2,1')
98
+ // res.header('Access-Control-Allow-Credentials', 'true')
99
+ // res.header('Content-Type', 'application/json;charset=utf-8')
100
+ // next()
101
+ // })
102
+
103
+ // serve webpack bundle output
104
+ app.use(devMiddleware)
105
+
106
+ // enable hot-reload and state-preserving
107
+ // compilation error display
108
+ app.use(hotMiddleware)
109
+
110
+ // serve pure static assets
111
+ app.use('/static', express.static('./static'))
112
+
113
+ module.exports = app.listen(8300, function (err) {
114
+ if (err) {
115
+ console.log(err)
116
+ return
117
+ }
118
+ console.log('Listening at http://localhost:8300')
119
+ })
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "apply-clients",
3
- "version": "3.4.61",
4
- "description": "报建前端模块",
5
- "main": "src/index.js",
6
- "directories": {
7
- "example": "examples",
8
- "test": "test"
9
- },
10
- "scripts": {
11
- "unit": "karma start test/unit/karma.conf.js",
12
- "example": "node build/example-server.js",
13
- "dev": "node build/dev-server.js",
14
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
15
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
16
- "e2e": "node test/e2e/runner.js",
17
- "release": "bash build/release.sh",
18
- "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "https://gitee.com/aote/ApplyInstall.git"
23
- },
24
- "keywords": [
25
- "ApplyInstall"
26
- ],
27
- "author": "zx <939981212@qq.com>",
28
- "license": "ISC",
29
- "dependencies": {
30
- "@logicflow/core": "^0.4.3",
31
- "co": "4.6.0",
32
- "dingtalk-jsapi": "^2.13.68",
33
- "jsencrypt": "^3.0.0-rc.1",
34
- "less": "^2.7.1",
35
- "less-loader": "^2.2.3",
36
- "lib-flexible": "^0.3.2",
37
- "px2rem-loader": "^0.1.9",
38
- "qrcodejs2": "0.0.2",
39
- "vue": "^1.0.17",
40
- "vue-bubble": "^1.0.3"
41
- },
42
- "devDependencies": {
43
- "babel-core": "^6.0.0",
44
- "babel-loader": "^6.0.0",
45
- "babel-plugin-transform-runtime": "^6.0.0",
46
- "babel-preset-es2015": "^6.0.0",
47
- "babel-preset-stage-2": "^6.0.0",
48
- "chai": "^3.5.0",
49
- "connect-history-api-fallback": "^1.1.0",
50
- "cross-env": "^1.0.7",
51
- "cross-spawn": "^2.1.5",
52
- "css-loader": "^0.23.0",
53
- "echarts": "^4.1.0",
54
- "eslint": "^2.0.0",
55
- "eslint-config-standard": "^5.1.0",
56
- "eslint-friendly-formatter": "^1.2.2",
57
- "eslint-loader": "^1.3.0",
58
- "eslint-plugin-html": "^1.3.0",
59
- "eslint-plugin-promise": "^1.0.8",
60
- "eslint-plugin-standard": "^1.3.2",
61
- "eslint-plugin-vue": "^0.1.1",
62
- "eventsource-polyfill": "^0.9.6",
63
- "express": "^4.17.0",
64
- "extract-text-webpack-plugin": "^1.0.1",
65
- "file-loader": "^0.8.4",
66
- "form-create": "^1.6.6",
67
- "function-bind": "^1.0.2",
68
- "html-webpack-plugin": "^2.8.1",
69
- "http-proxy-middleware": "^0.11.0",
70
- "inject-loader": "^2.0.1",
71
- "isparta-loader": "^2.0.0",
72
- "jasmine-core": "^2.4.1",
73
- "jquery": "^3.3.1",
74
- "json-loader": "^0.5.4",
75
- "karma": "^1.4.1",
76
- "karma-chrome-launcher": "^2.2.0",
77
- "karma-coverage": "^1.1.1",
78
- "karma-mocha": "^1.3.0",
79
- "karma-sinon-chai": "^1.3.1",
80
- "karma-sourcemap-loader": "^0.3.7",
81
- "karma-spec-reporter": "0.0.31",
82
- "karma-webpack": "^2.0.2",
83
- "ldap-clients": "3.0.18",
84
- "material-client": "^1.1.2",
85
- "mkdirp": "^0.5.1",
86
- "mocha": "^3.2.0",
87
- "ncp": "^2.0.0",
88
- "nightwatch": "^0.8.18",
89
- "rimraf": "^2.5.0",
90
- "sale-client": "^1.4.33",
91
- "selenium-server": "2.52.0",
92
- "sinon": "^2.1.0",
93
- "sinon-chai": "^2.8.0",
94
- "style": "0.0.3",
95
- "style-loader": "^0.20.3",
96
- "system-clients": "3.1.87",
97
- "system-phone": "1.2.80-49",
98
- "url-loader": "^0.5.7",
99
- "vue-client": "1.24.74",
100
- "vue-hot-reload-api": "^1.2.0",
101
- "vue-html-loader": "^1.0.0",
102
- "vue-loader": "^8.2.1",
103
- "vue-resource": "^1.5.0",
104
- "vue-router": "^0.7.13",
105
- "vue-strap": "^1.0.9",
106
- "vue-style-loader": "^1.0.0",
107
- "vue-validator": "^2.1.7",
108
- "vux": "^2.9.4",
109
- "webpack": "^1.12.2",
110
- "webpack-dev-middleware": "^1.4.0",
111
- "webpack-hot-middleware": "^2.6.0",
112
- "webpack-merge": "^0.8.3",
113
- "weixin-js-sdk": "^1.2.0"
114
- }
115
- }
1
+ {
2
+ "name": "apply-clients",
3
+ "version": "3.4.62",
4
+ "description": "报建前端模块",
5
+ "main": "src/index.js",
6
+ "directories": {
7
+ "example": "examples",
8
+ "test": "test"
9
+ },
10
+ "scripts": {
11
+ "unit": "karma start test/unit/karma.conf.js",
12
+ "example": "node build/example-server.js",
13
+ "dev": "node build/dev-server.js",
14
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
15
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
16
+ "e2e": "node test/e2e/runner.js",
17
+ "release": "bash build/release.sh",
18
+ "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://gitee.com/aote/ApplyInstall.git"
23
+ },
24
+ "keywords": [
25
+ "ApplyInstall"
26
+ ],
27
+ "author": "zx <939981212@qq.com>",
28
+ "license": "ISC",
29
+ "dependencies": {
30
+ "@logicflow/core": "^0.4.3",
31
+ "co": "4.6.0",
32
+ "dingtalk-jsapi": "^2.13.68",
33
+ "jsencrypt": "^3.0.0-rc.1",
34
+ "less": "^2.7.1",
35
+ "less-loader": "^2.2.3",
36
+ "lib-flexible": "^0.3.2",
37
+ "px2rem-loader": "^0.1.9",
38
+ "qrcodejs2": "0.0.2",
39
+ "vue": "^1.0.17",
40
+ "vue-bubble": "^1.0.3"
41
+ },
42
+ "devDependencies": {
43
+ "babel-core": "^6.0.0",
44
+ "babel-loader": "^6.0.0",
45
+ "babel-plugin-transform-runtime": "^6.0.0",
46
+ "babel-preset-es2015": "^6.0.0",
47
+ "babel-preset-stage-2": "^6.0.0",
48
+ "chai": "^3.5.0",
49
+ "connect-history-api-fallback": "^1.1.0",
50
+ "cross-env": "^1.0.7",
51
+ "cross-spawn": "^2.1.5",
52
+ "css-loader": "^0.23.0",
53
+ "echarts": "^4.1.0",
54
+ "eslint": "^2.0.0",
55
+ "eslint-config-standard": "^5.1.0",
56
+ "eslint-friendly-formatter": "^1.2.2",
57
+ "eslint-loader": "^1.3.0",
58
+ "eslint-plugin-html": "^1.3.0",
59
+ "eslint-plugin-promise": "^1.0.8",
60
+ "eslint-plugin-standard": "^1.3.2",
61
+ "eslint-plugin-vue": "^0.1.1",
62
+ "eventsource-polyfill": "^0.9.6",
63
+ "express": "^4.17.0",
64
+ "extract-text-webpack-plugin": "^1.0.1",
65
+ "file-loader": "^0.8.4",
66
+ "form-create": "^1.6.6",
67
+ "function-bind": "^1.0.2",
68
+ "html-webpack-plugin": "^2.8.1",
69
+ "http-proxy-middleware": "^0.11.0",
70
+ "inject-loader": "^2.0.1",
71
+ "isparta-loader": "^2.0.0",
72
+ "jasmine-core": "^2.4.1",
73
+ "jquery": "^3.3.1",
74
+ "json-loader": "^0.5.4",
75
+ "karma": "^1.4.1",
76
+ "karma-chrome-launcher": "^2.2.0",
77
+ "karma-coverage": "^1.1.1",
78
+ "karma-mocha": "^1.3.0",
79
+ "karma-sinon-chai": "^1.3.1",
80
+ "karma-sourcemap-loader": "^0.3.7",
81
+ "karma-spec-reporter": "0.0.31",
82
+ "karma-webpack": "^2.0.2",
83
+ "ldap-clients": "3.0.18",
84
+ "material-client": "^1.1.2",
85
+ "mkdirp": "^0.5.1",
86
+ "mocha": "^3.2.0",
87
+ "ncp": "^2.0.0",
88
+ "nightwatch": "^0.8.18",
89
+ "rimraf": "^2.5.0",
90
+ "sale-client": "^1.4.33",
91
+ "selenium-server": "2.52.0",
92
+ "sinon": "^2.1.0",
93
+ "sinon-chai": "^2.8.0",
94
+ "style": "0.0.3",
95
+ "style-loader": "^0.20.3",
96
+ "system-clients": "3.1.87",
97
+ "system-phone": "1.2.80-49",
98
+ "url-loader": "^0.5.7",
99
+ "vue-client": "1.24.74",
100
+ "vue-hot-reload-api": "^1.2.0",
101
+ "vue-html-loader": "^1.0.0",
102
+ "vue-loader": "^8.2.1",
103
+ "vue-resource": "^1.5.0",
104
+ "vue-router": "^0.7.13",
105
+ "vue-strap": "^1.0.9",
106
+ "vue-style-loader": "^1.0.0",
107
+ "vue-validator": "^2.1.7",
108
+ "vux": "^2.9.4",
109
+ "webpack": "^1.12.2",
110
+ "webpack-dev-middleware": "^1.4.0",
111
+ "webpack-hot-middleware": "^2.6.0",
112
+ "webpack-merge": "^0.8.3",
113
+ "weixin-js-sdk": "^1.2.0"
114
+ }
115
+ }
@@ -160,7 +160,6 @@
160
160
  if (item.type === 'datepicker' && !item.value && item.default) {
161
161
  item.value = new Date().Format(`${item.format ? item.format : 'yyyy-MM-dd HH:mm:ss'}`)
162
162
  }
163
-
164
163
  // 如果配置类型为select,优先从参数列表获取options
165
164
  if (item.type === 'select' || item.type === 'checkbox') {
166
165
  if (item.param) {
@@ -178,9 +177,11 @@
178
177
  }
179
178
  }
180
179
 
181
- if (item.ready) {
182
- item.options = await this[item.ready]()
183
- }
180
+ // if (item.ready) {
181
+ // console.log(item.ready)
182
+ // item.options = await this[item.ready]()
183
+ //
184
+ // }
184
185
  }
185
186
 
186
187
 
@@ -203,7 +204,6 @@
203
204
  }
204
205
  })
205
206
  }
206
-
207
207
  // 初始化onetomany
208
208
  if (this.selectdata.onetomany) {
209
209
  for (const item of this.selectdata.onetomany) {
@@ -259,7 +259,6 @@
259
259
  }
260
260
  }
261
261
  }
262
-
263
262
  // 初始化 buttons_fields
264
263
  for (const item of this.selectdata.buttons) {
265
264
  if (item.button_name === '下发') {
@@ -320,7 +319,6 @@
320
319
  })
321
320
  }
322
321
  }
323
-
324
322
  // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
325
323
  let temp = JSON.parse(JSON.stringify(this.selectdata))
326
324
  console.log('打印下temp',temp)
@@ -574,26 +572,26 @@
574
572
  }
575
573
  return 'this.getParentByType($organization$).getChildByName($工程部报装$).getChildren()'
576
574
  },
577
- async getDevInfo () {
578
- let data = {
579
- tablename: 't_dev_info',
580
- condition: `f_orgid = '${this.$login.f.orgid}'`
581
- }
582
- let http = new HttpResetClass()
583
- let res = await http.load(
584
- 'POST',
585
- `rs/sql/singleTable`,
586
- {data: data},
587
- {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
588
- )
589
-
590
- return res.data.map(item => {
591
- return {
592
- label: item.f_dev_name,
593
- value: item.f_dev_name
594
- }
595
- })
596
- },
575
+ // async getDevInfo () {
576
+ // let data = {
577
+ // tablename: 't_dev_info',
578
+ // condition: `f_orgid = '${this.$login.f.orgid}'`
579
+ // }
580
+ // let http = new HttpResetClass()
581
+ // let res = await http.load(
582
+ // 'POST',
583
+ // `rs/sql/singleTable`,
584
+ // {data: data},
585
+ // {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
586
+ // )
587
+ //
588
+ // return res.data.map(item => {
589
+ // return {
590
+ // label: item.f_dev_name,
591
+ // value: item.f_dev_name
592
+ // }
593
+ // })
594
+ // },
597
595
  async getPrice (f_price_id) {
598
596
  console.log('=======================')
599
597
  console.log(f_price_id)
@@ -601,12 +599,12 @@
601
599
  let data = {
602
600
  condition: `sp.f_filialeid = '${this.$login.f.orgid}'`
603
601
  }
604
- if(this.Pricetype==='机表'){
605
- data.condition=`sp.f_custom = '机表'`
606
- }
607
- if(this.Pricetype==='非机表'){
608
- data.condition=`sp.f_custom = '非机表'`
609
- }
602
+ // if(this.Pricetype==='机表'){
603
+ // data.condition=`sp.f_custom = '机表'`
604
+ // }
605
+ // if(this.Pricetype==='非机表'){
606
+ // data.condition=`sp.f_custom = '非机表'`
607
+ // }
610
608
 
611
609
  if (!isEmpty(f_price_id)) {
612
610
  data.condition = `sp.f_filialeid = '${this.$login.f.orgid}' and sp.f_price_id = ${f_price_id}`
@@ -947,7 +945,7 @@
947
945
  for (const item of this.show_data.fields) {
948
946
  if (this.show_data.f_sprice_type !=null && this.show_data.f_sprice_type !='') {
949
947
  if(item.label==='气价名称'){
950
- this.getPrice(this.show_data.f_price_id).then(value =>{
948
+ this.getPrice().then(value =>{
951
949
  item.options=value
952
950
  })
953
951
  console.log('最终',item.options)
@@ -1087,25 +1085,25 @@
1087
1085
  this.show_data.f_price_name = stairPrice.f_price_name
1088
1086
  },
1089
1087
  // 选择开发商
1090
- async 'devInfoChange' (index) {
1091
- if (isEmpty(this.show_data.f_company_name)) {
1092
- return
1093
- }
1094
- let data = {
1095
- tablename: 't_dev_info',
1096
- condition: `f_orgid = '${this.$login.f.orgid}' and f_dev_name = '${this.show_data.f_company_name}'`
1097
- }
1098
- let res = await this.$resetpost(
1099
- `rs/sql/singleTable`,
1100
- {data: data},
1101
- {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
1102
- )
1103
- this.show_data.f_dev_id = res.data[0].id
1104
- this.show_data.f_dev_code = res.data[0].f_dev_code
1105
- this.setLabelValue('法人名称', res.data[0].f_legal_person)
1106
- this.setLabelValue('身份证', res.data[0].f_idnumber)
1107
- this.setLabelValue('营业执照', res.data[0].f_license_num)
1108
- },
1088
+ // async 'devInfoChange' (index) {
1089
+ // if (isEmpty(this.show_data.f_company_name)) {
1090
+ // return
1091
+ // }
1092
+ // let data = {
1093
+ // tablename: 't_dev_info',
1094
+ // condition: `f_orgid = '${this.$login.f.orgid}' and f_dev_name = '${this.show_data.f_company_name}'`
1095
+ // }
1096
+ // let res = await this.$resetpost(
1097
+ // `rs/sql/singleTable`,
1098
+ // {data: data},
1099
+ // {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
1100
+ // )
1101
+ // this.show_data.f_dev_id = res.data[0].id
1102
+ // this.show_data.f_dev_code = res.data[0].f_dev_code
1103
+ // this.setLabelValue('法人名称', res.data[0].f_legal_person)
1104
+ // this.setLabelValue('身份证', res.data[0].f_idnumber)
1105
+ // this.setLabelValue('营业执照', res.data[0].f_license_num)
1106
+ // },
1109
1107
  // 退款金额
1110
1108
  'refundMoneyChange' (index) {
1111
1109
  let f_cumulative_payment_money = this.show_data.f_cumulative_payment_money
package/ceshi.html DELETED
@@ -1,23 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>ceshi</title>
6
- <script>
7
- //利用函数求1~100的和
8
- //声名函数
9
- function getSum(){
10
- var sum=0;
11
- for( i=1; i<=100; i++){
12
- sum += i;
13
- }
14
- console.log(sum)
15
- }
16
- getSum()
17
-
18
- </script>
19
- </head>
20
- <body>
21
-
22
- </body>
23
- </html>
package/node_modules.7z DELETED
Binary file