safecheck-client 4.0.0-74 → 4.0.0-75
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.0-
|
4
|
+
"version": "4.0.0-75",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -958,7 +958,7 @@ export default {
|
|
958
958
|
if (this.$refs.paged.$refs.cri.model.f_check_version)
|
959
959
|
condition += " and ti.f_check_version <= " + this.$refs.paged.$refs.cri.model.f_check_version
|
960
960
|
//tag
|
961
|
-
this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检')) and
|
961
|
+
this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检')) and f_no_checkplan = '有计划安检'" + condition)
|
962
962
|
|
963
963
|
},
|
964
964
|
getNewOrder() {
|
@@ -1087,8 +1087,8 @@ export default {
|
|
1087
1087
|
} else {
|
1088
1088
|
if (this.$refs.paged.$refs.cri.model.f_plan_name){
|
1089
1089
|
condition += " and f_plan_name = '" + this.$refs.paged.$refs.cri.model.f_plan_name + "'"
|
1090
|
-
}else {
|
1091
|
-
condition = ' 1 != 1'
|
1090
|
+
} else {
|
1091
|
+
condition = ' 1 != 1 '
|
1092
1092
|
}
|
1093
1093
|
}
|
1094
1094
|
let tjData = {
|
@@ -1097,8 +1097,11 @@ export default {
|
|
1097
1097
|
condition: condition,
|
1098
1098
|
orderitem: '1'
|
1099
1099
|
}
|
1100
|
-
let resultTj = HostApp._executeTask({
|
1101
|
-
|
1100
|
+
let resultTj = HostApp._executeTask({
|
1101
|
+
'type': 'sql',
|
1102
|
+
'data': {'alias': 'safe_singleTable_OrderBy', 'criteria': tjData}
|
1103
|
+
})
|
1104
|
+
if (resultTj.code == 200) {
|
1102
1105
|
const stat = resultTj.data.rows[0];
|
1103
1106
|
this.planTotal = stat.total_items || 0;
|
1104
1107
|
this.notVisited = stat.no_answer_count || 0;
|