safecheck-client 4.0.1-42 → 4.0.1-43
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,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "4.0.1-
|
4
|
+
"version": "4.0.1-43",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -317,11 +317,12 @@
|
|
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
|
-
|
321
320
|
if(timeDiff < sixMonthsInMs){
|
322
|
-
this.$showMessage(
|
323
|
-
|
324
|
-
|
321
|
+
this.$showMessage('该用户半年内已进行入户安检,是否继续安检?', ['confirm', 'cancel']).then((res) => {
|
322
|
+
if (res !== 'confirm') {
|
323
|
+
return
|
324
|
+
}
|
325
|
+
})
|
325
326
|
}
|
326
327
|
}
|
327
328
|
info.id = ''
|