Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6a9c7812
authored
Apr 18, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI 调整
1 parent
a18ee02b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
228 deletions
linkwe-pc/src/layout/components/AppMain.vue
linkwe-pc/src/views/drainageCode/smartForms/index.vue
linkwe-pc/src/views/drainageCode/staff/list.vue
linkwe-pc/src/layout/components/AppMain.vue
View file @
6a9c781
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<!--
<keep-alive
:include=
"cachedViews"
>
<!--
<keep-alive
:include=
"cachedViews"
>
</keep-alive>
-->
</keep-alive>
-->
</transition>
</transition>
<div
v-loading=
"loading"
class=
"micro-app-wrap container"
>
<div
v-loading=
"loading"
class=
"micro-app-wrap container"
v-show=
"isActiveMicroApp"
>
<div
id=
"micro-app"
class=
"height100"
v-show=
"isActiveMicroApp"
>
<div
id=
"micro-app"
class=
"height100"
>
<!--
<div
id=
"app"
class=
"mask"
style=
"position: absolute"
>
<!--
<div
id=
"app"
class=
"mask"
style=
"position: absolute"
>
<i
class=
"el-icon-loading cc"
></i>
<i
class=
"el-icon-loading cc"
></i>
</div>
-->
</div>
-->
...
@@ -79,16 +79,23 @@ export default {
...
@@ -79,16 +79,23 @@ export default {
//
}
//
}
.app-main
{
.app-main
{
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
flex
:
auto
;
flex
:
auto
;
//
overflow
:
hidden
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
margin-top
:
20px
;
margin-top
:
20px
;
padding
:
0
15px
0
20px
;
&::-webkit-scrollbar-thumb
{
visibility
:
hidden
;
}
&
:hover::-webkit-scrollbar-thumb
{
visibility
:
visible
;
}
}
}
.container
{
.container
{
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
&::-webkit-scrollbar-thumb
{
&::-webkit-scrollbar-thumb
{
visibility
:
hidden
;
visibility
:
hidden
;
}
}
...
@@ -97,12 +104,10 @@ export default {
...
@@ -97,12 +104,10 @@ export default {
}
}
}
}
.page
{
.page
{
padding
:
0
15px
0
20px
;
//
background
:
#fff
;
//
background
:
#fff
;
//
border-radius
:
var
(
--border-radius-big
);
//
border-radius
:
var
(
--border-radius-big
);
}
}
.micro-app-wrap
{
.micro-app-wrap
{
margin
:
0
20px
;
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
padding-top
:
50px
;
padding-top
:
50px
;
...
...
linkwe-pc/src/views/drainageCode/smartForms/index.vue
View file @
6a9c781
<
template
>
<
template
>
<div>
<div>
<div
class=
"g-card"
>
<div
class=
"g-left-right"
>
<el-row
type=
"flex"
justify=
"space-between"
>
<div
class=
"left g-card"
>
<el-col
:span=
"4"
class=
"left pad20"
>
<div
class=
"title"
>
<div
class=
"title"
>
<div
class=
"title-name"
>
表单分组
</div>
<div
class=
"title-name"
>
表单分组
</div>
<div
class=
"title-btn"
@
click=
"addGroup"
>
添加
</div>
<div
class=
"title-btn"
@
click=
"addGroup"
>
添加
</div>
...
@@ -32,9 +31,9 @@
...
@@ -32,9 +31,9 @@
</el-dropdown>
</el-dropdown>
</div>
</div>
</div>
</div>
</el-col
>
</div
>
<el-col
:span=
"20"
class=
"pad20
"
>
<div
class=
"right
"
>
<el-form
:inline=
"true"
label-width=
"80px"
label-position=
"left"
class=
"
"
>
<el-form
:inline=
"true"
label-width=
""
label-position=
"left"
class=
"top-search
"
>
<el-form-item
label=
"表单ID"
>
<el-form-item
label=
"表单ID"
>
<el-input
<el-input
onkeyup=
"value=value.replace(/[^\d]/g,'')"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
...
@@ -82,6 +81,7 @@
...
@@ -82,6 +81,7 @@
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"g-card"
>
<div
class=
"mid-action"
>
<div
class=
"mid-action"
>
<el-button
type=
"primary"
@
click=
"goRoute('add')"
>
新建表单
</el-button>
<el-button
type=
"primary"
@
click=
"goRoute('add')"
>
新建表单
</el-button>
<div>
<div>
...
@@ -228,8 +228,8 @@
...
@@ -228,8 +228,8 @@
<pagination
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
<pagination
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
<!-- </div> -->
<!-- </div> -->
</
el-col
>
</
div
>
</
el-row
>
</
div
>
</div>
</div>
<!-- 批量新建弹窗 -->
<!-- 批量新建弹窗 -->
...
@@ -731,100 +731,4 @@ export default {
...
@@ -731,100 +731,4 @@ export default {
background-color
:
#f5f8fe
;
background-color
:
#f5f8fe
;
}
}
}
}
.left
{
border-right
:
1px
solid
#f1f1f1
;
.title
{
color
:
var
(
--color
);
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
//
padding-right
:
20px
;
.title-name
{
font-size
:
12px
;
font-weight
:
400
;
color
:
#333333
;
display
:
flex
;
align-items
:
center
;
}
.title-btn
{
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--color
);
&:hover
{
opacity
:
0.8
;
}
}
}
.item-list
{
max-height
:
800px
;
padding-top
:
15px
;
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
.item
{
cursor
:
pointer
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
12px
;
color
:
#333333
;
height
:
40px
;
line-height
:
40px
;
width
:
100%
;
padding-left
:
20px
;
.name
{
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.dropdown
{
//
display
:
none
;
.dot
{
cursor
:
pointer
;
width
:
14px
;
height
:
14px
;
line-height
:
14px
;
font-size
:
14px
;
font-family
:
JMT-Font
,
JMT
;
font-weight
:
normal
;
color
:
var
(
--color
);
margin-right
:
20px
;
margin-left
:
5px
;
}
}
&
:hover
{
color
:
var
(
--color
);
background
:
#f5f8fe
;
opacity
:
0.8
;
.dropdown
{
//
display
:
block
;
}
}
}
.active
{
//
border-left
:
2px
solid
var
(
--color
);
color
:
var
(
--color
);
background
:
#f5f8fe
;
}
}
}
</
style
>
</
style
>
linkwe-pc/src/views/drainageCode/staff/list.vue
View file @
6a9c781
<
template
>
<
template
>
<div
style=
"height: 100%"
>
<div
style=
"height: 100%"
>
<
el-row
style=
"height: 100%"
class=
"g-card"
type=
"flex"
justify=
"space-between
"
>
<
div
class=
"g-left-right
"
>
<
el-col
:span=
"5"
class=
"left
"
>
<
div
class=
"left g-card
"
>
<div
class=
"title"
>
<div
class=
"title"
>
<div
class=
"title-name"
>
<div
class=
"title-name"
>
<i
class=
"el-icon-arrow-up mr5"
></i>
<i
class=
"el-icon-arrow-up mr5"
></i>
全部
全部
</div>
</div>
<div
class=
"title-btn"
@
click=
"addGroup"
>
<div
class=
"title-btn"
@
click=
"addGroup"
>
添加
</div>
<i
class=
"el-icon-circle-plus-outline mr5"
></i>
添加
</div>
</div>
</div>
<el-scrollbar
class=
"item-list"
>
<el-scrollbar
class=
"item-list"
>
<div
<div
...
@@ -35,9 +32,9 @@
...
@@ -35,9 +32,9 @@
</el-dropdown>
</el-dropdown>
</div>
</div>
</el-scrollbar>
</el-scrollbar>
</
el-col
>
</
div
>
<
el-col
:span=
"19"
class=
"
"
>
<
div
class=
"right
"
>
<el-form
:inline=
"true"
label-width=
""
label-position=
"left"
>
<el-form
:inline=
"true"
label-width=
""
label-position=
"left"
class=
"top-search fxnone"
>
<el-form-item
label=
"活码名称"
>
<el-form-item
label=
"活码名称"
>
<el-input
v-model=
"query.qrName"
placeholder=
"请输入活码名称"
clearable
@
keyup
.
enter
.
native=
"search()"
/>
<el-input
v-model=
"query.qrName"
placeholder=
"请输入活码名称"
clearable
@
keyup
.
enter
.
native=
"search()"
/>
</el-form-item>
</el-form-item>
...
@@ -49,8 +46,8 @@
...
@@ -49,8 +46,8 @@
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"g-card"
>
<div
style=
"display: flex; justify-content: space-betwee
n"
>
<div
class=
"mid-actio
n"
>
<el-button
type=
"primary"
@
click=
"goRoute('staffAdd')"
>
新建员工活码
</el-button>
<el-button
type=
"primary"
@
click=
"goRoute('staffAdd')"
>
新建员工活码
</el-button>
<div>
<div>
<el-button
type=
"primary"
plain
@
click=
"removeFn('mult')"
>
删除
</el-button>
<el-button
type=
"primary"
plain
@
click=
"removeFn('mult')"
>
删除
</el-button>
...
@@ -96,16 +93,18 @@
...
@@ -96,16 +93,18 @@
<!-- <el-table-column label="最近更新时间" align="center" prop="updateTime" width="180">
<!-- <el-table-column label="最近更新时间" align="center" prop="updateTime" width="180">
</el-table-column> -->
</el-table-column> -->
<el-table-column
label=
"最近更新时间"
align=
"center"
prop=
"updateTime"
width=
"180"
></el-table-column>
<el-table-column
label=
"最近更新时间"
align=
"center"
prop=
"updateTime"
width=
"180"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"180"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"180"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<!--
<el-button
type=
"text"
@
click=
"download(row.id, row.useUserName, row.scenario)"
v-hasPermi=
"['wecom:code:download']"
>
下载
</el-button>
<el-button
type=
"text"
class=
"copy-btn"
:data-clipboard-text=
"row.qrCode"
v-hasPermi=
"['monitor:operlog:query']"
>
复制链接
</el-button>
<el-button
type=
"text"
@
click=
"goRoute('staffDetail', row.id)"
v-hasPermi=
"['drainageCode:staff:detail']"
>
查看详情
</el-button>
<el-button
type=
"text"
@
click=
"goRoute('staffAdd', row.id)"
v-hasPermi=
"['wecom:code:edit']"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"remove(row.id)"
v-hasPermi=
"['wecom:code:remove']"
>
删除
</el-button>
-->
<el-button
type=
"text"
@
click=
"goRoute('staffDetail', row.id)"
>
详情|统计
</el-button>
<el-button
type=
"text"
@
click=
"goRoute('staffDetail', row.id)"
>
详情|统计
</el-button>
<el-button
type=
"text"
@
click=
"goRoute('staffAdd', row.id)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"goRoute('staffAdd', row.id)"
>
编辑
</el-button>
<el-dropdown
style=
"margin-left: 10px"
>
<el-button
type=
"text"
@
click=
"download(row.qrCode, row.name)"
>
下载
</el-button>
<el-button
type=
"text"
@
click=
"removeFn('single', row.id)"
>
删除
</el-button>
<!--
<el-dropdown
style=
"margin-left: 10px"
>
<el-button
type=
"text"
>
<el-button
type=
"text"
>
<i
class=
"el-icon-more"
></i>
<i
class=
"el-icon-more"
></i>
</el-button>
</el-button>
...
@@ -117,7 +116,7 @@
...
@@ -117,7 +116,7 @@
<el-button
type=
"text"
@
click=
"removeFn('single', row.id)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"removeFn('single', row.id)"
>
删除
</el-button>
</el-dropdown-item>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown
>
</el-dropdown>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -125,8 +124,9 @@
...
@@ -125,8 +124,9 @@
<pagination
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
<pagination
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
<!-- </div> -->
<!-- </div> -->
</el-col>
</div>
</el-row>
</div>
</div>
<!-- 批量新建弹窗 -->
<!-- 批量新建弹窗 -->
<SelectWeUser
<SelectWeUser
...
@@ -478,100 +478,4 @@ export default {
...
@@ -478,100 +478,4 @@ export default {
background-color
:
#f5f8fe
;
background-color
:
#f5f8fe
;
}
}
}
}
.left
{
border-right
:
1px
solid
#f1f1f1
;
padding-right
:
20px
;
margin-right
:
20px
;
.title
{
color
:
var
(
--color
);
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
//
padding-right
:
20px
;
.title-name
{
font-size
:
12px
;
font-weight
:
400
;
color
:
#333333
;
display
:
flex
;
align-items
:
center
;
}
.title-btn
{
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--color
);
&:hover
{
opacity
:
0.8
;
}
}
}
.item-list
{
margin-top
:
15px
;
display
:
flex
;
flex-direction
:
column
;
height
:
calc
(
100%
-
30px
);
overflow-x
:
hidden
;
overflow-y
:
auto
;
.item
{
cursor
:
pointer
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
12px
;
color
:
#333333
;
height
:
40px
;
line-height
:
40px
;
width
:
100%
;
padding-left
:
20px
;
.name
{
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.dropdown
{
//
display
:
none
;
.dot
{
cursor
:
pointer
;
width
:
14px
;
height
:
14px
;
line-height
:
14px
;
font-size
:
14px
;
font-family
:
JMT-Font
,
JMT
;
font-weight
:
normal
;
color
:
var
(
--color
);
margin-right
:
20px
;
margin-left
:
5px
;
}
}
&
:hover
{
color
:
var
(
--color
);
background
:
#f5f8fe
;
opacity
:
0.8
;
.dropdown
{
//
display
:
block
;
}
}
}
.active
{
//
border-left
:
2px
solid
var
(
--color
);
color
:
var
(
--color
);
background
:
#f5f8fe
;
}
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment