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
8d045016
Commit
8d045016
authored
Feb 07, 2023
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infpts更新
parent
3e984269
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
pts.js
src/service/test/pts.js
+1
-1
Pts.js
src/views/Statics/Dbipts/Pts.js
+3
-3
index.vue
src/views/Statics/Dbipts/index.vue
+3
-6
StaticsRouter.js
src/views/Statics/StaticsRouter.js
+1
-1
No files found.
src/service/test/pts.js
View file @
8d045016
...
@@ -15,7 +15,7 @@ export function insert(data) {
...
@@ -15,7 +15,7 @@ export function insert(data) {
return
Api
.
post
(
"/manager/pts/insert"
,
data
)
return
Api
.
post
(
"/manager/pts/insert"
,
data
)
}
}
export
function
edit
(
data
)
{
export
function
edit
(
data
)
{
return
Api
.
post
(
"/manager/pts/
update
"
,
data
)
return
Api
.
post
(
"/manager/pts/
edit
"
,
data
)
}
}
export
function
deleteById
(
data
)
{
export
function
deleteById
(
data
)
{
return
Api
.
post
(
"/manager/pts/deleteById"
,
data
)
return
Api
.
post
(
"/manager/pts/deleteById"
,
data
)
...
...
src/views/Statics/Dbipts/Pts.js
View file @
8d045016
...
@@ -14,11 +14,11 @@ export const Pattern = {
...
@@ -14,11 +14,11 @@ export const Pattern = {
"extkey"
:
[
"extkey"
:
[
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
16
,
"message"
:
"最大长度16个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
55
,
"message"
:
"最大长度16个字符"
,
"trigger"
:
"blur"
}
],
],
"nam"
:
[
"nam"
:
[
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
40
,
"message"
:
"最大长度40个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
1
40
,
"message"
:
"最大长度40个字符"
,
"trigger"
:
"blur"
}
],
],
"branch"
:
[
"branch"
:
[
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
...
@@ -26,6 +26,6 @@ export const Pattern = {
...
@@ -26,6 +26,6 @@ export const Pattern = {
],
],
"bchname"
:
[
"bchname"
:
[
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"type"
:
"string"
,
"trigger"
:
"blur"
},
{
"max"
:
4
0
,
"message"
:
"最大长度40个字符"
,
"trigger"
:
"blur"
}
{
"max"
:
10
0
,
"message"
:
"最大长度40个字符"
,
"trigger"
:
"blur"
}
],
],
}
}
src/views/Statics/Dbipts/index.vue
View file @
8d045016
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
:model=
"model"
:model=
"model"
:rules=
"rules"
:rules=
"rules"
:validate-on-rule-change=
"false"
:validate-on-rule-change=
"false"
:disabled=
"isDisabled"
>
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"changePosition"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"changePosition"
>
<el-tab-pane
label=
"基本信息"
name=
"info"
>
<el-tab-pane
label=
"基本信息"
name=
"info"
>
...
@@ -96,7 +95,7 @@ export default {
...
@@ -96,7 +95,7 @@ export default {
commitEdit
()
{
commitEdit
()
{
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
if
(
validated
)
{
if
(
validated
)
{
if
(
this
.
tabPosition
===
`tab-pts`
){
window
.
console
.
log
(
"123"
)
edit
(
this
.
model
)
edit
(
this
.
model
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$message
.
success
(
"代码修改保存成功!"
);
this
.
$message
.
success
(
"代码修改保存成功!"
);
...
@@ -104,10 +103,8 @@ export default {
...
@@ -104,10 +103,8 @@ export default {
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
this
.
$message
.
error
(
"代码修改保存失败!"
);
this
.
$message
.
error
(
"代码修改保存失败!"
);
});}
});
}
else
{
}
Utils
.
formValidateTips
(
this
.
$refs
.
modelForm
.
fields
)
}
});
});
},
},
...
...
src/views/Statics/StaticsRouter.js
View file @
8d045016
...
@@ -267,7 +267,7 @@ const StaticsRouter = [
...
@@ -267,7 +267,7 @@ const StaticsRouter = [
{
path
:
'infbtb'
,
component
:
InfBtb
,
name
:
'StaticsInfbtb'
,
meta
:
{
title
:
'查询清算代理行'
}
},
{
path
:
'infbtb'
,
component
:
InfBtb
,
name
:
'StaticsInfbtb'
,
meta
:
{
title
:
'查询清算代理行'
}
},
{
path
:
'dbibtb/:inr'
,
component
:
DbiBtb
,
name
:
'StaticsDbibtb'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'清算代理行详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'dbibtb/:inr'
,
component
:
DbiBtb
,
name
:
'StaticsDbibtb'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'清算代理行详情: '
+
tag
.
params
.
inr
}
}
},
{
path
:
'Infpts'
,
component
:
Infpts
,
name
:
'Statics
Dbaatx
'
,
meta
:
{
title
:
'客户管户机构管理'
}
},
{
path
:
'Infpts'
,
component
:
Infpts
,
name
:
'Statics
Infpts
'
,
meta
:
{
title
:
'客户管户机构管理'
}
},
{
path
:
'dbipts/:extkey'
,
component
:
Dbipts
,
name
:
'StaticsDbipts'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'客户更新详情: '
+
tag
.
params
.
extkey
}
}
},
{
path
:
'dbipts/:extkey'
,
component
:
Dbipts
,
name
:
'StaticsDbipts'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'客户更新详情: '
+
tag
.
params
.
extkey
}
}
},
{
path
:
'dbepts/:extkey'
,
component
:
Dbipts
,
name
:
'StaticsDbepts'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'客户信息修改: '
+
tag
.
params
.
extkey
}
}
},
{
path
:
'dbepts/:extkey'
,
component
:
Dbipts
,
name
:
'StaticsDbepts'
,
meta
:
{
title
:
(
tag
)
=>
{
return
'客户信息修改: '
+
tag
.
params
.
extkey
}
}
},
...
...
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