Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-sensitive-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.foundation.frontend
pica-sensitive-admin
提交
8222d9f3
提交
8222d9f3
编写于
9月 21, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
手机端页面UI适配
上级
7df17e6c
变更
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
99 行增加
和
86 行删除
+99
-86
data-view-message.vue
src/views/sensitive-control/data-view-message.vue
+99
-86
未找到文件。
src/views/sensitive-control/data-view-message.vue
浏览文件 @
8222d9f3
<
template
>
<
template
>
<div
class=
"data-view-message-wrap"
>
<div
class=
"data-view-message-wrap"
>
<template
v-if=
"searchTableVisible"
>
<template
v-if=
"searchTableVisible"
>
<div
class=
"class-top-row"
>
<el-row
class=
"button-wrap"
>
<el-row
class=
"button-wrap"
>
<el-col
:span=
"1"
style=
"margin-left: 20px;width: 70px;margin-top: 4px"
>
<el-col
:span=
"1"
style=
"margin-left: 20px;width: 70px;margin-top: 4px"
>
<label
style=
"font-size: 16px;"
>
标记状态
</label>
<label
style=
"font-size: 16px;"
>
标记状态
</label>
...
@@ -29,7 +30,9 @@
...
@@ -29,7 +30,9 @@
placeholder
placeholder
clearable
clearable
></el-input>
></el-input>
</el-row>
<el-row
class=
"button-wrap"
>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"labelVisible=true"
>
添加标签筛选
</el-button>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"labelVisible=true"
>
添加标签筛选
</el-button>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
<el-button
...
@@ -40,9 +43,11 @@
...
@@ -40,9 +43,11 @@
>
导出
</el-button>
>
导出
</el-button>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"showAddConditionModal(true)"
>
添加筛选条件
</el-button>
<el-button
class=
"each-button"
type=
"primary"
@
click=
"showAddConditionModal(true)"
>
添加筛选条件
</el-button>
</el-row>
</el-row>
</div>
<template
<template
v-if=
"tableDataList && tableDataList.outModels && tableDataList.outModels.length > 0"
>
v-if=
"tableDataList && tableDataList.outModels && tableDataList.outModels.length > 0"
>
<el-table
<el-table
:data=
"tableDataList.outModels"
:data=
"tableDataList.outModels"
:row-style=
"getRowClass"
:row-style=
"getRowClass"
...
@@ -94,7 +99,7 @@
...
@@ -94,7 +99,7 @@
:value="item.id"
:value="item.id"
></el-option>
></el-option>
</el-select>
</el-select>
</template>
-->
</template>-->
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<!-- 分页 -->
<!-- 分页 -->
...
@@ -188,10 +193,10 @@
...
@@ -188,10 +193,10 @@
</el-dialog>
</el-dialog>
<!-- 添加标签筛选条件弹窗 -->
<!-- 添加标签筛选条件弹窗 -->
<el-dialog
title=
"标签筛选条件"
:visible
.
sync=
"labelVisible"
width=
"
4
00px"
center
>
<el-dialog
title=
"标签筛选条件"
:visible
.
sync=
"labelVisible"
width=
"
3
00px"
center
>
<div
v-if=
"dataProjectLabels"
v-for=
"(item,i) in dataProjectLabels"
align=
"center
"
>
<div
style=
"display: flex;margin-top:10px;"
v-if=
"dataProjectLabels"
v-for=
"(item,i) in dataProjectLabels
"
>
<div
class=
"same-line-class"
style=
"margin-right:
2
0px;"
>
{{item.labelValue}}
</div>
<div
class=
"same-line-class"
style=
"margin-right:
10px;margin-top:1
0px;"
>
{{item.labelValue}}
</div>
<div
class=
"
same-line-class
"
>
<div
class=
"
input-comp
"
>
<el-input
v-model=
"dataProjectContents[i]"
size=
"small"
/>
<el-input
v-model=
"dataProjectContents[i]"
size=
"small"
/>
</div>
</div>
</div>
</div>
...
@@ -203,9 +208,9 @@
...
@@ -203,9 +208,9 @@
<!-- 添加设置标签弹窗 -->
<!-- 添加设置标签弹窗 -->
<el-dialog
title=
"设置标签"
:visible
.
sync=
"setLabelVisible"
width=
"300px"
center
>
<el-dialog
title=
"设置标签"
:visible
.
sync=
"setLabelVisible"
width=
"300px"
center
>
<div
v-if=
"dataProjectLabels"
v-for=
"(item, i) in dataProjectLabels"
align=
"center"
>
<div
style=
"display: flex;margin-top:10px;"
v-if=
"dataProjectLabels"
v-for=
"(item, i) in dataProjectLabels"
align=
"center"
>
<div
class=
"same-line-class"
style=
"margin-right:
2
0px;"
>
{{item.labelValue}}
</div>
<div
class=
"same-line-class"
style=
"margin-right:
10px;margin-top:1
0px;"
>
{{item.labelValue}}
</div>
<div
class=
"
same-line-class
"
>
<div
class=
"
input-comp
"
>
<el-input
v-model=
"setLabelList[i]"
size=
"small"
/>
<el-input
v-model=
"setLabelList[i]"
size=
"small"
/>
</div>
</div>
</div>
</div>
...
@@ -256,12 +261,7 @@
...
@@ -256,12 +261,7 @@
</el-dialog>
</el-dialog>
<!-- 拨号弹窗 -->
<!-- 拨号弹窗 -->
<el-dialog
<el-dialog
title=
"拨号"
:visible
.
sync=
"dialVisible"
width=
"300px"
center
>
title=
"拨号"
:visible
.
sync=
"dialVisible"
width=
"300px"
center
>
<a
:href=
"'tel:' + dialPhoneNum"
>
拨打电话给: {{dialPhoneNum}}
</a>
<a
:href=
"'tel:' + dialPhoneNum"
>
拨打电话给: {{dialPhoneNum}}
</a>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<!-- <el-button type="primary" @click="gotoDialPhone">确 定</el-button> -->
<!-- <el-button type="primary" @click="gotoDialPhone">确 定</el-button> -->
...
@@ -280,11 +280,7 @@
...
@@ -280,11 +280,7 @@
</el-dialog>
</el-dialog>
<!-- 浏览器检测弹窗 -->
<!-- 浏览器检测弹窗 -->
<el-dialog
<el-dialog
title=
"当前不是chome浏览器,去下载?"
:visible
.
sync=
"browserVisible"
width=
"300px"
>
title=
"当前不是chome浏览器,去下载?"
:visible
.
sync=
"browserVisible"
width=
"300px"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"down"
>
确定
</el-button>
<el-button
@
click=
"down"
>
确定
</el-button>
<el-button
@
click=
"browserVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"browserVisible = false"
>
取 消
</el-button>
...
@@ -743,7 +739,7 @@ export default {
...
@@ -743,7 +739,7 @@ export default {
// vm.historyLabelList.menus.length
// vm.historyLabelList.menus.length
// );
// );
if
(
vm
.
dataProjectLabels
==
null
||
vm
.
dataProjectLabels
==
""
)
{
if
(
vm
.
dataProjectLabels
==
null
||
vm
.
dataProjectLabels
==
""
)
{
vm
.
$message
.
info
(
"未设置过标签"
)
vm
.
$message
.
info
(
"未设置过标签"
)
;
}
}
}
else
{
}
else
{
vm
.
$message
.
error
(
res
.
message
);
vm
.
$message
.
error
(
res
.
message
);
...
@@ -795,7 +791,7 @@ export default {
...
@@ -795,7 +791,7 @@ export default {
//拨号
//拨号
dialPhone
(
row
)
{
dialPhone
(
row
)
{
console
.
log
(
"tableDataList.columnList() : "
+
row
.
column1
)
console
.
log
(
"tableDataList.columnList() : "
+
row
.
column1
)
;
vm
.
dialPhoneNum
=
row
.
column1
;
vm
.
dialPhoneNum
=
row
.
column1
;
vm
.
dialVisible
=
true
;
vm
.
dialVisible
=
true
;
},
},
...
@@ -882,31 +878,39 @@ export default {
...
@@ -882,31 +878,39 @@ export default {
checkChrome
()
{
checkChrome
()
{
// return (navigator.appVersion.indexOf('Chrome') || navigator.appVersion.indexOf('chrome')) != -1;
// return (navigator.appVersion.indexOf('Chrome') || navigator.appVersion.indexOf('chrome')) != -1;
return
this
.
getBroswer
().
broswer
==
'Chrome'
return
this
.
getBroswer
().
broswer
==
"Chrome"
;
},
},
getBroswer
()
{
getBroswer
()
{
let
sys
=
{};
let
sys
=
{};
let
ua
=
navigator
.
userAgent
.
toLowerCase
();
let
ua
=
navigator
.
userAgent
.
toLowerCase
();
let
s
;
let
s
;
(
s
=
ua
.
match
(
/edge
\/([\d
.
]
+
)
/
))
?
sys
.
edge
=
s
[
1
]
:
(
s
=
ua
.
match
(
/edge
\/([\d
.
]
+
)
/
))
(
s
=
ua
.
match
(
/rv:
([\d
.
]
+
)\)
like gecko/
))
?
sys
.
ie
=
s
[
1
]
:
?
(
sys
.
edge
=
s
[
1
])
(
s
=
ua
.
match
(
/msie
([\d
.
]
+
)
/
))
?
sys
.
ie
=
s
[
1
]
:
:
(
s
=
ua
.
match
(
/rv:
([\d
.
]
+
)\)
like gecko/
))
(
s
=
ua
.
match
(
/firefox
\/([\d
.
]
+
)
/
))
?
sys
.
firefox
=
s
[
1
]
:
?
(
sys
.
ie
=
s
[
1
])
(
s
=
ua
.
match
(
/chrome
\/([\d
.
]
+
)
/
))
?
sys
.
chrome
=
s
[
1
]
:
:
(
s
=
ua
.
match
(
/msie
([\d
.
]
+
)
/
))
(
s
=
ua
.
match
(
/opera.
([\d
.
]
+
)
/
))
?
sys
.
opera
=
s
[
1
]
:
?
(
sys
.
ie
=
s
[
1
])
(
s
=
ua
.
match
(
/version
\/([\d
.
]
+
)
.*safari/
))
?
sys
.
safari
=
s
[
1
]
:
0
;
:
(
s
=
ua
.
match
(
/firefox
\/([\d
.
]
+
)
/
))
?
(
sys
.
firefox
=
s
[
1
])
if
(
sys
.
edge
)
return
{
broswer
:
"Edge"
,
version
:
sys
.
edge
};
:
(
s
=
ua
.
match
(
/chrome
\/([\d
.
]
+
)
/
))
if
(
sys
.
ie
)
return
{
broswer
:
"IE"
,
version
:
sys
.
ie
};
?
(
sys
.
chrome
=
s
[
1
])
if
(
sys
.
firefox
)
return
{
broswer
:
"Firefox"
,
version
:
sys
.
firefox
};
:
(
s
=
ua
.
match
(
/opera.
([\d
.
]
+
)
/
))
if
(
sys
.
chrome
)
return
{
broswer
:
"Chrome"
,
version
:
sys
.
chrome
};
?
(
sys
.
opera
=
s
[
1
])
if
(
sys
.
opera
)
return
{
broswer
:
"Opera"
,
version
:
sys
.
opera
};
:
(
s
=
ua
.
match
(
/version
\/([\d
.
]
+
)
.*safari/
))
if
(
sys
.
safari
)
return
{
broswer
:
"Safari"
,
version
:
sys
.
safari
};
?
(
sys
.
safari
=
s
[
1
])
:
0
;
return
{
broswer
:
""
,
version
:
"0"
};
if
(
sys
.
edge
)
return
{
broswer
:
"Edge"
,
version
:
sys
.
edge
};
if
(
sys
.
ie
)
return
{
broswer
:
"IE"
,
version
:
sys
.
ie
};
if
(
sys
.
firefox
)
return
{
broswer
:
"Firefox"
,
version
:
sys
.
firefox
};
if
(
sys
.
chrome
)
return
{
broswer
:
"Chrome"
,
version
:
sys
.
chrome
};
if
(
sys
.
opera
)
return
{
broswer
:
"Opera"
,
version
:
sys
.
opera
};
if
(
sys
.
safari
)
return
{
broswer
:
"Safari"
,
version
:
sys
.
safari
};
return
{
broswer
:
""
,
version
:
"0"
};
},
},
down
()
{
down
()
{
window
.
location
.
href
=
'http://www.google.cn/chrome/'
;
window
.
location
.
href
=
"http://www.google.cn/chrome/"
;
},
},
sendRequest
(
type
,
url
,
params
,
callback
)
{
sendRequest
(
type
,
url
,
params
,
callback
)
{
...
@@ -981,13 +985,19 @@ export default {
...
@@ -981,13 +985,19 @@ export default {
color: #606266;
color: #606266;
font-size: 14px;
font-size: 14px;
}
}
.class-top-row {
overflow-x: scroll;
.button-wrap {
.button-wrap {
margin: 20px 0;
margin: 20px 0;
width: 600px;
.each-button {
.each-button {
float: right;
//
float: right;
margin: 0 15px 0 5
px;
margin: 0px 0px 0 20
px;
}
}
}
}
}
.el-table {
.el-table {
-webkit-overflow-scrolling: touch;
-webkit-overflow-scrolling: touch;
}
}
...
@@ -1089,8 +1099,11 @@ export default {
...
@@ -1089,8 +1099,11 @@ export default {
background: rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.2);
}
}
.same-line-class {
.same-line-class {
margin-top: 2
0px;
// margin-top: 1
0px;
display: inline-block;
display: inline-block;
.input-comp {
width: 100px;
}
}
}
}
}
</
style
>
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录