Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
monthReport_smzx
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
monthReport_smzx
Commits
a2defcd4
提交
a2defcd4
authored
9月 30, 2024
作者:
邓文彬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(pad): 搜索条件修改
上级
42800b79
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
22 行增加
和
15 行删除
+22
-15
index.vue
components/searchCom/index.vue
+10
-6
operLog.vue
pages/index/operLog.vue
+4
-3
index.vue
pages/inspectionManagement/index.vue
+5
-3
index.vue
pages/synchronousManagement/index.vue
+3
-3
没有找到文件。
components/searchCom/index.vue
浏览文件 @
a2defcd4
...
@@ -7,8 +7,9 @@
...
@@ -7,8 +7,9 @@
v-model=
"searchFrom.inspectionType"
v-model=
"searchFrom.inspectionType"
:localdata=
"inspectArr"
:localdata=
"inspectArr"
@
change=
"(e) => change(e, 'inspectionType')"
@
change=
"(e) => change(e, 'inspectionType')"
placeholder=
"
全部巡检
"
placeholder=
"
巡检类型:全部
"
:clear=
"true"
:clear=
"true"
:key=
"new Date().getTime()"
></uni-data-select>
></uni-data-select>
<uni-data-select
<uni-data-select
...
@@ -16,9 +17,11 @@
...
@@ -16,9 +17,11 @@
class=
"uni-search-item"
class=
"uni-search-item"
v-model=
"searchFrom.synchronization"
v-model=
"searchFrom.synchronization"
:localdata=
"synchronization"
:localdata=
"synchronization"
placeholder=
"全部"
placeholder=
"
是否同步:
全部"
@
change=
"(e) => change(e, 'synchronization')"
@
change=
"(e) => change(e, 'synchronization')"
:clear=
"true"
:clear=
"true"
:key=
"new Date().getTime()"
></uni-data-select>
></uni-data-select>
<uni-data-select
<uni-data-select
...
@@ -26,9 +29,10 @@
...
@@ -26,9 +29,10 @@
class=
"uni-search-item"
class=
"uni-search-item"
v-model=
"searchFrom.isException"
v-model=
"searchFrom.isException"
:localdata=
"exceptionArr"
:localdata=
"exceptionArr"
placeholder=
"有无异常"
placeholder=
"有无异常
:全部
"
@
change=
"(e) => change(e, 'isException')"
@
change=
"(e) => change(e, 'isException')"
:clear=
"true"
:clear=
"true"
:key=
"new Date().getTime()"
></uni-data-select>
></uni-data-select>
</view>
</view>
...
@@ -67,17 +71,17 @@ export default {
...
@@ -67,17 +71,17 @@ export default {
},
},
inspectArr
:
[
inspectArr
:
[
{
value
:
""
,
text
:
"全部"
},
{
value
:
"
all
"
,
text
:
"全部"
},
{
value
:
"1"
,
text
:
"机房巡检"
},
{
value
:
"1"
,
text
:
"机房巡检"
},
{
value
:
"2"
,
text
:
"井道巡检"
},
{
value
:
"2"
,
text
:
"井道巡检"
},
],
],
synchronization
:
[
synchronization
:
[
{
value
:
""
,
text
:
"全部"
},
{
value
:
"
all
"
,
text
:
"全部"
},
{
value
:
"0"
,
text
:
"未同步"
},
{
value
:
"0"
,
text
:
"未同步"
},
{
value
:
"1"
,
text
:
"已同步"
},
{
value
:
"1"
,
text
:
"已同步"
},
],
],
exceptionArr
:
[
exceptionArr
:
[
{
value
:
""
,
text
:
"全部"
},
{
value
:
"
all
"
,
text
:
"全部"
},
{
value
:
"1"
,
text
:
"有异常"
},
{
value
:
"1"
,
text
:
"有异常"
},
{
value
:
"0"
,
text
:
"无异常"
},
{
value
:
"0"
,
text
:
"无异常"
},
],
],
...
...
pages/index/operLog.vue
浏览文件 @
a2defcd4
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
v-model=
"searchFrom.type"
v-model=
"searchFrom.type"
:localdata=
"typeList"
:localdata=
"typeList"
@
change=
"change"
@
change=
"change"
placeholder=
"全部"
placeholder=
"操作类型:全部"
:key=
"new Date().getTime()"
></uni-data-select>
></uni-data-select>
<view
class=
"search-com-right"
>
<view
class=
"search-com-right"
>
...
@@ -94,7 +95,7 @@ export default {
...
@@ -94,7 +95,7 @@ export default {
total
:
0
,
total
:
0
,
loading
:
false
,
loading
:
false
,
typeList
:
[
typeList
:
[
{
value
:
""
,
text
:
"全部"
},
{
value
:
"
all
"
,
text
:
"全部"
},
{
value
:
"1"
,
text
:
"巡检"
},
{
value
:
"1"
,
text
:
"巡检"
},
{
value
:
"2"
,
text
:
"同步"
},
{
value
:
"2"
,
text
:
"同步"
},
...
@@ -166,7 +167,7 @@ export default {
...
@@ -166,7 +167,7 @@ export default {
this
.
tableData
=
this
.
recordData
.
filter
((
item
)
=>
{
this
.
tableData
=
this
.
recordData
.
filter
((
item
)
=>
{
let
matchType
=
true
;
// 类型筛选
let
matchType
=
true
;
// 类型筛选
let
matchTime
=
true
;
// 时间筛选
let
matchTime
=
true
;
// 时间筛选
if
(
type
)
{
if
(
type
&&
type
!=
"all"
)
{
if
(
type
==
-
1
)
{
if
(
type
==
-
1
)
{
// [其他]搜索项
// [其他]搜索项
matchType
=
matchType
=
...
...
pages/inspectionManagement/index.vue
浏览文件 @
a2defcd4
...
@@ -148,11 +148,13 @@ export default {
...
@@ -148,11 +148,13 @@ export default {
synchronization
=
""
,
synchronization
=
""
,
}
=
this
.
searchForm
;
}
=
this
.
searchForm
;
return
arr
.
filter
((
item
)
=>
{
return
arr
.
filter
((
item
)
=>
{
return
(
return
(
(
!
isException
||
item
.
isException
==
isException
)
&&
(
!
isException
||
isException
==
"all"
||
item
.
isException
==
isException
)
&&
(
!
inspectionType
||
item
.
inspectionType
==
inspectionType
)
&&
(
!
inspectionType
||
inspectionType
==
"all"
||
item
.
inspectionType
==
inspectionType
)
&&
(
!
synchronization
||
item
.
synchronization
==
synchronization
)
(
!
synchronization
||
synchronization
==
"all"
||
item
.
synchronization
==
synchronization
)
);
);
});
});
},
},
...
...
pages/synchronousManagement/index.vue
浏览文件 @
a2defcd4
...
@@ -168,9 +168,9 @@ export default {
...
@@ -168,9 +168,9 @@ export default {
return
arr
.
filter
((
item
)
=>
{
return
arr
.
filter
((
item
)
=>
{
return
(
return
(
(
!
isException
||
item
.
isException
==
isException
)
&&
(
!
isException
||
isException
==
"all"
||
item
.
isException
==
isException
)
&&
(
!
inspectionType
||
item
.
inspectionType
==
inspectionType
)
&&
(
!
inspectionType
||
inspectionType
==
"all"
||
item
.
inspectionType
==
inspectionType
)
&&
(
!
synchronization
||
item
.
synchronization
==
synchronization
)
(
!
synchronization
||
synchronization
==
"all"
||
item
.
synchronization
==
synchronization
)
);
);
});
});
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论