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
zhouqian
vue-gjjs
Commits
0da3d2bd
Commit
0da3d2bd
authored
Dec 30, 2021
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sptsel.del
parent
fd6ba00b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
37 deletions
+25
-37
FunctionBtn.vue
src/components/FunctionBtn.vue
+2
-1
Event.js
src/model/Sptsel/Event.js
+6
-15
index.vue
src/views/Business/Ditame/index.vue
+14
-18
Menu.vue
src/views/Business/Sptsel/Sptbrk/Menu.vue
+1
-1
Coninfp.vue
src/views/Public/Coninfp.vue
+2
-2
No files found.
src/components/FunctionBtn.vue
View file @
0da3d2bd
...
...
@@ -104,7 +104,8 @@ export default {
setTimeout
(()
=>
{
this
.
$router
.
back
()
},
500
)
}
else
{
}
else
{
setTimeout
(()
=>
{
this
.
$router
.
push
(
'/home'
)
},
500
)
...
...
src/model/Sptsel/Event.js
View file @
0da3d2bd
...
...
@@ -22,14 +22,15 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDelete
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"delete"
)
async
onDelete
(
idx
,
row
)
{
let
params
=
{
selDst
:
"sptstm"
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"del"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
sptstm
.
rows
;
this
.
$notify
({
title
:
'成功'
,
message
:
'删除成功!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'
服务请求
失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'
删除
失败!'
});
}
},
async
onRouting
()
{
...
...
@@ -62,16 +63,6 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDelete
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"delete"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
continueEdit
(
row
)
{
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
...
...
src/views/Business/Ditame/index.vue
View file @
0da3d2bd
...
...
@@ -2,7 +2,11 @@
<c-page
title=
"信用证修改"
>
<div
class=
"eContainer"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<c-function-btn></c-function-btn>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
></c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
...
...
@@ -133,19 +137,20 @@ import Api from "~/service/Api";
import
CodeTable
from
"~/config/CodeTable"
;
import
Ditame
from
"~/model/Ditame"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CommonFuncs
from
"~/mixin/CommonFuncs"
;
import
Pattern
from
"~/model/Ditame/Pattern"
;
import
Amep
from
"./Amep"
;
import
Ovwp
from
"./Ovwp"
;
import
Detp
from
"./Detp"
;
import
Tk
from
"./Tk"
;
import
Mt799
from
"./Mt799"
;
import
Detp1
from
"./Detp1"
;
import
Ovwp
from
"../Ditopn/Ovwp"
;
import
Detp
from
"../Ditopn/Detp"
;
import
Tk
from
"../Ditopn/Tk"
;
import
Mt799
from
"../Ditopn/Mt799"
;
import
Detp1
from
"../Ditopn/Detp1"
;
import
Addbcb
from
"../Ditopn/Addbcb"
;
import
Narp
from
"./Narp"
;
import
Dogpame
from
"./Dogpame"
;
import
Dorpame
from
"./Dorpame"
;
import
Adcpame
from
"./Adcpame"
;
import
Inspame
from
"./Inspame"
;
import
Addbcb
from
"./Addbcb"
;
import
Doctre
from
"./Doctre"
;
import
Stament
from
"./Stament"
;
...
...
@@ -185,7 +190,7 @@ export default {
root
:
this
,
};
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
CommonProcess
,
CommonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"amep"
,
...
...
@@ -211,16 +216,7 @@ export default {
// consume: "0",
// produce: "0",
// },
// checkAll: {
// uri: "/ditame/checkAll",
// fileName: "ditame.json",
// method: "post",
// basePath: "{{basePath}}",
// scheme: "{{schemes}}",
// host: "{{host}}",
// consume: "0",
// produce: "0",
// },
saveData
:
{
uri
:
"/ditame/saveData"
,
fileName
:
"ditame.json"
,
...
...
src/views/Business/Sptsel/Sptbrk/Menu.vue
View file @
0da3d2bd
...
...
@@ -295,7 +295,7 @@
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onDelete"
@
click=
"onDelete
(scope.$index,scope.row)
"
>
删除
</c-button>
...
...
src/views/Public/Coninfp.vue
View file @
0da3d2bd
...
...
@@ -66,12 +66,12 @@
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"执行日期"
prop=
"mtabut.coninf.conexedat"
>
<
el
-date-picker
<
c
-date-picker
type=
"date"
v-model=
"model.mtabut.coninf.conexedat"
style=
"width: 50%"
placeholder=
"请选择执行日期"
></
el
-date-picker>
></
c
-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"5"
>
...
...
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