safecheck-client 4.0.0-64 → 4.0.0-66
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 +132 -132
- package/src/components/NewDefectList/DefectListNew.vue +12 -12
- package/src/components/NewDefectList/DefectPaperNew.vue +28 -8
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +4 -4
- package/src/components/paper/PaperList.vue +32 -5
- package/src/components/planmanage/PlanManage.vue +14 -7
- package/src/components/planmanage/checkUserList.vue +21 -16
- package/src/components/querycheckpaper/CheckSearchUser.vue +30 -4
- package/src/components/report/CheckPlanAreaList.vue +10 -4
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +511 -0
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
- package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
- package/src/filiale/jinhong/pc/PaperList.vue +823 -0
- package/src/filiale/jinhong/pc/PlanManage.vue +891 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +778 -0
- package/src/filiale/jinhong/pc.js +11 -0
- package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
- package/src/filiale/meihekou/android.js +1 -0
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1870 -1876
- package/src/main.js +1 -1
package/package.json
CHANGED
@@ -1,132 +1,132 @@
|
|
1
|
-
{
|
2
|
-
"name": "safecheck-client",
|
3
|
-
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "4.0.0-
|
5
|
-
"description": "安检模块 前端组件",
|
6
|
-
"author": "丁新 <417755458@qq.com>",
|
7
|
-
"license": "ISC",
|
8
|
-
"main": "src/index.js",
|
9
|
-
"keywords": [
|
10
|
-
"safecheck"
|
11
|
-
],
|
12
|
-
"scripts": {
|
13
|
-
"example": "node build/example-server.js",
|
14
|
-
"dev": "webpack-dev-server --config ./build/dev-server.js",
|
15
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
16
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/safecheck && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
17
|
-
"hanwei": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.hanwei.conf.js",
|
18
|
-
"android": "node build/dev-android.js",
|
19
|
-
"unit": "karma start test/unit/karma.conf.js --single-run",
|
20
|
-
"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 && publish",
|
21
|
-
"e2e": "node test/e2e/runner.js",
|
22
|
-
"release": "bash build/release.sh",
|
23
|
-
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit"
|
24
|
-
},
|
25
|
-
"repository": {
|
26
|
-
"type": "git",
|
27
|
-
"url": "https://gitee.com/aote/product-hujiao"
|
28
|
-
},
|
29
|
-
"dependencies": {
|
30
|
-
"axios": "^0.27.2",
|
31
|
-
"benz-amr-recorder": "^1.1.3",
|
32
|
-
"browserslist": "^4.21.4",
|
33
|
-
"crypto-js": "^4.2.0",
|
34
|
-
"html2canvas": "^1.1.4",
|
35
|
-
"html2pdf.js": "^0.10.1",
|
36
|
-
"jspdf": "^2.3.1",
|
37
|
-
"less": "^4.2.0",
|
38
|
-
"mint-ui": "^1.0.2",
|
39
|
-
"node-libs-browser": "^2.2.1",
|
40
|
-
"pretty-error": "^4.0.0",
|
41
|
-
"vue": "^1.0.17",
|
42
|
-
"wavesurfer.js": "^3.3.3",
|
43
|
-
"xlsx": "^0.17.3"
|
44
|
-
},
|
45
|
-
"devDependencies": {
|
46
|
-
"babel-core": "^6.26.0",
|
47
|
-
"babel-loader": "^7.0.0",
|
48
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
49
|
-
"babel-preset-es2015": "^6.0.0",
|
50
|
-
"babel-preset-stage-2": "^6.0.0",
|
51
|
-
"chai": "^3.5.0",
|
52
|
-
"compression-webpack-plugin": "^1.1.2",
|
53
|
-
"connect-history-api-fallback": "^1.1.0",
|
54
|
-
"cross-env": "^1.0.7",
|
55
|
-
"cross-spawn": "^2.1.5",
|
56
|
-
"css-loader": "^0.23.0",
|
57
|
-
"echarts": "^4.1.0",
|
58
|
-
"eslint": "^2.0.0",
|
59
|
-
"eslint-config-standard": "^5.1.0",
|
60
|
-
"eslint-friendly-formatter": "^1.2.2",
|
61
|
-
"eslint-loader": "^1.3.0",
|
62
|
-
"eslint-plugin-html": "^1.3.0",
|
63
|
-
"eslint-plugin-promise": "^1.0.8",
|
64
|
-
"eslint-plugin-standard": "^1.3.2",
|
65
|
-
"eslint-plugin-vue": "^0.1.1",
|
66
|
-
"eventsource-polyfill": "^0.9.6",
|
67
|
-
"express": "^4.13.3",
|
68
|
-
"extract-text-webpack-plugin": "^3.0.2",
|
69
|
-
"file-loader": "^0.8.4",
|
70
|
-
"function-bind": "^1.0.2",
|
71
|
-
"html-webpack-plugin": "^2.30.1",
|
72
|
-
"http-proxy-middleware": "^0.11.0",
|
73
|
-
"increase-memory-limit": "^1.0.7",
|
74
|
-
"inject-loader": "^2.0.1",
|
75
|
-
"isparta-loader": "^2.0.0",
|
76
|
-
"jasmine-core": "^2.4.1",
|
77
|
-
"jquery": "^3.3.1",
|
78
|
-
"jsencrypt": "3.0.0-rc.1",
|
79
|
-
"json-loader": "^0.5.4",
|
80
|
-
"karma": "^1.4.1",
|
81
|
-
"karma-chrome-launcher": "^2.2.0",
|
82
|
-
"karma-coverage": "^1.1.1",
|
83
|
-
"karma-mocha": "^1.3.0",
|
84
|
-
"karma-phantomjs-launcher": "^1.0.2",
|
85
|
-
"karma-phantomjs-shim": "^1.4.0",
|
86
|
-
"karma-sinon-chai": "^1.3.1",
|
87
|
-
"karma-sourcemap-loader": "^0.3.7",
|
88
|
-
"karma-spec-reporter": "0.0.31",
|
89
|
-
"karma-webpack": "^2.0.2",
|
90
|
-
"less-loader": "^2.2.3",
|
91
|
-
"lolex": "^1.5.2",
|
92
|
-
"mkdirp": "^0.5.1",
|
93
|
-
"mocha": "^3.2.0",
|
94
|
-
"ncp": "^2.0.0",
|
95
|
-
"nightwatch": "^0.8.18",
|
96
|
-
"ol": "^4.6.4",
|
97
|
-
"phantomjs-prebuilt": "^2.1.3",
|
98
|
-
"proj4": "^2.2.1",
|
99
|
-
"rimraf": "^2.5.0",
|
100
|
-
"selenium-server": "2.52.0",
|
101
|
-
"sinon": "^2.1.0",
|
102
|
-
"sinon-chai": "^2.8.0",
|
103
|
-
"style": "0.0.3",
|
104
|
-
"style-loader": "^0.20.3",
|
105
|
-
"system-clients": "
|
106
|
-
"system-phone": "1.2.100",
|
107
|
-
"telephone-clients": "1.1.27",
|
108
|
-
"terser-webpack-plugin-legacy": "^1.2.5",
|
109
|
-
"url-loader": "^0.5.7",
|
110
|
-
"vue-amap": "0.5.10",
|
111
|
-
"vue-client": "1.25.
|
112
|
-
"vue-hot-reload-api": "^1.2.0",
|
113
|
-
"vue-html-loader": "^1.0.0",
|
114
|
-
"vue-loader": "^8.2.1",
|
115
|
-
"vue-resource": "^1.5.0",
|
116
|
-
"vue-router": "^0.7.13",
|
117
|
-
"vue-strap": "^1.0.9",
|
118
|
-
"vue-style-loader": "^1.0.0",
|
119
|
-
"vue-validator": "2.1.7",
|
120
|
-
"webpack": "^3.12.0",
|
121
|
-
"webpack-dev-middleware": "^1.4.0",
|
122
|
-
"webpack-dev-server": "^2.9.7",
|
123
|
-
"webpack-hot-middleware": "^2.6.0",
|
124
|
-
"webpack-merge": "^0.8.3",
|
125
|
-
"weixin-js-sdk": "^1.2.0"
|
126
|
-
},
|
127
|
-
"directories": {
|
128
|
-
"doc": "docs",
|
129
|
-
"example": "examples",
|
130
|
-
"test": "test"
|
131
|
-
}
|
132
|
-
}
|
1
|
+
{
|
2
|
+
"name": "safecheck-client",
|
3
|
+
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
+
"version": "4.0.0-66",
|
5
|
+
"description": "安检模块 前端组件",
|
6
|
+
"author": "丁新 <417755458@qq.com>",
|
7
|
+
"license": "ISC",
|
8
|
+
"main": "src/index.js",
|
9
|
+
"keywords": [
|
10
|
+
"safecheck"
|
11
|
+
],
|
12
|
+
"scripts": {
|
13
|
+
"example": "node build/example-server.js",
|
14
|
+
"dev": "webpack-dev-server --config ./build/dev-server.js",
|
15
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
16
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/safecheck && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
17
|
+
"hanwei": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.hanwei.conf.js",
|
18
|
+
"android": "node build/dev-android.js",
|
19
|
+
"unit": "karma start test/unit/karma.conf.js --single-run",
|
20
|
+
"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 && publish",
|
21
|
+
"e2e": "node test/e2e/runner.js",
|
22
|
+
"release": "bash build/release.sh",
|
23
|
+
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit"
|
24
|
+
},
|
25
|
+
"repository": {
|
26
|
+
"type": "git",
|
27
|
+
"url": "https://gitee.com/aote/product-hujiao"
|
28
|
+
},
|
29
|
+
"dependencies": {
|
30
|
+
"axios": "^0.27.2",
|
31
|
+
"benz-amr-recorder": "^1.1.3",
|
32
|
+
"browserslist": "^4.21.4",
|
33
|
+
"crypto-js": "^4.2.0",
|
34
|
+
"html2canvas": "^1.1.4",
|
35
|
+
"html2pdf.js": "^0.10.1",
|
36
|
+
"jspdf": "^2.3.1",
|
37
|
+
"less": "^4.2.0",
|
38
|
+
"mint-ui": "^1.0.2",
|
39
|
+
"node-libs-browser": "^2.2.1",
|
40
|
+
"pretty-error": "^4.0.0",
|
41
|
+
"vue": "^1.0.17",
|
42
|
+
"wavesurfer.js": "^3.3.3",
|
43
|
+
"xlsx": "^0.17.3"
|
44
|
+
},
|
45
|
+
"devDependencies": {
|
46
|
+
"babel-core": "^6.26.0",
|
47
|
+
"babel-loader": "^7.0.0",
|
48
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
49
|
+
"babel-preset-es2015": "^6.0.0",
|
50
|
+
"babel-preset-stage-2": "^6.0.0",
|
51
|
+
"chai": "^3.5.0",
|
52
|
+
"compression-webpack-plugin": "^1.1.2",
|
53
|
+
"connect-history-api-fallback": "^1.1.0",
|
54
|
+
"cross-env": "^1.0.7",
|
55
|
+
"cross-spawn": "^2.1.5",
|
56
|
+
"css-loader": "^0.23.0",
|
57
|
+
"echarts": "^4.1.0",
|
58
|
+
"eslint": "^2.0.0",
|
59
|
+
"eslint-config-standard": "^5.1.0",
|
60
|
+
"eslint-friendly-formatter": "^1.2.2",
|
61
|
+
"eslint-loader": "^1.3.0",
|
62
|
+
"eslint-plugin-html": "^1.3.0",
|
63
|
+
"eslint-plugin-promise": "^1.0.8",
|
64
|
+
"eslint-plugin-standard": "^1.3.2",
|
65
|
+
"eslint-plugin-vue": "^0.1.1",
|
66
|
+
"eventsource-polyfill": "^0.9.6",
|
67
|
+
"express": "^4.13.3",
|
68
|
+
"extract-text-webpack-plugin": "^3.0.2",
|
69
|
+
"file-loader": "^0.8.4",
|
70
|
+
"function-bind": "^1.0.2",
|
71
|
+
"html-webpack-plugin": "^2.30.1",
|
72
|
+
"http-proxy-middleware": "^0.11.0",
|
73
|
+
"increase-memory-limit": "^1.0.7",
|
74
|
+
"inject-loader": "^2.0.1",
|
75
|
+
"isparta-loader": "^2.0.0",
|
76
|
+
"jasmine-core": "^2.4.1",
|
77
|
+
"jquery": "^3.3.1",
|
78
|
+
"jsencrypt": "3.0.0-rc.1",
|
79
|
+
"json-loader": "^0.5.4",
|
80
|
+
"karma": "^1.4.1",
|
81
|
+
"karma-chrome-launcher": "^2.2.0",
|
82
|
+
"karma-coverage": "^1.1.1",
|
83
|
+
"karma-mocha": "^1.3.0",
|
84
|
+
"karma-phantomjs-launcher": "^1.0.2",
|
85
|
+
"karma-phantomjs-shim": "^1.4.0",
|
86
|
+
"karma-sinon-chai": "^1.3.1",
|
87
|
+
"karma-sourcemap-loader": "^0.3.7",
|
88
|
+
"karma-spec-reporter": "0.0.31",
|
89
|
+
"karma-webpack": "^2.0.2",
|
90
|
+
"less-loader": "^2.2.3",
|
91
|
+
"lolex": "^1.5.2",
|
92
|
+
"mkdirp": "^0.5.1",
|
93
|
+
"mocha": "^3.2.0",
|
94
|
+
"ncp": "^2.0.0",
|
95
|
+
"nightwatch": "^0.8.18",
|
96
|
+
"ol": "^4.6.4",
|
97
|
+
"phantomjs-prebuilt": "^2.1.3",
|
98
|
+
"proj4": "^2.2.1",
|
99
|
+
"rimraf": "^2.5.0",
|
100
|
+
"selenium-server": "2.52.0",
|
101
|
+
"sinon": "^2.1.0",
|
102
|
+
"sinon-chai": "^2.8.0",
|
103
|
+
"style": "0.0.3",
|
104
|
+
"style-loader": "^0.20.3",
|
105
|
+
"system-clients": "^4.0.5",
|
106
|
+
"system-phone": "1.2.100",
|
107
|
+
"telephone-clients": "1.1.27",
|
108
|
+
"terser-webpack-plugin-legacy": "^1.2.5",
|
109
|
+
"url-loader": "^0.5.7",
|
110
|
+
"vue-amap": "0.5.10",
|
111
|
+
"vue-client": "1.25.31",
|
112
|
+
"vue-hot-reload-api": "^1.2.0",
|
113
|
+
"vue-html-loader": "^1.0.0",
|
114
|
+
"vue-loader": "^8.2.1",
|
115
|
+
"vue-resource": "^1.5.0",
|
116
|
+
"vue-router": "^0.7.13",
|
117
|
+
"vue-strap": "^1.0.9",
|
118
|
+
"vue-style-loader": "^1.0.0",
|
119
|
+
"vue-validator": "2.1.7",
|
120
|
+
"webpack": "^3.12.0",
|
121
|
+
"webpack-dev-middleware": "^1.4.0",
|
122
|
+
"webpack-dev-server": "^2.9.7",
|
123
|
+
"webpack-hot-middleware": "^2.6.0",
|
124
|
+
"webpack-merge": "^0.8.3",
|
125
|
+
"weixin-js-sdk": "^1.2.0"
|
126
|
+
},
|
127
|
+
"directories": {
|
128
|
+
"doc": "docs",
|
129
|
+
"example": "examples",
|
130
|
+
"test": "test"
|
131
|
+
}
|
132
|
+
}
|
@@ -147,19 +147,19 @@
|
|
147
147
|
</div>
|
148
148
|
<div class="col-sm-12" style="margin-bottom: 10px" v-if="solveModal.preData.defectImg">
|
149
149
|
<label class="font_normal_body">隐患图片</label>
|
150
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg"></img-self>
|
150
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.defectImg"></img-self-plus>
|
151
151
|
</div>
|
152
152
|
<div class="col-sm-12" style="margin-bottom: 10px" v-show="solveModal.preData.defectImg1">
|
153
153
|
<label class="font_normal_body">隐患图片</label>
|
154
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg1"></img-self>
|
154
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.defectImg1"></img-self-plus>
|
155
155
|
</div>
|
156
156
|
<div class="col-sm-12" style="margin-bottom: 10px" v-show="solveModal.preData.defectImg2">
|
157
157
|
<label class="font_normal_body">隐患图片</label>
|
158
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg2"></img-self>
|
158
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.defectImg2"></img-self-plus>
|
159
159
|
</div>
|
160
160
|
<div class="col-sm-12" style="margin-bottom: 10px" v-show="solveModal.preData.defectImg3">
|
161
161
|
<label class="font_normal_body">隐患图片</label>
|
162
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg3"></img-self>
|
162
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.defectImg3"></img-self-plus>
|
163
163
|
</div>
|
164
164
|
|
165
165
|
<div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left" v-show="solveModal.preData.state == '已处理' || solveModal.preData.type != 'solve'">
|
@@ -205,28 +205,28 @@
|
|
205
205
|
<div class="col-sm-12">
|
206
206
|
<div class="col-sm-6" v-for="item in fileInfoData">
|
207
207
|
<!-- <img :src="item.f_downloadURL">-->
|
208
|
-
<img-self :width="200" :height="200" :src="item.f_downloadURL" style="margin-left: 10px"></img-self>
|
208
|
+
<img-self-plus :width="200" :height="200" :src="item.f_downloadURL" style="margin-left: 10px"></img-self-plus>
|
209
209
|
</div>
|
210
210
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg">
|
211
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg" style="margin-left: 10px"></img-self>
|
211
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg" style="margin-left: 10px"></img-self-plus>
|
212
212
|
</div>
|
213
213
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg1">
|
214
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg1" style="margin-left: 10px"></img-self>
|
214
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg1" style="margin-left: 10px"></img-self-plus>
|
215
215
|
</div>
|
216
216
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg2">
|
217
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self>
|
217
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self-plus>
|
218
218
|
</div>
|
219
219
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg2">
|
220
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self>
|
220
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self-plus>
|
221
221
|
</div>
|
222
222
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg3">
|
223
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg3" style="margin-left: 10px"></img-self>
|
223
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg3" style="margin-left: 10px"></img-self-plus>
|
224
224
|
</div>
|
225
225
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg4">
|
226
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg4" style="margin-left: 10px"></img-self>
|
226
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg4" style="margin-left: 10px"></img-self-plus>
|
227
227
|
</div>
|
228
228
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg5">
|
229
|
-
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg5" style="margin-left: 10px"></img-self>
|
229
|
+
<img-self-plus :width="200" :height="200" :src="solveModal.preData.repairedImg5" style="margin-left: 10px"></img-self-plus>
|
230
230
|
</div>
|
231
231
|
|
232
232
|
</div>
|
@@ -99,14 +99,14 @@
|
|
99
99
|
</div>
|
100
100
|
|
101
101
|
<div :class="$parent.$parent.style">
|
102
|
-
<label class="font_normal_body"
|
102
|
+
<label class="font_normal_body">安检册</label>
|
103
103
|
<v-select class="select_list select"
|
104
|
-
placeholder='
|
104
|
+
placeholder='安检册' style="width: 60%"
|
105
105
|
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
106
|
-
:options='$parent.$parent.
|
106
|
+
:options='$parent.$parent.checkBooks'
|
107
107
|
filer-key="name"
|
108
108
|
close-on-select clear-button
|
109
|
-
condition="
|
109
|
+
condition="f_check_book_name like '%{}%'"
|
110
110
|
:value-single="true">
|
111
111
|
</v-select>
|
112
112
|
</div>
|
@@ -258,14 +258,14 @@
|
|
258
258
|
</v-select>
|
259
259
|
</div>
|
260
260
|
<div :class="$parent.$parent.style">
|
261
|
-
<label class="font_normal_body"
|
261
|
+
<label class="font_normal_body">安检册</label>
|
262
262
|
<v-select class="select_list select"
|
263
|
-
placeholder='
|
263
|
+
placeholder='安检册' style="width: 60%"
|
264
264
|
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
265
|
-
:options='$parent.$parent.
|
265
|
+
:options='$parent.$parent.checkBooks'
|
266
266
|
filer-key="name"
|
267
267
|
close-on-select clear-button
|
268
|
-
condition="
|
268
|
+
condition="f_check_book_name like '%{}%'"
|
269
269
|
:value-single="true">
|
270
270
|
</v-select>
|
271
271
|
</div>
|
@@ -521,6 +521,7 @@ export default {
|
|
521
521
|
sliceArea: [],
|
522
522
|
callSends:[],
|
523
523
|
cbc:[],
|
524
|
+
checkBooks:[],
|
524
525
|
repairedOptions:[{label: '全部', value: ''},{label: '已修', value: '已修'}, {label: '未修', value: '未修'}],
|
525
526
|
repairers:[],
|
526
527
|
cbcs:[],
|
@@ -542,6 +543,25 @@ export default {
|
|
542
543
|
},
|
543
544
|
|
544
545
|
methods: {
|
546
|
+
getCheckBook(){
|
547
|
+
this.checkBooks=[]
|
548
|
+
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
549
|
+
data: {
|
550
|
+
items: 'id,f_check_book_name,f_check_book_type',
|
551
|
+
tablename: 't_check_book',
|
552
|
+
condition: `f_orgid = '${this.$login.f.orgid}'`,
|
553
|
+
orderitem: 'id desc'
|
554
|
+
}
|
555
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
556
|
+
this.checkBooks.push({label: '全部', value: ''})
|
557
|
+
res.data.forEach(ress => {
|
558
|
+
this.checkBooks.push({
|
559
|
+
label: ress.f_check_book_name,
|
560
|
+
value: ress.f_check_book_name
|
561
|
+
})
|
562
|
+
})
|
563
|
+
})
|
564
|
+
},
|
545
565
|
getSiteRes(obj) {
|
546
566
|
console.log('siteRes ---> ')
|
547
567
|
console.log(obj)
|
@@ -165,14 +165,15 @@ export default {
|
|
165
165
|
ready() {
|
166
166
|
new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
167
167
|
data: {
|
168
|
-
|
169
|
-
|
170
|
-
|
168
|
+
items: 'tu.*,uf.f_userfiles_id',
|
169
|
+
tablename: 't_userinfo tu left join t_userfiles uf on tu.f_userinfo_id = uf.f_userinfo_id',
|
170
|
+
condition: `tu.f_userinfo_id = '${this.model.f_userinfo_id}' and uf.f_table_state in ('停用','正常')`,
|
171
171
|
orderitem: '1'
|
172
172
|
}
|
173
173
|
}).then(response => {
|
174
174
|
this.model = Object.assign({}, this.model, response.data[0])
|
175
175
|
this.model.f_last_insexpiration_date = response.data[0].f_ins_stop_date
|
176
|
+
this.model.f_total_ins_charge = response.data[0].f_total_ins_charge || 0
|
176
177
|
})
|
177
178
|
this.model.f_money = ''
|
178
179
|
this.model.f_fee_type = ''
|
@@ -202,7 +203,6 @@ export default {
|
|
202
203
|
}
|
203
204
|
let commit_data = this.model
|
204
205
|
commit_data.f_buy_date = this.create_date
|
205
|
-
commit_data.f_total_ins_charge = ''
|
206
206
|
commit_data.f_operatorid = Vue.user.id
|
207
207
|
commit_data.f_operator = Vue.user.name
|
208
208
|
commit_data.f_operate_date = Util.toStandardDateString()
|
@@ -139,14 +139,14 @@
|
|
139
139
|
</v-select>
|
140
140
|
</div>
|
141
141
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
142
|
-
<label class="font_normal_body"
|
142
|
+
<label class="font_normal_body">安检册</label>
|
143
143
|
<v-select class="select_list select"
|
144
|
-
placeholder='
|
144
|
+
placeholder='安检册' style="width: 60%"
|
145
145
|
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
146
|
-
:options='$parent.$parent.
|
146
|
+
:options='$parent.$parent.checkBooks'
|
147
147
|
filer-key="name"
|
148
148
|
close-on-select clear-button
|
149
|
-
condition="
|
149
|
+
condition="f_check_book_name like '%{}%'"
|
150
150
|
:value-single="true">
|
151
151
|
</v-select>
|
152
152
|
</div>
|
@@ -519,7 +519,8 @@ export default {
|
|
519
519
|
f_offsite_time: 'no'
|
520
520
|
},
|
521
521
|
sliceArea: [],
|
522
|
-
cbc:[]
|
522
|
+
cbc:[],
|
523
|
+
checkBooks:[]
|
523
524
|
}
|
524
525
|
},
|
525
526
|
created() {
|
@@ -528,12 +529,38 @@ export default {
|
|
528
529
|
console.log('收到审核状态变更事件')
|
529
530
|
this.refresh()
|
530
531
|
})
|
532
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
533
|
+
this.getCheckBook()
|
531
534
|
},
|
532
535
|
beforeDestroy() {
|
533
536
|
// 记得在组件销毁前移除事件监听
|
534
537
|
this.$root.$off('audit-status-changed')
|
535
538
|
},
|
536
539
|
methods: {
|
540
|
+
handleEnter(e) {
|
541
|
+
if (e.key === 'Enter') {
|
542
|
+
this.$refs.paged.$refs.criteria.search()
|
543
|
+
}
|
544
|
+
},
|
545
|
+
getCheckBook(){
|
546
|
+
this.checkBooks=[]
|
547
|
+
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
548
|
+
data: {
|
549
|
+
items: 'id,f_check_book_name,f_check_book_type',
|
550
|
+
tablename: 't_check_book',
|
551
|
+
condition: `f_orgid = '${this.$login.f.orgid}'`,
|
552
|
+
orderitem: 'id desc'
|
553
|
+
}
|
554
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
555
|
+
this.checkBooks.push({label: '全部', value: ''})
|
556
|
+
res.data.forEach(ress => {
|
557
|
+
this.checkBooks.push({
|
558
|
+
label: ress.f_check_book_name,
|
559
|
+
value: ress.f_check_book_name
|
560
|
+
})
|
561
|
+
})
|
562
|
+
})
|
563
|
+
},
|
537
564
|
showback1(){
|
538
565
|
this.showinfo1 = true
|
539
566
|
this.showinfo2 = false
|
@@ -320,7 +320,7 @@
|
|
320
320
|
:search="false"
|
321
321
|
:value="upCheckPlan.f_plan_year"
|
322
322
|
:options='yearList'
|
323
|
-
|
323
|
+
:disabled="true"
|
324
324
|
close-on-select
|
325
325
|
value-single>
|
326
326
|
|
@@ -342,7 +342,7 @@
|
|
342
342
|
class="select select_list"
|
343
343
|
:value.sync="upCheckPlan.f_plan_month"
|
344
344
|
v-model="upCheckPlan.f_plan_month"
|
345
|
-
|
345
|
+
:disabled="true"
|
346
346
|
:options='monthList'
|
347
347
|
close-on-select
|
348
348
|
value-single>
|
@@ -357,6 +357,7 @@
|
|
357
357
|
v-model="upCheckPlan.isShare"
|
358
358
|
:options='isAndNot'
|
359
359
|
placeholder='请选择'
|
360
|
+
:disabled="true"
|
360
361
|
close-on-select
|
361
362
|
value-single
|
362
363
|
>
|
@@ -395,6 +396,7 @@
|
|
395
396
|
v-model="upCheckPlan.f_safecheck_type"
|
396
397
|
:options='ntoway'
|
397
398
|
close-on-select
|
399
|
+
:disabled="true"
|
398
400
|
value-single
|
399
401
|
>
|
400
402
|
</v-select>
|
@@ -480,6 +482,7 @@
|
|
480
482
|
}
|
481
483
|
},
|
482
484
|
async ready(){
|
485
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
483
486
|
await this.loadpage()
|
484
487
|
if (!this.userlogin.orgid){
|
485
488
|
if (this.$login.f.f_orgids){
|
@@ -496,6 +499,13 @@
|
|
496
499
|
}
|
497
500
|
},
|
498
501
|
methods:{
|
502
|
+
handleEnter(e) {
|
503
|
+
if (e.key === 'Enter') {
|
504
|
+
this.loadCheckPlan();
|
505
|
+
this.$refs.item.model.search()
|
506
|
+
this.$refs.user.model.search()
|
507
|
+
}
|
508
|
+
},
|
499
509
|
/* ntoway() {
|
500
510
|
/!* return AppData.getParam('安检类型')*!/
|
501
511
|
return Vue.$appdata.getParam('安检类型')
|
@@ -693,10 +703,6 @@
|
|
693
703
|
this.showUpPlan=true
|
694
704
|
},
|
695
705
|
async upPlan(){
|
696
|
-
if(this.upCheckPlan.f_issued=='已下发'){
|
697
|
-
this.$showMessage("该计划已下发,无法进行修改!")
|
698
|
-
return
|
699
|
-
}
|
700
706
|
if(!this.upCheckPlan.f_plan_name){
|
701
707
|
Vue.showMessage("请输入安检计划名称!")
|
702
708
|
return false
|
@@ -735,7 +741,8 @@
|
|
735
741
|
f_plan_name:this.upCheckPlan.f_plan_name,
|
736
742
|
f_plan_year:this.upCheckPlan.f_plan_year,
|
737
743
|
f_plan_month:this.upCheckPlan.f_plan_month,
|
738
|
-
f_plan_id:this.upCheckPlan.id
|
744
|
+
f_plan_id:this.upCheckPlan.id,
|
745
|
+
issued:'否'
|
739
746
|
}
|
740
747
|
}, {resolveMsg: null, rejectMsg: null})
|
741
748
|
if(res.data.code==200){
|
@@ -196,20 +196,20 @@
|
|
196
196
|
>
|
197
197
|
</v-select>
|
198
198
|
</div>
|
199
|
-
<div class="form-group col-sm-4"
|
200
|
-
<label class="font_normal_body">抄 表 册:</label
|
201
|
-
<v-select
|
202
|
-
class="select select_list"
|
203
|
-
:value.sync="model.f_meter_book_num"
|
204
|
-
v-model="model.f_meter_book_num"
|
205
|
-
:options='$parent.$parent.cbc'
|
206
|
-
placeholder='请选择'
|
207
|
-
condition="uf.f_meter_book_num='{}'"
|
208
|
-
close-on-select
|
209
|
-
value-single
|
210
|
-
|
211
|
-
</v-select
|
212
|
-
</div
|
199
|
+
<!-- <div class="form-group col-sm-4" >-->
|
200
|
+
<!-- <label class="font_normal_body">抄 表 册:</label>-->
|
201
|
+
<!-- <v-select-->
|
202
|
+
<!-- class="select select_list"-->
|
203
|
+
<!-- :value.sync="model.f_meter_book_num"-->
|
204
|
+
<!-- v-model="model.f_meter_book_num"-->
|
205
|
+
<!-- :options='$parent.$parent.cbc'-->
|
206
|
+
<!-- placeholder='请选择'-->
|
207
|
+
<!-- condition="uf.f_meter_book_num='{}'"-->
|
208
|
+
<!-- close-on-select-->
|
209
|
+
<!-- value-single-->
|
210
|
+
<!-- >-->
|
211
|
+
<!-- </v-select>-->
|
212
|
+
<!-- </div>-->
|
213
213
|
<div class="form-group col-sm-4" >
|
214
214
|
<label class="font_normal_body">派发情况:</label>
|
215
215
|
<v-select
|
@@ -265,7 +265,7 @@
|
|
265
265
|
>
|
266
266
|
</v-select>
|
267
267
|
</div>
|
268
|
-
<div class="form-group col-sm-4"
|
268
|
+
<div class="form-group col-sm-4">
|
269
269
|
<label class="font_normal_body">安检册:</label>
|
270
270
|
<v-select
|
271
271
|
class="select select_list"
|
@@ -445,9 +445,14 @@
|
|
445
445
|
this.getCheckBook()
|
446
446
|
this.setConList()
|
447
447
|
this.loadpage()
|
448
|
-
|
448
|
+
document.addEventListener('keydown', this.handleEnter, true);
|
449
449
|
},
|
450
450
|
methods: {
|
451
|
+
handleEnter(e) {
|
452
|
+
if (e.key === 'Enter') {
|
453
|
+
this.$refs.paged.$refs.criteria.search()
|
454
|
+
}
|
455
|
+
},
|
451
456
|
getCheckBook(){
|
452
457
|
this.checkBooks=[]
|
453
458
|
new HttpResetClass().load('POST', `/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|