safecheck-client 3.0.32 → 3.0.33-11

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 (95) hide show
  1. package/package.json +133 -133
  2. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  3. package/src/assets//345/234/260/345/235/200.png +0 -0
  4. package/src/assets//345/247/223/345/220/215.png +0 -0
  5. package/src/assets//345/260/217/345/214/272.png +0 -0
  6. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  7. package/src/assets//345/272/225/346/225/260.png +0 -0
  8. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  9. package/src/assets//346/245/274/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/261/202.png +0 -0
  11. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  12. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  13. package/src/components/android/AndroidDefectDeal.vue +5 -5
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/android/SafecheckOrderV.vue +4 -1
  16. package/src/components/map/checkScreen.vue +1 -1
  17. package/src/components/planmanage/checkPlanList.vue +3 -3
  18. package/src/components/planmanage/checkUserList.vue +34 -2
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
  28. package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
  29. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  30. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  31. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  32. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  33. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  34. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  35. package/src/filiale/dexin/android.js +4 -1
  36. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  37. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  38. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  39. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  40. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  41. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  42. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  43. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  46. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  47. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  48. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  49. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  50. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  51. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  52. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  53. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  54. package/src/filiale/fugou/pc.js +60 -5
  55. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  56. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  57. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  58. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  59. package/src/filiale/jingyang/android.js +4 -0
  60. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  61. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  62. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  63. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  64. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  65. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  66. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  67. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  68. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  69. package/src/filiale/shexian/pc.js +1 -0
  70. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  71. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  72. package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
  73. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  74. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  75. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  76. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  77. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  78. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  79. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  80. package/src/filiale/wensu/pc/checkUserList.vue +13 -9
  81. package/src/filiale/wensu/pc.js +1 -0
  82. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  83. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  84. package/src/filiale/wuhai/pc.js +1 -0
  85. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  86. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  87. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  88. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  89. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  90. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  91. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  92. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  93. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  94. package/static/stretch_bottom.png +0 -0
  95. package/static/stretch_top.png +0 -0
package/package.json CHANGED
@@ -1,133 +1,133 @@
1
- {
2
- "name": "safecheck-client",
3
- "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.32",
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": "^6.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
- "sketch-vue3": "^1.0.0",
104
- "style": "0.0.3",
105
- "style-loader": "^0.20.3",
106
- "system-clients": "3.2.76",
107
- "system-phone": "1.2.100",
108
- "telephone-clients": "1.1.27",
109
- "terser-webpack-plugin-legacy": "^1.2.5",
110
- "url-loader": "^0.5.7",
111
- "vue-amap": "0.5.10",
112
- "vue-client": "1.24.129",
113
- "vue-hot-reload-api": "^1.2.0",
114
- "vue-html-loader": "^1.0.0",
115
- "vue-loader": "^8.2.1",
116
- "vue-resource": "^1.5.0",
117
- "vue-router": "^0.7.13",
118
- "vue-strap": "^1.0.9",
119
- "vue-style-loader": "^1.0.0",
120
- "vue-validator": "2.1.7",
121
- "webpack": "^3.12.0",
122
- "webpack-dev-middleware": "^1.4.0",
123
- "webpack-dev-server": "^2.9.7",
124
- "webpack-hot-middleware": "^2.6.0",
125
- "webpack-merge": "^0.8.3",
126
- "weixin-js-sdk": "^1.2.0"
127
- },
128
- "directories": {
129
- "doc": "docs",
130
- "example": "examples",
131
- "test": "test"
132
- }
133
- }
1
+ {
2
+ "name": "safecheck-client",
3
+ "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
+ "version": "3.0.33-11",
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": "^6.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
+ "sketch-vue3": "^1.0.0",
104
+ "style": "0.0.3",
105
+ "style-loader": "^0.20.3",
106
+ "system-clients": "3.2.1-10",
107
+ "system-phone": "1.2.100",
108
+ "telephone-clients": "1.1.27",
109
+ "terser-webpack-plugin-legacy": "^1.2.5",
110
+ "url-loader": "^0.5.7",
111
+ "vue-amap": "0.5.10",
112
+ "vue-client": "1.24.93",
113
+ "vue-hot-reload-api": "^1.2.0",
114
+ "vue-html-loader": "^1.0.0",
115
+ "vue-loader": "^8.2.1",
116
+ "vue-resource": "^1.5.0",
117
+ "vue-router": "^0.7.13",
118
+ "vue-strap": "^1.0.9",
119
+ "vue-style-loader": "^1.0.0",
120
+ "vue-validator": "2.1.7",
121
+ "webpack": "^3.12.0",
122
+ "webpack-dev-middleware": "^1.4.0",
123
+ "webpack-dev-server": "^2.9.7",
124
+ "webpack-hot-middleware": "^2.6.0",
125
+ "webpack-merge": "^0.8.3",
126
+ "weixin-js-sdk": "^1.2.0"
127
+ },
128
+ "directories": {
129
+ "doc": "docs",
130
+ "example": "examples",
131
+ "test": "test"
132
+ }
133
+ }
@@ -345,7 +345,7 @@
345
345
  </div>
346
346
  <div class="row">
347
347
  <div class="col-xs-2">
348
- <p class="panel-title text-left font" style="text-align: center">备注</p>
348
+ <p class="panel-title text-left font" style="text-align: center">处理结果</p>
349
349
  </div>
350
350
  <div class="col-xs-9">
351
351
  <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
@@ -486,10 +486,10 @@
486
486
  commitDealDefect() {
487
487
  //tag
488
488
  //tag)
489
- if (!this.deal.f_deal_path) {
490
- this.$showMessage('处理后照片必须上传')
491
- return
492
- }
489
+ // if (!this.deal.f_deal_path) {
490
+ // this.$showMessage('处理后照片必须上传')
491
+ // return
492
+ // }
493
493
  if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
494
494
  this.$showMessage('签名必须上传')
495
495
  return
@@ -17,6 +17,10 @@
17
17
  <label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt"
18
18
  v-model="userinfo.baseinfo.base.f_user_name" readonly/>
19
19
  </div>
20
+ <div class="row auto" style="margin: 5px 0">
21
+ <label class="righttxt">身份证号:</label><input type="text" class="form-control rightipt"
22
+ v-model="userinfo.baseinfo.base.f_idnumber" />
23
+ </div>
20
24
  <div class="row auto" style="margin: 5px 0">
21
25
  <label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly
22
26
  v-model="userinfo.baseinfo.base.f_user_state"/>
@@ -616,6 +620,7 @@
616
620
  let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
617
621
  // userinfoms.f_user_name=row.f_user_name
618
622
  userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
623
+ userinfoms.f_idnumber = this.userinfo.baseinfo.base.f_idnumber
619
624
  userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
620
625
  userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
621
626
  userinfoms.f_operator_record = Vue.user.name
@@ -680,6 +685,7 @@
680
685
  let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
681
686
  //userinfoms.f_user_name=row.f_user_name
682
687
  userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
688
+ userinfoms.f_idnumber = this.userinfo.baseinfo.base.f_idnumber
683
689
  userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
684
690
  userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
685
691
  userinfoms.f_operator_record = Vue.user.name
@@ -1696,12 +1696,15 @@
1696
1696
  this.$dispatch('confirm')
1697
1697
  }else if(res.code == 710){
1698
1698
  this.$showMessage('上传照片失败,请检查网络是否正常!'+res.msg)
1699
+ this.onlySave = true
1699
1700
  return
1700
1701
  }else if(res.code == 711){
1701
1702
  this.$showMessage('该安检单已被管理员调整,请联系管理员!')
1703
+ this.onlySave = true
1702
1704
  return
1703
1705
  }else if(res.code == 712){
1704
- this.$showMessage('网络异常,请重新上传,多次上传失败请联系管理员!')
1706
+ this.$showMessage('网络异常,请缓存后重新尝试上传,多次上传失败请联系管理员!')
1707
+ this.onlySave = true
1705
1708
  return
1706
1709
  }
1707
1710
  else{
@@ -227,7 +227,7 @@ export default {
227
227
  source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
228
228
  userid: this.$login.f.id
229
229
  }, {resolveMsg: null, rejectMsg: null})
230
- debugger
230
+
231
231
  let arr1 = await new HttpResetClass().load('GET', `/rs/safePsoition/getPosition`, {}, {
232
232
  resolveMsg: null,
233
233
  rejectMsg: null
@@ -303,11 +303,11 @@
303
303
  this.model.search(args.condition, args.model, args.condValue)
304
304
  },
305
305
  checkStateChange(val){
306
- if(val=='已检'){
307
- this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
308
- }else{
306
+ if(val=='未检'){
309
307
  this.checkResults=[]
310
308
  this.$refs.paged.$refs.criteria.model.f_check_state=''
309
+ }else{
310
+ this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
311
311
  }
312
312
  },
313
313
  //修改计划项状态为作废
@@ -111,6 +111,20 @@
111
111
  >
112
112
  </v-select>
113
113
  </div>
114
+ <div class="form-group col-sm-4" >
115
+ <label class="font_normal_body">街&emsp;&emsp;道:</label>
116
+ <v-select
117
+ class="select select_list"
118
+ :value.sync="model.f_street"
119
+ v-model="model.f_street"
120
+ :options='$parent.$parent.streets'
121
+ placeholder='请选择'
122
+ condition="ua.f_street_id='{}'"
123
+ close-on-select
124
+ value-single
125
+ >
126
+ </v-select>
127
+ </div>
114
128
  <!--<div class="form-group col-sm-4" >
115
129
  <label class="font_normal_body">小区名称:</label>
116
130
  <input type="text" class="input_search" v-model="model.f_userinfo_code"
@@ -416,7 +430,8 @@
416
430
  checkAll:false,
417
431
  checkes:[],
418
432
  excelUserCondtion:false,
419
- uploadCodeCondition:''
433
+ uploadCodeCondition:'',
434
+ streets:[]
420
435
  }
421
436
  },
422
437
  props:["selectplan","userlogin"],
@@ -452,6 +467,7 @@
452
467
  },
453
468
  loadpage(){
454
469
  this.select_search()
470
+ this.select_street()
455
471
  this.Mreadibook()
456
472
  this.getSliceArea()
457
473
  },
@@ -523,7 +539,10 @@
523
539
  value: ''
524
540
  }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
525
541
 
526
- this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
542
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [{
543
+ label: '全部',
544
+ value: ''
545
+ },...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
527
546
  this.gasproperties=this.$appdata.getParam('用气性质') ? [{
528
547
  label: '全部',
529
548
  value: ''
@@ -548,6 +567,19 @@
548
567
  //tag)
549
568
  })
550
569
  },
570
+ select_street(){
571
+ //tag
572
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"id,f_street",tablename:"t_street",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}'`}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
573
+ //tag)
574
+ if(res.data.length>0){
575
+ this.streets=[]
576
+ this.streets.push({label:"全部",value:""})
577
+ res.data.forEach((result)=>{
578
+ this.streets.push({label:result.f_street,value:result.id})
579
+ })
580
+ }
581
+ })
582
+ },
551
583
  //获取抄表册
552
584
  async Mreadibook(){
553
585
  this.cbc=[]
@@ -34,7 +34,7 @@
34
34
  v-if="row.type == 'date'"
35
35
  v-show="row.isshow"
36
36
  :disabled-days-of-Week="[]"
37
- :format="'yyyy-MM-dd 00:00:00'"
37
+ :format=row.format
38
38
  :show-reset-button="reset" readonly="readonly">
39
39
  </datepicker>
40
40
  </div>
@@ -206,6 +206,12 @@
206
206
  f_issue_reading:{},
207
207
  //上期表读数
208
208
  f_prior_reading:{},
209
+ // 安装日期
210
+ f_install_date:{},
211
+ // 使用年限
212
+ f_use_limit:{},
213
+ // 到期日期
214
+ f_scrap_date:{},
209
215
  // 气量异常差值允许误差
210
216
  gasDeviation: (
211
217
  function (_this) {
@@ -625,6 +631,16 @@
625
631
  }
626
632
 
627
633
  },
634
+ // 计算到期日期
635
+ getscrapNumber() {
636
+ //tag
637
+ if(!this.f_items[this.f_install_date.index].f_item_value || !this.f_items[this.f_use_limit.index].f_item_value ){
638
+ return
639
+ }
640
+ let data = new Date(this.f_items[this.f_install_date.index].f_item_value)
641
+ data.setFullYear(data.getFullYear() + parseInt(this.f_items[this.f_use_limit.index].f_item_value))
642
+ this.f_items[this.f_scrap_date.index].f_item_value = data.toISOString().split('T')[0];
643
+ },
628
644
  readmeter(){
629
645
  if(!this.f_items[this.f_issue_reading.index].f_item_value && parseFloat(this.f_items[this.f_issue_reading.index].f_item_value).toString() == "NaN"){
630
646
  this.$showMessage("请输入本期表读数!")
@@ -738,6 +754,7 @@
738
754
  isshow:this.config[this.device.device].items[item].isshow == false?this.config[this.device.device].items[item].isshow:true,
739
755
  readonly: this.config[this.device.device].items[item].readonly == true?true:false,
740
756
  remark: this.config[this.device.device].items[item].remark ? this.config[this.device.device].items[item].remark : '',
757
+ format: this.config[this.device.device].items[item].format ? this.config[this.device.device].items[item].format : 'yyyy-MM-dd 00:00:00',
741
758
  f_path: '',
742
759
  tooltip:'',
743
760
  f_live_dispose:'',
@@ -871,6 +888,22 @@
871
888
  }
872
889
  }
873
890
  }
891
+ if (this.f_items[f].f_item_name == '安装日期') {
892
+ //tag)
893
+ this.f_install_date.index = f
894
+ this.$watch('f_items[' + f + '].f_item_value', function () {
895
+ this.getscrapNumber()
896
+ })
897
+ }else if (this.f_items[f].f_item_name == '使用年限') {
898
+ //tag)
899
+ this.f_use_limit.index = f
900
+ this.$watch('f_items[' + f + '].f_item_value', function () {
901
+ this.getscrapNumber()
902
+ })
903
+ }else if (this.f_items[f].f_item_name == '到期日期') {
904
+ //tag)
905
+ this.f_scrap_date.index = f
906
+ }
874
907
  }
875
908
  //tag)
876
909
  this.$set('piece.f_items',this.f_items)
@@ -407,7 +407,7 @@
407
407
  defectType:[],
408
408
  userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
409
409
  defectLeave:'',
410
- defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'}],
410
+ defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患'}],
411
411
  thead: '',
412
412
  headData: ['入户状态','用户名','用户电话','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','一级隐患数','一级隐患','二级隐患数','二级隐患','三级隐患数','三级隐患','其他隐患','隐患内容'],
413
413
  bodyData: ['f_entry_status','f_user_name','f_user_phone','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_fist_count','f_fist_content','f_second_count','f_second_content','f_third_count','f_third_content','f_other_count','f_defect_content'],
@@ -468,6 +468,9 @@
468
468
  if(this.defectLeave=='三级隐患'){
469
469
  args.condition += ` and f_third_count > 0`
470
470
  }
471
+ if(this.defectLeave=='其他隐患'){
472
+ args.condition += ` and f_other_count > 0`
473
+ }
471
474
  }
472
475
  if(this.defectType.length>0){
473
476
  args.condition += ` and (`
@@ -34,7 +34,7 @@
34
34
  v-if="row.type == 'date'"
35
35
  v-show="row.isshow"
36
36
  :disabled-days-of-Week="[]"
37
- :format="'yyyy-MM-dd 00:00:00'"
37
+ :format=row.format
38
38
  :show-reset-button="reset" readonly="readonly">
39
39
  </datepicker>
40
40
  </div>
@@ -222,6 +222,12 @@
222
222
  f_issue_reading:{},
223
223
  //上期表读数
224
224
  f_prior_reading:{},
225
+ // 安装日期
226
+ f_install_date:{},
227
+ // 使用年限
228
+ f_use_limit:{},
229
+ // 到期日期
230
+ f_scrap_date:{},
225
231
  // 气量异常差值允许误差
226
232
  gasDeviation: (
227
233
  function (_this) {
@@ -656,6 +662,16 @@
656
662
  }
657
663
 
658
664
  },
665
+ // 计算到期日期
666
+ getscrapNumber() {
667
+ //tag
668
+ if(!this.f_items[this.f_install_date.index].f_item_value || !this.f_items[this.f_use_limit.index].f_item_value ){
669
+ return
670
+ }
671
+ let data = new Date(this.f_items[this.f_install_date.index].f_item_value)
672
+ data.setFullYear(data.getFullYear() + parseInt(this.f_items[this.f_use_limit.index].f_item_value))
673
+ this.f_items[this.f_scrap_date.index].f_item_value = data.toISOString().split('T')[0];
674
+ },
659
675
  readmeter(){
660
676
  if(!this.f_items[this.f_issue_reading.index].f_item_value && parseFloat(this.f_items[this.f_issue_reading.index].f_item_value).toString() == "NaN"){
661
677
  this.$showMessage("请输入本期表读数!")
@@ -769,6 +785,7 @@
769
785
  isshow:this.config[this.device.device].items[item].isshow == false?this.config[this.device.device].items[item].isshow:true,
770
786
  readonly: this.config[this.device.device].items[item].readonly == true?true:false,
771
787
  remark: this.config[this.device.device].items[item].remark ? this.config[this.device.device].items[item].remark : '',
788
+ format: this.config[this.device.device].items[item].format ? this.config[this.device.device].items[item].format : 'yyyy-MM-dd 00:00:00',
772
789
  f_path: '',
773
790
  f_second_path:'',
774
791
  tooltip:'',
@@ -903,6 +920,22 @@
903
920
  }
904
921
  }
905
922
  }
923
+ if (this.f_items[f].f_item_name == '安装日期') {
924
+ //tag)
925
+ this.f_install_date.index = f
926
+ this.$watch('f_items[' + f + '].f_item_value', function () {
927
+ this.getscrapNumber()
928
+ })
929
+ }else if (this.f_items[f].f_item_name == '使用年限') {
930
+ //tag)
931
+ this.f_use_limit.index = f
932
+ this.$watch('f_items[' + f + '].f_item_value', function () {
933
+ this.getscrapNumber()
934
+ })
935
+ }else if (this.f_items[f].f_item_name == '到期日期') {
936
+ //tag)
937
+ this.f_scrap_date.index = f
938
+ }
906
939
  }
907
940
  //tag)
908
941
  this.$set('piece.f_items',this.f_items)
@@ -1795,6 +1795,7 @@ export default {
1795
1795
  this.$set('data.f_idnumber', this.item.f_idnumber)
1796
1796
  this.$set('data.f_comments', this.item.f_comments)
1797
1797
  this.$set('data.f_userproperties', this.item.f_userproperties)
1798
+ this.$set('data.f_usetype', this.item.f_plan_meters[0].f_usetype)
1798
1799
  // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
1799
1800
  // this.$set('data.f_user_check_time', this.item.f_user_check_time)
1800
1801
  // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)