Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
b7b835ff
Commit
b7b835ff
authored
Jan 10, 2022
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑库页面优化,正则优化
parent
b1ec610c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
src/utils/verify-data/VerifyDataType.js
+2
-2
src/views/xtfkgl/XtfkAndGzlView.vue
+9
-7
src/views/xtfkgl/scss/dialog_table.scss
+4
-6
No files found.
src/utils/verify-data/VerifyDataType.js
View file @
b7b835ff
...
...
@@ -6,7 +6,7 @@ export default {
* @author: li_hongchao
* @date: 2022/1/9 19:47
*/
_LJFKM
:
/
(([\u
4E00-
\u
9FA5·
]{2,})
|
([
a-zA-Z
]{4,}))
/
,
_LJFKM
:
/
^
[\u
4e00-
\u
9fa5
]{2,}
$
/
,
_NUMBER
:
/^
(
0|
([
0-9
]
+
\\
.
[
0-9
]
*
[
1-9
][
0-9
]
*
)
|
([
0-9
]
*
[
1-9
][
0-9
]
*
\\
.
[
0-9
]
+
)
|
([
0-9
]
*
[
1-9
][
0-9
]
*
))
$/
,
...
...
@@ -60,7 +60,7 @@ export default {
* @author: li_hongchao
* @date: 2022/1/9 19:42
*/
_CHINESE
:
/^
[\
\
u0391-
\\
uFFE
5
]
+$/
,
_CHINESE
:
/^
[\
u
4E00-
\u
9FA
5
]
+$/
,
/**
* Description: 手机号码
...
...
src/views/xtfkgl/XtfkAndGzlView.vue
View file @
b7b835ff
...
...
@@ -112,10 +112,11 @@
<el-row
style=
"margin-bottom: 20px;"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"队列名称:"
prop=
"pattern"
>
<div
style=
"margin-left: 40px;"
>
<div>
<div
v-for=
"(item,gindex) in getDlmcArr()"
:class=
"
{'dui-lie-ming-cheng':true,'dui-lie-ming-cheng-bx':isBxCxdl(item.type)}"
v-show="getDlmcArr()
&&
getDlmcArr().length > 0">
v-show="getDlmcArr()
&&
getDlmcArr().length > 0"
:style="{marginLeft: gindex===0?'0px':'20px'}">
<i
v-if=
"!isBxCxdl(item.type)"
class=
"el-icon-circle-plus icon"
style=
"color: #055fe7"
@
click=
"updateGzdl(item,gindex,true)"
/>
...
...
@@ -134,7 +135,8 @@
</div>
</div>
<div
v-show=
"!getDlmcArr() || getDlmcArr().length
<
=
0
"
v-for=
"item in getDlCount()"
class=
"kong"
/>
v-for=
"(item,index) in getDlCount()"
class=
"kong"
:style=
"
{marginLeft: index===0?'0px':'20px'}" />
</div>
</el-form-item>
</el-col>
...
...
@@ -154,7 +156,7 @@
<div
:key=
"item.type"
class=
"itemBox"
:style=
"
{marginLeft: gindex===0?'
40
px':'0px'}">
:style=
"
{marginLeft: gindex===0?'
16
px':'0px'}">
<div>
<img
class=
"dlIndexBg"
...
...
@@ -196,8 +198,8 @@
<!-- 并行模式;-->
<div
v-if=
"gzlRuleForm.pattern === 1"
v-for=
"(item,gindex) in getGzdlArr()"
:class=
"
{'gong-zuo-dui-lie-bingxing-item':true
, kk:gindex !== 0
}">
<div
class=
"gong-zuo-dui-lie-bingxing-item-left"
>
:class=
"
{'gong-zuo-dui-lie-bingxing-item':true}">
<div
class=
"gong-zuo-dui-lie-bingxing-item-left"
style=
"margin-left: -30px;"
>
<div
:class=
"
{verLine:true,verLineTrans: gindex === 0}" />
<div
:class=
"
{verLine:true,verLineTrans: gindex === getGzdlArr().length -1}" />
</div>
...
...
@@ -324,7 +326,7 @@ export default {
{
required
:
true
,
message
:
'请输入逻辑库名称'
,
trigger
:
'change'
},
{
pattern
:
verifyData
.
_LJFKM
,
message
:
'名称必须至少两个汉字
或四个字母
!'
,
message
:
'名称必须至少两个汉字!'
,
trigger
:
'change'
}
]
...
...
src/views/xtfkgl/scss/dialog_table.scss
View file @
b7b835ff
...
...
@@ -130,9 +130,8 @@
flex-direction
:
row
;
.input-info-sm
{
width
:
6
7
0px
;
width
:
6
0
0px
;
height
:
76px
;
margin-left
:
20px
;
background
:
#F6F8FA
;
box-shadow
:
0px
1px
2px
0px
rgba
(
5
,
95
,
231
,
0
.18
);
border-radius
:
4px
;
...
...
@@ -316,10 +315,6 @@
}
.kk
{
margin-left
:
73px
;
}
.gong-zuo-dui-lie-bingxing-item
{
height
:
52px
;
display
:
flex
;
...
...
@@ -411,6 +406,9 @@
}
}
.kk
{
margin-left
:
60px
;
}
.gzdl-line
{
margin-right
:
12px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment