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
227226d0
Commit
227226d0
authored
Dec 30, 2021
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务列表先init再search
parent
5977dcad
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
13 deletions
+25
-13
index.vue
src/views/Business/Bopsel/index.vue
+15
-7
Menu.vue
src/views/Business/Sptsel/Menu.vue
+2
-2
Menu.vue
src/views/Business/Sptsel/Sptbrk/Menu.vue
+2
-2
index.vue
src/views/Business/Sptsel/Sptbrk/index.vue
+1
-0
index.vue
src/views/Business/Sptsel/index.vue
+1
-0
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+2
-2
index.vue
src/views/Business/Trnrel/Trnfnd/index.vue
+1
-0
index.vue
src/views/Business/Trnrel/index.vue
+1
-0
No files found.
src/views/Business/Bopsel/index.vue
View file @
227226d0
...
@@ -12,12 +12,12 @@
...
@@ -12,12 +12,12 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000000 -->
<!--PD000000 -->
<el-tab-pane
label=
"申报信息"
name=
"selp"
>
<el-tab-pane
label=
"申报信息"
name=
"selp"
>
<m-selp
:model=
"model"
:codes=
"codes"
/>
<m-selp
:model=
"model"
:codes=
"codes"
ref=
"selp"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000000 -->
<!--PD000000 -->
<el-tab-pane
label=
"差错反馈"
name=
"errp"
>
<el-tab-pane
label=
"差错反馈"
name=
"errp"
>
<m-errp
:model=
"model"
:codes=
"codes"
/>
<m-errp
:model=
"model"
:codes=
"codes"
ref=
"errp"
/>
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</c-tabs>
</el-form>
</el-form>
...
@@ -31,6 +31,7 @@ import CommonProcess from "~/mixin/CommonProcess";
...
@@ -31,6 +31,7 @@ import CommonProcess from "~/mixin/CommonProcess";
import
Check
from
"~/model/Bopsel/Check"
;
import
Check
from
"~/model/Bopsel/Check"
;
import
Default
from
"~/model/Bopsel/Default"
;
import
Default
from
"~/model/Bopsel/Default"
;
import
Pattern
from
"~/model/Bopsel/Pattern"
;
import
Pattern
from
"~/model/Bopsel/Pattern"
;
import
Utils
from
"~/utils/index"
import
Selp
from
"./Selp"
;
import
Selp
from
"./Selp"
;
import
Errp
from
"./Errp"
;
import
Errp
from
"./Errp"
;
...
@@ -101,12 +102,19 @@ export default {
...
@@ -101,12 +102,19 @@ export default {
}
}
});
});
let
rtnmsg
=
await
this
.
init
({});
// let rtnmsg = await this.init({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
const
that
=
this
;
that
.
init
(
that
.
model
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
else
{
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$refs
.
selp
.
selpHandleSearch
();
}
this
.
$refs
.
errp
.
errpHandleSearch
();
});
},
},
};
};
</
script
>
</
script
>
...
...
src/views/Business/Sptsel/Menu.vue
View file @
227226d0
...
@@ -424,8 +424,8 @@ export default {
...
@@ -424,8 +424,8 @@ export default {
{
label
:
"归档"
,
value
:
"chkcan"
},
{
label
:
"归档"
,
value
:
"chkcan"
},
{
label
:
"云平台"
,
value
:
"chkypt"
},
{
label
:
"云平台"
,
value
:
"chkypt"
},
];
];
await
this
.
handleSearch
()
//
await this.handleSearch()
this
.
$store
.
commit
(
"setTaskList"
,
{
key
:
"sptsel"
,
val
:
this
.
stmData
.
data
.
length
})
//
this.$store.commit("setTaskList", {key: "sptsel", val: this.stmData.data.length})
},
},
methods
:
{
methods
:
{
sourceChangeEvent
(
val
)
{
sourceChangeEvent
(
val
)
{
...
...
src/views/Business/Sptsel/Sptbrk/Menu.vue
View file @
227226d0
...
@@ -399,8 +399,8 @@ export default {
...
@@ -399,8 +399,8 @@ export default {
};
};
},
},
async
mounted
()
{
async
mounted
()
{
await
this
.
sptfndHandleSearch
()
//
await this.sptfndHandleSearch()
this
.
$store
.
commit
(
"setTaskList"
,
{
key
:
"sptbrk"
,
val
:
this
.
stmData
.
data
.
length
})
//
this.$store.commit("setTaskList", {key: "sptbrk", val: this.stmData.data.length})
},
},
computed
:
{
computed
:
{
chkinc
:
{
chkinc
:
{
...
...
src/views/Business/Sptsel/Sptbrk/index.vue
View file @
227226d0
...
@@ -59,6 +59,7 @@ export default {
...
@@ -59,6 +59,7 @@ export default {
that
.
init
(
that
.
model
).
then
(
res
=>
{
that
.
init
(
that
.
model
).
then
(
res
=>
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
)
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
)
this
.
$refs
.
Menu
.
sptfndHandleSearch
();
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
})
})
}
}
...
...
src/views/Business/Sptsel/index.vue
View file @
227226d0
...
@@ -60,6 +60,7 @@ export default {
...
@@ -60,6 +60,7 @@ export default {
//TODO 处理数据逻辑
//TODO 处理数据逻辑
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
)
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
)
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
this
.
$refs
.
Menu
.
handleSearch
()
})
})
}
}
}
}
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
227226d0
...
@@ -580,8 +580,8 @@ export default {
...
@@ -580,8 +580,8 @@ export default {
{
label
:
"Rejected"
,
value
:
"N"
},
{
label
:
"Rejected"
,
value
:
"N"
},
{
label
:
"Waiting"
,
value
:
"W"
},
{
label
:
"Waiting"
,
value
:
"W"
},
];
];
await
this
.
handleSearch
()
//
await this.handleSearch()
this
.
$store
.
commit
(
"setTaskList"
,
{
key
:
"trnrel"
,
val
:
this
.
stmData
.
data
.
length
})
//
this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length})
},
},
computed
:
{},
computed
:
{},
...
...
src/views/Business/Trnrel/Trnfnd/index.vue
View file @
227226d0
...
@@ -90,6 +90,7 @@ export default {
...
@@ -90,6 +90,7 @@ export default {
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
this
.
$refs
.
inftrnps
.
handleSearch
();
});
});
},
},
};
};
...
...
src/views/Business/Trnrel/index.vue
View file @
227226d0
...
@@ -98,6 +98,7 @@ export default {
...
@@ -98,6 +98,7 @@ export default {
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
this
.
$refs
.
inftrnps
.
handleSearch
();
});
});
},
},
};
};
...
...
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