safecheck-client 4.0.1-45 → 4.0.1-47
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/.trae/.ignore +0 -0
- package/.vscode/settings.json +3 -0
- package/package.json +132 -132
- package/src/components/android/AndroidDefectDetails.vue +769 -769
- package/src/components/querycheckpaper/CheckSearchUser.vue +1072 -1072
- package/src/filiale/meihekou/android/CurrentCreate.vue +1038 -1038
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2027 -2027
- package/src/filiale/meihekou/pc/PaperList.vue +1136 -1136
- package/src/filiale/xinkang/android/AddPlanItem.vue +19 -21
- package/src/main.js +33 -33
@@ -304,10 +304,10 @@
|
|
304
304
|
})
|
305
305
|
//tag
|
306
306
|
},
|
307
|
-
inspect
|
307
|
+
inspect(info) {
|
308
308
|
// 当前系统时间
|
309
309
|
let newdate = Util.toStandardTimeString()
|
310
|
-
if(info.f_last_check_state == '入户' && info.f_last_check_date && info.f_user_type=='民用'){
|
310
|
+
if (info.f_last_check_state == '入户' && info.f_last_check_date && info.f_user_type == '民用') {
|
311
311
|
// 解析上次安检时间
|
312
312
|
let lastCheckDate = new Date(info.f_last_check_date)
|
313
313
|
let currentDate = new Date(newdate)
|
@@ -317,30 +317,28 @@
|
|
317
317
|
// 6个月 = 6 * 30 * 24 * 60 * 60 * 1000 毫秒(约15552000000毫秒)
|
318
318
|
// 更精确的计算:6个月 = 6 * 平均每月30.44天 * 24 * 60 * 60 * 1000
|
319
319
|
let sixMonthsInMs = 6 * 30 * 24 * 60 * 60 * 1000
|
320
|
-
if(timeDiff < sixMonthsInMs){
|
320
|
+
if (timeDiff < sixMonthsInMs) {
|
321
321
|
this.$showMessage('该用户半年内已进行入户安检,是否继续安检?', ['confirm', 'cancel']).then((res) => {
|
322
|
-
if (res
|
323
|
-
|
322
|
+
if (res == 'confirm') {
|
323
|
+
info.id = ''
|
324
|
+
info.f_state = '未检'
|
325
|
+
info.f_no_checkplan = '无计划安检'
|
326
|
+
//tag
|
327
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`, {data: {f_userid: info.f_userinfo_id}}).then((response) => {
|
328
|
+
//tag)
|
329
|
+
info['f_plan_meters'] = response.data
|
330
|
+
var pardate = {
|
331
|
+
_this: this,
|
332
|
+
tittle: '安检详情',
|
333
|
+
safe: true
|
334
|
+
}
|
335
|
+
this.$dispatch('gotoson', pardate)
|
336
|
+
this.$goto('safecheck-order-v', {item: info, role: 'inspect', parentPage: 'AddPlanItem'}, 'self', this.reload)
|
337
|
+
})
|
324
338
|
}
|
325
339
|
})
|
326
340
|
}
|
327
341
|
}
|
328
|
-
info.id = ''
|
329
|
-
info.f_state = '未检'
|
330
|
-
info.f_no_checkplan = '无计划安检'
|
331
|
-
//tag
|
332
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
|
333
|
-
//tag)
|
334
|
-
info['f_plan_meters'] = response.data
|
335
|
-
var pardate = {
|
336
|
-
_this:this,
|
337
|
-
tittle:'安检详情',
|
338
|
-
safe:true
|
339
|
-
}
|
340
|
-
this.$dispatch('gotoson',pardate)
|
341
|
-
this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
|
342
|
-
|
343
|
-
})
|
344
342
|
},
|
345
343
|
Mreadibook(){
|
346
344
|
this.cbc=[]
|
package/src/main.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App'
|
3
|
-
import { all } from 'vue-client'
|
4
|
-
import { system } from 'system-clients'
|
5
|
-
import safecheck from './safecheck'
|
6
|
-
import echarts from 'echarts'
|
7
|
-
// import safecheck from './rongcheng'
|
8
|
-
|
9
|
-
all()
|
10
|
-
// 验证码开关赋值
|
11
|
-
var Verificationfalg = false
|
12
|
-
system(Verificationfalg)
|
13
|
-
// system()
|
14
|
-
safecheck('
|
15
|
-
// safecheck('rizhao')
|
16
|
-
require('./bootstrap/less/bootstrap.less')
|
17
|
-
require('./expandcss.less')
|
18
|
-
|
19
|
-
Vue.prototype.$echarts = echarts
|
20
|
-
Vue.android = false
|
21
|
-
|
22
|
-
Vue.url = '/SafeCheck/rs/'
|
23
|
-
if(Vue.android)
|
24
|
-
Vue.url = Vue.staticUrl
|
25
|
-
Vue.interval = 1*60*1000
|
26
|
-
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
-
Vue.mapSetup = false
|
28
|
-
|
29
|
-
/* eslint-disable no-new */
|
30
|
-
new Vue({
|
31
|
-
el: 'body',
|
32
|
-
components: { App }
|
33
|
-
})
|
1
|
+
import Vue from 'vue'
|
2
|
+
import App from './App'
|
3
|
+
import { all } from 'vue-client'
|
4
|
+
import { system } from 'system-clients'
|
5
|
+
import safecheck from './safecheck'
|
6
|
+
import echarts from 'echarts'
|
7
|
+
// import safecheck from './rongcheng'
|
8
|
+
|
9
|
+
all()
|
10
|
+
// 验证码开关赋值
|
11
|
+
var Verificationfalg = false
|
12
|
+
system(Verificationfalg)
|
13
|
+
// system()
|
14
|
+
safecheck('jinhong')
|
15
|
+
// safecheck('rizhao')
|
16
|
+
require('./bootstrap/less/bootstrap.less')
|
17
|
+
require('./expandcss.less')
|
18
|
+
|
19
|
+
Vue.prototype.$echarts = echarts
|
20
|
+
Vue.android = false
|
21
|
+
|
22
|
+
Vue.url = '/SafeCheck/rs/'
|
23
|
+
if(Vue.android)
|
24
|
+
Vue.url = Vue.staticUrl
|
25
|
+
Vue.interval = 1*60*1000
|
26
|
+
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
+
Vue.mapSetup = false
|
28
|
+
|
29
|
+
/* eslint-disable no-new */
|
30
|
+
new Vue({
|
31
|
+
el: 'body',
|
32
|
+
components: { App }
|
33
|
+
})
|