safecheck-client 4.0.0-66 → 4.0.0-68
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 +23 -23
- package/src/components/NewDefectList/DefectPaperNew.vue +52 -72
- package/src/components/paper/PaperList.vue +341 -368
- package/src/components/planmanage/PlanManage.vue +821 -828
- package/src/components/planmanage/checkUserList.vue +361 -366
- package/src/components/querycheckpaper/CheckSearchUser.vue +71 -97
- package/src/components/report/CheckPlanAreaList.vue +267 -273
- package/src/filiale/jinhong/android/CurrentCreate.vue +1192 -0
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -437
- package/src/filiale/jinhong/android.js +2 -1
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +511 -511
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -1094
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -1100
- package/src/filiale/jinhong/pc/PlanManage.vue +891 -891
- package/src/filiale/jinhong/pc/checkUserList.vue +776 -778
- package/src/filiale/jinhong/pc.js +11 -11
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-68",
|
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": "3.3.2",
|
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.30",
|
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
|
+
}
|
@@ -56,8 +56,8 @@
|
|
56
56
|
</td>
|
57
57
|
<td style="text-align: center">
|
58
58
|
<div>
|
59
|
-
<!-- <img-button v-if="row.f_repaire_type != '无隐患' && row.f_repaire_type != '维修已处理' && row.f_path" :src="'/rs/image/file/'+row.f_path" :value="'隐患图片'"></img-button>-->
|
60
|
-
<!-- <button style="margin-top: 3px" v-if="row.f_repaire_type == '维修已处理'" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.solveDefect( row, 'view')">处理详情</button>-->
|
59
|
+
<!-- <img-button v-if="row.f_repaire_type != '无隐患' && row.f_repaire_type != '维修已处理' && row.f_path" :src="'/rs/image/file/'+row.f_path" :value="'隐患图片'"></img-button>-->
|
60
|
+
<!-- <button style="margin-top: 3px" v-if="row.f_repaire_type == '维修已处理'" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.solveDefect( row, 'view')">处理详情</button>-->
|
61
61
|
<button style="margin-top: 3px" class="button_new-1 button_spacing" @click="$parent.$parent.$parent.solveDefect(row, row.f_repaire_type)">处理详情</button>
|
62
62
|
<button style="margin-top: 3px" v-if="row.f_repaire_type == '隐患未处理' && $parent.$parent.$parent.showHandleDefectButton === '是'" class="button_spacing button_search-1" @click="$parent.$parent.$parent.solveDefect(row, 'solve')">处理隐患</button>
|
63
63
|
</div>
|
@@ -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
|
150
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg"></img-self>
|
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
|
154
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg1"></img-self>
|
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
|
158
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg2"></img-self>
|
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
|
162
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.defectImg3"></img-self>
|
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'">
|
@@ -190,43 +190,43 @@
|
|
190
190
|
</div>
|
191
191
|
<div v-if="solveModal.preData.type == 'solve'" class="col-sm-12" style="margin-bottom: 10px">
|
192
192
|
<label class="font_normal_body">处理后图片</label>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
193
|
+
<safecheck-file-upload
|
194
|
+
:issearch="false"
|
195
|
+
:isupload="true"
|
196
|
+
:blodid="check.id"
|
197
|
+
:isdelete="true"
|
198
|
+
flag="safeCheck"
|
199
|
+
@filename="getfile"
|
200
|
+
></safecheck-file-upload>
|
201
201
|
</div>
|
202
202
|
<div v-if="solveModal.preData.state == '已处理'" class="col-sm-12" style="margin-bottom: 10px">
|
203
203
|
<p> <label class="font_normal_body">处理后图片</label></p>
|
204
204
|
<P></P>
|
205
205
|
<div class="col-sm-12">
|
206
206
|
<div class="col-sm-6" v-for="item in fileInfoData">
|
207
|
-
<!-- <img :src="item.f_downloadURL">-->
|
208
|
-
<img-self
|
207
|
+
<!-- <img :src="item.f_downloadURL">-->
|
208
|
+
<img-self :width="200" :height="200" :src="item.f_downloadURL" style="margin-left: 10px"></img-self>
|
209
209
|
</div>
|
210
210
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg">
|
211
|
-
<img-self
|
211
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg" style="margin-left: 10px"></img-self>
|
212
212
|
</div>
|
213
213
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg1">
|
214
|
-
<img-self
|
214
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg1" style="margin-left: 10px"></img-self>
|
215
215
|
</div>
|
216
216
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg2">
|
217
|
-
<img-self
|
217
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self>
|
218
218
|
</div>
|
219
219
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg2">
|
220
|
-
<img-self
|
220
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg2" style="margin-left: 10px"></img-self>
|
221
221
|
</div>
|
222
222
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg3">
|
223
|
-
<img-self
|
223
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg3" style="margin-left: 10px"></img-self>
|
224
224
|
</div>
|
225
225
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg4">
|
226
|
-
<img-self
|
226
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg4" style="margin-left: 10px"></img-self>
|
227
227
|
</div>
|
228
228
|
<div class="col-sm-6" v-if="solveModal.preData.repairedImg5">
|
229
|
-
<img-self
|
229
|
+
<img-self :width="200" :height="200" :src="solveModal.preData.repairedImg5" style="margin-left: 10px"></img-self>
|
230
230
|
</div>
|
231
231
|
|
232
232
|
</div>
|
@@ -65,9 +65,9 @@
|
|
65
65
|
<button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
66
66
|
<div style="float: right">
|
67
67
|
<export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
:field="$parent.$parent.getfield"
|
69
|
+
progress="safeGetExportProgress"
|
70
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检隐患明细' :choose-col="true"></export-excel>
|
71
71
|
</div>
|
72
72
|
</div>
|
73
73
|
</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.cbc'
|
107
107
|
filer-key="name"
|
108
108
|
close-on-select clear-button
|
109
|
-
condition="
|
109
|
+
condition="f_meter_book_num={}"
|
110
110
|
:value-single="true">
|
111
111
|
</v-select>
|
112
112
|
</div>
|
@@ -151,8 +151,8 @@
|
|
151
151
|
style="width: 60%" placeholder="用户名称">
|
152
152
|
</div>
|
153
153
|
<div :class="$parent.$parent.style">
|
154
|
-
|
155
|
-
|
154
|
+
<label class="font_normal_body">小区名称:</label>
|
155
|
+
<input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
|
156
156
|
</div>
|
157
157
|
|
158
158
|
</div>
|
@@ -186,26 +186,26 @@
|
|
186
186
|
style="width: 60%" placeholder="用户编号">
|
187
187
|
</div>
|
188
188
|
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
189
|
+
<div class=" col-sm-4 form-group button-range">
|
190
|
+
<div class="span" style="float: right;margin-top: 8px;margin-right: 50px">
|
191
|
+
<div style="float: right" class="button_spacing"
|
192
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
193
|
+
@click="$parent.$parent.hiddenr()"></div>
|
194
|
+
<div style="float: right" class="button_spacing"
|
195
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
196
|
+
@click="$parent.$parent.hidden()"></div>
|
197
|
+
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
198
|
+
<button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
199
|
+
<div style="float: right">
|
200
|
+
<export-excel-old :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
201
|
+
:field="$parent.$parent.getfield"
|
202
|
+
progress="safeGetExportProgress"
|
203
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="GetCheckPaperByDefectNew" template-name='安检计划明细' :choose-col="true"></export-excel-old>
|
204
|
+
</div>
|
204
205
|
</div>
|
205
206
|
</div>
|
206
|
-
</div>
|
207
207
|
|
208
|
-
|
208
|
+
</div>
|
209
209
|
|
210
210
|
<div :class="$parent.$parent.style">
|
211
211
|
<label class="font_normal_body">完成情况</label>
|
@@ -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.cbc'
|
266
266
|
filer-key="name"
|
267
267
|
close-on-select clear-button
|
268
|
-
condition="
|
268
|
+
condition="f_meter_book_num={}"
|
269
269
|
:value-single="true">
|
270
270
|
</v-select>
|
271
271
|
</div>
|
@@ -308,10 +308,10 @@
|
|
308
308
|
style="width: 60%" placeholder="用户名称">
|
309
309
|
</div>
|
310
310
|
<div :class="$parent.$parent.style">
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
311
|
+
<label class="font_normal_body">小区名称:</label>
|
312
|
+
<div class="col-xs-8" >
|
313
|
+
<input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
|
314
|
+
</div>
|
315
315
|
</div>
|
316
316
|
</div>
|
317
317
|
</div>
|
@@ -335,7 +335,7 @@
|
|
335
335
|
<th><nobr>完成数</nobr></th>
|
336
336
|
<th><nobr>处理情况</nobr></th>
|
337
337
|
<th><nobr>完成情况</nobr></th>
|
338
|
-
<!-- <th><nobr>维修情况</nobr></th>-->
|
338
|
+
<!-- <th><nobr>维修情况</nobr></th>-->
|
339
339
|
<th><nobr>维修员</nobr></th>
|
340
340
|
<th><nobr>隐患明细</nobr></th>
|
341
341
|
</tr>
|
@@ -357,7 +357,7 @@
|
|
357
357
|
<td style="text-align: center;white-space:nowrap;">{{row.f_repair_count}}</td>
|
358
358
|
<td style="text-align: center;white-space:nowrap;">{{row.f_is_deal}}</td>
|
359
359
|
<td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td>
|
360
|
-
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>-->
|
360
|
+
<!-- <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>-->
|
361
361
|
<td style="text-align: center;white-space:nowrap;">{{row.f_repairman}}</td>
|
362
362
|
<td style="text-align: center;white-space:nowrap;"><span :title="$parent.$parent.$parent.trouble(row.f_defect_content)" style="display: block;max-width: 300px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{ $parent.$parent.$parent.trouble(row.f_defect_content)}}</span></td>
|
363
363
|
</template>
|
@@ -521,7 +521,6 @@ export default {
|
|
521
521
|
sliceArea: [],
|
522
522
|
callSends:[],
|
523
523
|
cbc:[],
|
524
|
-
checkBooks:[],
|
525
524
|
repairedOptions:[{label: '全部', value: ''},{label: '已修', value: '已修'}, {label: '未修', value: '未修'}],
|
526
525
|
repairers:[],
|
527
526
|
cbcs:[],
|
@@ -543,25 +542,6 @@ export default {
|
|
543
542
|
},
|
544
543
|
|
545
544
|
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
|
-
},
|
565
545
|
getSiteRes(obj) {
|
566
546
|
console.log('siteRes ---> ')
|
567
547
|
console.log(obj)
|
@@ -595,8 +575,8 @@ export default {
|
|
595
575
|
for (const itemdata of jsonData) {
|
596
576
|
const keys = Object.keys(itemdata)
|
597
577
|
for (const itm of keys) {
|
598
|
-
|
599
|
-
|
578
|
+
const value = itemdata[itm]
|
579
|
+
result += itm + ':' + value
|
600
580
|
}
|
601
581
|
}
|
602
582
|
}
|
@@ -700,21 +680,21 @@ export default {
|
|
700
680
|
activity:act
|
701
681
|
}
|
702
682
|
for(let i=0; i<this.checkes.length; i++){
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
}
|
713
|
-
}catch (e) {
|
714
|
-
this.showModal3=false
|
715
|
-
this.$showMessage('网络异常,请稍后再试!')
|
716
|
-
return
|
683
|
+
try {
|
684
|
+
let result =await new HttpResetClass().load('post','/api/af-safecheck/logic/phoneUploadRectification', {
|
685
|
+
id:this.checkes[i],
|
686
|
+
repData:rep,
|
687
|
+
source:'pc'
|
688
|
+
}, {resolveMsg: null, rejectMsg: null})
|
689
|
+
if (result.data.code==200) {
|
690
|
+
successCount += result.data.successcon
|
691
|
+
this.progressbarWidth=Math.ceil((i+1)*100/(this.checkes.length))
|
717
692
|
}
|
693
|
+
}catch (e) {
|
694
|
+
this.showModal3=false
|
695
|
+
this.$showMessage('网络异常,请稍后再试!')
|
696
|
+
return
|
697
|
+
}
|
718
698
|
}
|
719
699
|
this.showModal3=false
|
720
700
|
this.cancel1()
|