Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
cb6ec3d9
Commit
cb6ec3d9
authored
Apr 17, 2023
by
zhangliding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态交易修改
parent
41c22af6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
16 deletions
+24
-16
Apf.js
src/views/Statics/Apf/model/Apf.js
+4
-0
ApfInfo.vue
src/views/Statics/Apf/views/Dbiapf/ApfInfo.vue
+1
-5
index.vue
src/views/Statics/Apf/views/Dbiapf/index.vue
+6
-4
Infsea.vue
src/views/Statics/Apf/views/Infapf/Infsea.vue
+12
-6
index.vue
src/views/Statics/Apf/views/Infapf/index.vue
+1
-1
No files found.
src/views/Statics/Apf/model/Apf.js
View file @
cb6ec3d9
...
@@ -18,6 +18,10 @@ export const Pattern = {
...
@@ -18,6 +18,10 @@ export const Pattern = {
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
8
,
"message"
:
"最大长度8个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
8
,
"message"
:
"最大长度8个字符"
,
"trigger"
:
"blur"
}
],
],
"ver"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
4
,
"message"
:
"最大长度4个字符"
,
"trigger"
:
"blur"
}
],
"cod"
:
[
"cod"
:
[
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"required"
:
true
,
"message"
:
"必输项"
,
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
6
,
"message"
:
"最大长度6个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
6
,
"message"
:
"最大长度6个字符"
,
"trigger"
:
"blur"
}
...
...
src/views/Statics/Apf/views/Dbiapf/ApfInfo.vue
View file @
cb6ec3d9
...
@@ -33,11 +33,7 @@
...
@@ -33,11 +33,7 @@
<c-input
v-model=
"model.pri"
placeholder=
"请输入优先级"
>
</c-input>
<c-input
v-model=
"model.pri"
placeholder=
"请输入优先级"
>
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"版本号"
prop=
"ver"
>
<c-input
v-model=
"model.ver"
placeholder=
"请输入版本号"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/Statics/Apf/views/Dbiapf/index.vue
View file @
cb6ec3d9
...
@@ -90,8 +90,8 @@ export default {
...
@@ -90,8 +90,8 @@ export default {
created
()
{
created
()
{
if
(
this
.
type
!==
"add"
)
{
if
(
this
.
type
!==
"add"
)
{
const
inr
=
this
.
$route
.
params
.
inr
;
const
inr
=
this
.
$route
.
params
.
inr
;
const
data
=
{
inr
:
inr
};
queryById
(
data
).
then
((
res
)
=>
{
queryById
(
inr
).
then
((
res
)
=>
{
if
(
res
.
inr
)
{
if
(
res
.
inr
)
{
this
.
model
=
res
;
this
.
model
=
res
;
}
else
{
}
else
{
...
@@ -139,9 +139,10 @@ export default {
...
@@ -139,9 +139,10 @@ export default {
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
type
:
"warning"
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
const
data
=
{
inr
:
this
.
model
.
inr
}
;
const
inr
=
this
.
$route
.
params
.
inr
;
deleteById
(
data
)
deleteById
(
inr
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$message
.
success
(
"删除成功!"
);
this
.
$message
.
success
(
"删除成功!"
);
this
.
goBack
(
true
);
this
.
goBack
(
true
);
...
@@ -163,6 +164,7 @@ export default {
...
@@ -163,6 +164,7 @@ export default {
goBack
(
update
)
{
goBack
(
update
)
{
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
);
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
);
this
.
$router
.
push
({
name
:
"StaticsInfapf"
,
params
:
{
update
}
});
this
.
$router
.
push
({
name
:
"StaticsInfapf"
,
params
:
{
update
}
});
},
},
},
},
};
};
...
...
src/views/Statics/Apf/views/Infapf/Infsea.vue
View file @
cb6ec3d9
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"text-align: left"
>
<c-col
:span=
"12"
style=
"text-align: left"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"a
ct
Add"
>
新增
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"a
pf
Add"
>
新增
</el-button>
</c-col>
</c-col>
<c-col
:span=
"12"
style=
"text-align: right"
>
<c-col
:span=
"12"
style=
"text-align: right"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-paging-table
<c-paging-table
:data=
"a
ct
Data"
:data=
"a
pf
Data"
:columns=
"a
ct
Columns"
:columns=
"a
pf
Columns"
:pageNumber=
"model.pageNum"
:pageNumber=
"model.pageNum"
:pageSize=
"model.pageSize"
:pageSize=
"model.pageSize"
:total=
"model.total"
:total=
"model.total"
...
@@ -127,8 +127,8 @@ export default {
...
@@ -127,8 +127,8 @@ export default {
inject
:
[
"root"
],
inject
:
[
"root"
],
data
()
{
data
()
{
return
{
return
{
a
ct
Data
:
[],
a
pf
Data
:
[],
a
ct
Columns
:
[
a
pf
Columns
:
[
{
label
:
'样式设置'
,
prop
:
'cod'
,
width
:
'auto'
},
{
label
:
'样式设置'
,
prop
:
'cod'
,
width
:
'auto'
},
{
label
:
'描述'
,
prop
:
'cod'
,
width
:
'auto'
},
{
label
:
'描述'
,
prop
:
'cod'
,
width
:
'auto'
},
],
],
...
@@ -138,6 +138,8 @@ export default {
...
@@ -138,6 +138,8 @@ export default {
},
},
activated
()
{
activated
()
{
const
{
update
}
=
this
.
$route
.
params
const
{
update
}
=
this
.
$route
.
params
console
.
log
(
"================================"
)
console
.
log
(
update
);
if
(
update
)
{
if
(
update
)
{
this
.
onInfapfSearch
()
this
.
onInfapfSearch
()
}
}
...
@@ -161,7 +163,7 @@ export default {
...
@@ -161,7 +163,7 @@ export default {
* totalPage: 0
* totalPage: 0
*/
*/
const
list
=
res
.
list
const
list
=
res
.
list
this
.
a
ct
Data
=
list
this
.
a
pf
Data
=
list
this
.
model
.
pageNum
=
res
.
pageNumber
this
.
model
.
pageNum
=
res
.
pageNumber
this
.
model
.
pageSize
=
res
.
pageSize
this
.
model
.
pageSize
=
res
.
pageSize
this
.
model
.
total
=
res
.
total
this
.
model
.
total
=
res
.
total
...
@@ -172,6 +174,9 @@ export default {
...
@@ -172,6 +174,9 @@ export default {
this
.
model
.
pageSize
=
pageSize
this
.
model
.
pageSize
=
pageSize
this
.
onInfapfSearch
()
this
.
onInfapfSearch
()
},
},
apftypeChange
(
val
)
{
this
.
model
.
apftyp
=
val
;
},
getCodesByKey
(
key
)
{
getCodesByKey
(
key
)
{
return
codes
[
key
]
??
[];
return
codes
[
key
]
??
[];
},
},
...
@@ -179,6 +184,7 @@ export default {
...
@@ -179,6 +184,7 @@ export default {
this
.
$router
.
push
(
`/statics/dbaapf`
)
this
.
$router
.
push
(
`/statics/dbaapf`
)
},
},
apfInfo
(
index
,
row
)
{
apfInfo
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbiapf/
${
row
.
inr
}
`
)
this
.
$router
.
push
(
`/statics/dbiapf/
${
row
.
inr
}
`
)
},
},
apfEdit
(
index
,
row
)
{
apfEdit
(
index
,
row
)
{
...
...
src/views/Statics/Apf/views/Infapf/index.vue
View file @
cb6ec3d9
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
import
Infsea
from
"./Infsea"
;
import
Infsea
from
"./Infsea"
;
export
default
{
export
default
{
name
:
"StaticsInfa
ct
"
,
name
:
"StaticsInfa
pf
"
,
components
:
{
components
:
{
"m-infsea"
:
Infsea
,
"m-infsea"
:
Infsea
,
},
},
...
...
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