sale-client 3.5.12 → 3.5.13

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,117 +1,117 @@
1
- {
2
- "name": "sale-client",
3
- "version": "3.5.12",
4
- "description": "收费模块前台组件",
5
- "main": "src/index.js",
6
- "scripts": {
7
- "example": "node build/example-server.js",
8
- "dev": "node build/dev-server.js",
9
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
10
- "unit": "karma start test/unit/karma.conf.js",
11
- "build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
- "e2e": "node test/e2e/runner.js",
13
- "release": "bash build/release.sh"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "https://gitee.com/aote/product.git"
18
- },
19
- "dependencies": {
20
- "examples": "^0.1.0",
21
- "js-file-download": "0.4.12",
22
- "less-loader": "^2.2.3",
23
- "qrcodejs2": "0.0.2",
24
- "vue": "^1.0.17",
25
- "yarn": "^1.22.10"
26
- },
27
- "devDependencies": {
28
- "address-client": "3.2.29",
29
- "axios": "0.15.3",
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "co": "^4.6.0",
37
- "compression-webpack-plugin": "1.1.2",
38
- "connect-history-api-fallback": "^1.1.0",
39
- "cross-env": "^1.0.7",
40
- "cross-spawn": "^2.1.5",
41
- "css-loader": "^0.23.0",
42
- "echarts": "^4.1.0",
43
- "eslint": "^3.19.0",
44
- "eslint-config-standard": "^10.2.1",
45
- "eslint-friendly-formatter": "^3.0.0",
46
- "eslint-loader": "^1.7.1",
47
- "eslint-plugin-html": "^3.0.0",
48
- "eslint-plugin-import": "^2.7.0",
49
- "eslint-plugin-node": "^5.2.0",
50
- "eslint-plugin-promise": "^3.4.0",
51
- "eslint-plugin-standard": "^3.0.1",
52
- "eventsource-polyfill": "^0.9.6",
53
- "express": "^4.13.3",
54
- "extract-text-webpack-plugin": "^1.0.1",
55
- "file-loader": "^0.8.4",
56
- "filemanager-webpack-plugin": "^2.0.5",
57
- "function-bind": "^1.0.2",
58
- "html-webpack-plugin": "^2.8.1",
59
- "http-proxy-middleware": "^0.11.0",
60
- "inject-loader": "^2.0.1",
61
- "isparta-loader": "^2.0.0",
62
- "jasmine-core": "^2.4.1",
63
- "jquery": "^3.3.1",
64
- "jsencrypt": "3.0.0-rc.1",
65
- "json-loader": "^0.5.4",
66
- "karma": "^1.4.1",
67
- "karma-chrome-launcher": "^2.2.0",
68
- "karma-coverage": "^1.1.1",
69
- "karma-mocha": "^1.3.0",
70
- "karma-sinon-chai": "^1.3.1",
71
- "karma-sourcemap-loader": "^0.3.7",
72
- "karma-spec-reporter": "0.0.31",
73
- "karma-webpack": "^2.0.2",
74
- "ldap-clients": "3.0.7",
75
- "less": "^2.7.3",
76
- "manage-client": "3.1.8-88",
77
- "mkdirp": "^0.5.1",
78
- "mocha": "^3.2.0",
79
- "moment": "2.24.0",
80
- "ncp": "^2.0.0",
81
- "nightwatch": "^0.8.18",
82
- "qrcodejs2": "0.0.2",
83
- "rimraf": "^2.5.0",
84
- "selenium-server": "2.52.0",
85
- "sinon": "^2.1.0",
86
- "sinon-chai": "^2.8.0",
87
- "style": "0.0.3",
88
- "style-loader": "^0.20.3",
89
- "system-clients": "3.2.0-2",
90
- "url-loader": "^0.5.7",
91
- "vue-client": "1.24.55",
92
- "vue-clipboard2": "0.3.1",
93
- "vue-hot-reload-api": "^1.2.0",
94
- "vue-html-loader": "^1.0.0",
95
- "vue-loader": "^8.2.1",
96
- "vue-resource": "^1.5.0",
97
- "vue-router": "^0.7.13",
98
- "vue-strap": "^1.0.9",
99
- "vue-style-loader": "^1.0.0",
100
- "vue-validator": "2.1.7",
101
- "webpack": "^1.12.2",
102
- "webpack-dev-middleware": "^1.4.0",
103
- "webpack-hot-middleware": "^2.6.0",
104
- "webpack-merge": "^0.8.3",
105
- "webpack-parallel-uglify-plugin": "^1.0.0",
106
- "weixin-js-sdk": "^1.2.0"
107
- },
108
- "keywords": [
109
- "selling-clients"
110
- ],
111
- "author": "张桥",
112
- "license": "ISC",
113
- "directories": {
114
- "example": "examples",
115
- "test": "test"
116
- }
117
- }
1
+ {
2
+ "name": "sale-client",
3
+ "version": "3.5.13",
4
+ "description": "收费模块前台组件",
5
+ "main": "src/index.js",
6
+ "scripts": {
7
+ "example": "node build/example-server.js",
8
+ "dev": "node build/dev-server.js",
9
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
10
+ "unit": "karma start test/unit/karma.conf.js",
11
+ "build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
+ "e2e": "node test/e2e/runner.js",
13
+ "release": "bash build/release.sh"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://gitee.com/aote/product.git"
18
+ },
19
+ "dependencies": {
20
+ "examples": "^0.1.0",
21
+ "js-file-download": "0.4.12",
22
+ "less-loader": "^2.2.3",
23
+ "qrcodejs2": "0.0.2",
24
+ "vue": "^1.0.17",
25
+ "yarn": "^1.22.10"
26
+ },
27
+ "devDependencies": {
28
+ "address-client": "3.2.29",
29
+ "axios": "0.15.3",
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "co": "^4.6.0",
37
+ "compression-webpack-plugin": "1.1.2",
38
+ "connect-history-api-fallback": "^1.1.0",
39
+ "cross-env": "^1.0.7",
40
+ "cross-spawn": "^2.1.5",
41
+ "css-loader": "^0.23.0",
42
+ "echarts": "^4.1.0",
43
+ "eslint": "^3.19.0",
44
+ "eslint-config-standard": "^10.2.1",
45
+ "eslint-friendly-formatter": "^3.0.0",
46
+ "eslint-loader": "^1.7.1",
47
+ "eslint-plugin-html": "^3.0.0",
48
+ "eslint-plugin-import": "^2.7.0",
49
+ "eslint-plugin-node": "^5.2.0",
50
+ "eslint-plugin-promise": "^3.4.0",
51
+ "eslint-plugin-standard": "^3.0.1",
52
+ "eventsource-polyfill": "^0.9.6",
53
+ "express": "^4.13.3",
54
+ "extract-text-webpack-plugin": "^1.0.1",
55
+ "file-loader": "^0.8.4",
56
+ "filemanager-webpack-plugin": "^2.0.5",
57
+ "function-bind": "^1.0.2",
58
+ "html-webpack-plugin": "^2.8.1",
59
+ "http-proxy-middleware": "^0.11.0",
60
+ "inject-loader": "^2.0.1",
61
+ "isparta-loader": "^2.0.0",
62
+ "jasmine-core": "^2.4.1",
63
+ "jquery": "^3.3.1",
64
+ "jsencrypt": "3.0.0-rc.1",
65
+ "json-loader": "^0.5.4",
66
+ "karma": "^1.4.1",
67
+ "karma-chrome-launcher": "^2.2.0",
68
+ "karma-coverage": "^1.1.1",
69
+ "karma-mocha": "^1.3.0",
70
+ "karma-sinon-chai": "^1.3.1",
71
+ "karma-sourcemap-loader": "^0.3.7",
72
+ "karma-spec-reporter": "0.0.31",
73
+ "karma-webpack": "^2.0.2",
74
+ "ldap-clients": "3.0.7",
75
+ "less": "^2.7.3",
76
+ "manage-client": "3.1.8-88",
77
+ "mkdirp": "^0.5.1",
78
+ "mocha": "^3.2.0",
79
+ "moment": "2.24.0",
80
+ "ncp": "^2.0.0",
81
+ "nightwatch": "^0.8.18",
82
+ "qrcodejs2": "0.0.2",
83
+ "rimraf": "^2.5.0",
84
+ "selenium-server": "2.52.0",
85
+ "sinon": "^2.1.0",
86
+ "sinon-chai": "^2.8.0",
87
+ "style": "0.0.3",
88
+ "style-loader": "^0.20.3",
89
+ "system-clients": "3.2.6-1",
90
+ "url-loader": "^0.5.7",
91
+ "vue-client": "1.24.55",
92
+ "vue-clipboard2": "0.3.1",
93
+ "vue-hot-reload-api": "^1.2.0",
94
+ "vue-html-loader": "^1.0.0",
95
+ "vue-loader": "^8.2.1",
96
+ "vue-resource": "^1.5.0",
97
+ "vue-router": "^0.7.13",
98
+ "vue-strap": "^1.0.9",
99
+ "vue-style-loader": "^1.0.0",
100
+ "vue-validator": "2.1.7",
101
+ "webpack": "^1.12.2",
102
+ "webpack-dev-middleware": "^1.4.0",
103
+ "webpack-hot-middleware": "^2.6.0",
104
+ "webpack-merge": "^0.8.3",
105
+ "webpack-parallel-uglify-plugin": "^1.0.0",
106
+ "weixin-js-sdk": "^1.2.0"
107
+ },
108
+ "keywords": [
109
+ "selling-clients"
110
+ ],
111
+ "author": "张桥",
112
+ "license": "ISC",
113
+ "directories": {
114
+ "example": "examples",
115
+ "test": "test"
116
+ }
117
+ }
@@ -4,7 +4,7 @@
4
4
  <criteria-paged :model="model" v-ref:paged @sort="sort">
5
5
  <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <modal :show.sync="$parent.$parent.upshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
7
+ ohu
8
8
  <article slot="modal-body" class="modal-body">
9
9
  <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success"
10
10
  style="border-radius: 2px;"
@@ -55,6 +55,8 @@
55
55
  <button class="button_search button_spacing" @click="$parent.$parent.search()">查询</button>
56
56
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
57
57
  <button class="button_delete button_spacing" @click="$parent.$parent.deletehand()">删除抄表</button>
58
+ <button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载
59
+ </button>
58
60
  <button class="button_search button_spacing" @click="$parent.$parent.clickupshow()">导入抄表</button>
59
61
 
60
62
  <export-excel
@@ -853,6 +855,19 @@
853
855
  document.getElementById(this.inputid).focus()
854
856
  },
855
857
  methods: {
858
+ downloadFiles(){
859
+ let downurl='rs/downloadfile/file?filename=机表抄表导入Excel模板';
860
+ this.$resetget(downurl,{}).then(res=>{
861
+ var link = document.createElement('a');
862
+ link.target="_blank"
863
+ link.href =downurl ;
864
+ link.setAttribute("download", "机表抄表导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
865
+ document.body.appendChild(link);
866
+ link.click();
867
+ })
868
+
869
+
870
+ },
856
871
  calculationBase (row) {
857
872
  let oughtamount = null
858
873
  if (row.f_tablebase) {