Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
418fd5ff
Commit
418fd5ff
authored
Nov 09, 2023
by
Cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zd 教师电子档案
parent
0710817a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
289 additions
and
160 deletions
+289
-160
ruoyi-ui/src/views/smartSchool/gradeWork/electronicRecord/index.vue
+65
-37
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
+104
-91
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
+120
-32
No files found.
ruoyi-ui/src/views/smartSchool/gradeWork/electronicRecord/index.vue
View file @
418fd5ff
...
...
@@ -202,7 +202,7 @@
@
pagination=
"getList"
/>
<!--弹窗-->
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
100
%"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
95
%"
>
<div
style=
"display: flex"
>
<div
class=
"leftContent"
>
<div
style=
"margin-bottom: 10px"
>
...
...
@@ -374,22 +374,23 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
prop=
"thesisList"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
<!--
<el-carousel
trigger=
"click"
height=
"60px"
>
-->
<span
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
--
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/
>
</el-carousel-item
>
<
/el-carousel
>
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span
>
<!--
</el-carousel-item>
--
>
<
!--
</el-carousel>
--
>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -418,22 +419,31 @@
prop=
"materialList"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -466,22 +476,31 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -525,22 +544,31 @@
"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
ruoyi-ui/src/views/smartSchool/personWork/electronicRecord/index.vue
View file @
418fd5ff
...
...
@@ -98,22 +98,21 @@
>
<
template
slot-scope=
"scope"
>
<!-- 未填写 -->
<div>
<div
v-if=
"scope.row.state === 4"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
填写
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleEdit(scope.row)"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleSubmit(scope.row)"
>
提交
</el-button>
<!--
</div>
-->
<!--
<div>
-->
</div>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCheck(scope.row)"
>
查看
</el-button>
<div></div>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -125,7 +124,7 @@
@
pagination=
"getList"
/>
<!--弹窗-->
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
100
%"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
95
%"
>
<div
style=
"display: flex"
>
<div
class=
"leftContent"
>
<div
style=
"margin-bottom: 10px"
>
...
...
@@ -146,7 +145,7 @@
>
<el-input
v-model=
"form.filesSemester"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -156,7 +155,7 @@
>
<el-input
v-model=
"form.gradeName"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -166,7 +165,7 @@
>
<el-input
v-model=
"form.teacherName"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<!-- <el-form-item label="性别:" style="padding-right: 10px">
...
...
@@ -178,7 +177,7 @@
style=
"padding-right: 10px"
>
<el-select
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
v-model=
"form.sex"
placeholder=
"请输入性别"
style=
"width: 100%"
...
...
@@ -199,7 +198,7 @@
>
<el-input
v-model=
"form.age"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
>
</el-input>
</el-form-item>
...
...
@@ -210,7 +209,7 @@
>
<el-input
v-model=
"form.title"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -220,7 +219,7 @@
>
<el-input
v-model=
"form.education"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -230,7 +229,7 @@
>
<el-input
v-model=
"form.appearance"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -240,7 +239,7 @@
>
<el-input
v-model=
"form.courseName"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -250,7 +249,7 @@
>
<el-input
v-model=
"form.className"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -260,7 +259,7 @@
>
<el-input
v-model=
"form.bzrClassName"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -270,7 +269,7 @@
>
<el-input
v-model=
"form.fbzrClassName"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -280,7 +279,7 @@
>
<el-input
v-model=
"form.isTeachingGroupLeader"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -290,7 +289,7 @@
>
<el-input
v-model=
"form.isResearchGroupLeader"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -300,7 +299,7 @@
>
<el-input
v-model=
"form.classHour"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -310,7 +309,7 @@
>
<el-input
v-model=
"form.classTeacherDetails"
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
></el-input>
</el-form-item>
</el-form>
...
...
@@ -341,7 +340,7 @@
<span
class=
"line"
></span>
<span
class=
"title"
>
教育科研
</span>
<el-button
:disabled=
"
status == '7
' ? true : false"
:disabled=
"
form.state == '4
' ? true : false"
type=
"success"
size=
"mini"
style=
"float: right; margin-right: 50px; margin-top: 10px"
...
...
@@ -376,22 +375,32 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
prop=
"thesisList"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
<a
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
>
{{
accessory
.
accessoryName
}}
</a
>
<template>
<a
:href=
"baseUrl + accessory.accessoryUrl"
>
{{
accessory
.
accessoryName
}}
</a>
</
template
>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<el-link
:href=
"`${baseUrl}${accessory.accessoryUrl}`"
:underline=
"false"
target=
"_blank"
>
<span
class=
"el-icon-document"
>
{{ accessory.accessoryName }}
</span>
</el-link>
</span>
</template>
</el-table-column>
</el-table>
...
...
@@ -420,36 +429,30 @@
prop=
"materialList"
>
<
template
slot-scope=
"scope"
>
<!--
<div
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
-->
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<!--
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 100px"
/>
</div>
-->
<el-carousel
trigger=
"click"
height=
"60px"
>
<!--
<el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
<a
:href=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
>
{{
accessory
.
accessoryName
}}
</a
>
<a
:href=
"baseUrl + accessory.accessoryUrl"
>
{{
accessory
.
accessoryName
}}
</a>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -482,31 +485,30 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<!--
<div
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 100px"
/>
</div>
-->
<el-carousel
trigger=
"click"
height=
"60px"
>
<!--
<el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
<a
:href=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
>
{{
accessory
.
accessoryName
}}
</a
>
<a
:href=
"baseUrl + accessory.accessoryUrl"
>
{{
accessory
.
accessoryName
}}
</a>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -550,22 +552,30 @@
"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
<a
:href=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
>
{{
accessory
.
accessoryName
}}
</a
>
<a
:href=
"baseUrl + accessory.accessoryUrl"
>
{{
accessory
.
accessoryName
}}
</a>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -680,6 +690,9 @@ export default {
this
.
total
=
res
.
total
;
});
},
isImage
(
url
)
{
return
/
\.(
jpg|jpeg|png|gif
)
$/i
.
test
(
url
);
},
// 提取
handleExtract
()
{
...
...
ruoyi-ui/src/views/smartSchool/teachAffairAdministration/electronicRecord/dataMaintenance.vue
View file @
418fd5ff
...
...
@@ -71,8 +71,14 @@
?
"未发布"
:
row
.
state
==
2
?
"已发布"
:
row
.
state
==
7
?
"已完成"
:
row
.
state
==
3
?
"已填写"
:
row
.
state
==
4
?
"已提交"
:
row
.
state
==
5
?
"已确认"
:
row
.
state
==
9
?
"驳回"
:
""
}}
</
template
>
...
...
@@ -363,22 +369,31 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
prop=
"thesisList"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.thesisListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -407,22 +422,31 @@
prop=
"materialList"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.matListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -455,22 +479,31 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"附件"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.trainingListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -514,22 +547,31 @@
"
>
<
template
slot-scope=
"scope"
>
<el-carousel
trigger=
"click"
height=
"60px"
>
<
!--
<
el-carousel
trigger=
"click"
height=
"60px"
>
<el-carousel-item
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<!--
<a
:href=
"baseUrl + accessory.accessoryUrl"
target=
"_blank"
>
{{
accessory
.
accessoryName
}}
</a
>
-->
<img
:src=
"baseUrl + accessory.accessoryUrl"
style=
"width: 150px"
/>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<span
v-for=
"(accessory, index) in scope.row.accListInfo"
:key=
"index"
>
<el-link
:href=
"`$
{baseUrl}${accessory.accessoryUrl}`"
:underline="false"
target="_blank"
>
<span
class=
"el-icon-document"
>
{{
accessory
.
accessoryName
}}
</span>
</el-link>
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -621,6 +663,7 @@ export default {
tableForthDataInfo
:
[],
//thesisList
tableForthDataInfoRes
:
[],
//4
baseUrl
:
process
.
env
.
VUE_APP_BASE_API
,
tableDataInfo
:
[],
};
},
mounted
()
{
...
...
@@ -641,6 +684,9 @@ export default {
};
getteacherNotice
(
params
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
rows
;
this
.
tableDataInfo
=
res
.
rows
.
map
((
item
)
=>
{
return
item
.
id
;
// 如果需要将 fid 属性单独提取出来,可以返回一个包含 fid 的新数组
});
this
.
total
=
res
.
total
;
});
},
...
...
@@ -715,8 +761,49 @@ export default {
handleExtract
()
{
const
id
=
this
.
form
.
id
;
syncNotice
(
id
).
then
((
res
)
=>
{
console
.
log
(
id
,
"id"
);
console
.
log
(
"res提取"
,
res
);
getFileTnfo
(
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
;
this
.
tableFirstData
=
res
.
data
.
thesisList
;
this
.
tableSecondData
=
res
.
data
.
materialList
;
this
.
tableThirdData
=
res
.
data
.
trainingList
;
this
.
tableForthData
=
res
.
data
.
awardList
;
// ----------------------------------------4
this
.
tableForthDataInfo
=
res
.
data
.
awardList
.
map
((
item
)
=>
{
item
.
accList
=
item
.
accessories
;
return
item
;
});
this
.
tableForthDataInfoRes
=
this
.
tableForthDataInfo
.
map
((
val
)
=>
{
val
.
accListInfo
=
val
.
accList
;
return
val
;
});
// ---------------------------------------2
this
.
tableSecondDataInfo
=
res
.
data
.
materialList
.
map
((
item
)
=>
{
item
.
accessoriesInfo
=
item
.
accessories
;
return
item
;
});
this
.
tableSecondDataInfoRes
=
this
.
tableSecondDataInfo
.
map
((
val
)
=>
{
val
.
matListInfo
=
val
.
accessories
;
return
val
;
});
// ---------------------------------------3
this
.
tableThirdDataInfo
=
res
.
data
.
trainingList
.
map
((
item
)
=>
{
item
.
accessoriesInfo
=
item
.
accessories
;
return
item
;
});
this
.
tableThirdDataInfoRes
=
this
.
tableThirdDataInfo
.
map
((
val
)
=>
{
val
.
trainingListInfo
=
val
.
accessories
;
return
val
;
});
// -----------------------------1
this
.
tableFirstDataInfo
=
res
.
data
.
thesisList
.
map
((
item
)
=>
{
item
.
accessoriesInfo
=
item
.
schoolAccessoryList
;
return
item
;
});
this
.
tableFirstDataInfoRes
=
this
.
tableFirstDataInfo
.
map
((
val
)
=>
{
val
.
thesisListInfo
=
val
.
schoolAccessoryList
;
return
val
;
});
});
this
.
$modal
.
msgSuccess
(
"提取成功"
);
});
},
...
...
@@ -796,6 +883,7 @@ export default {
updateInfo
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
,
"res"
);
this
.
form
=
res
;
this
.
$modal
.
msgSuccess
(
"修改成功"
);
});
this
.
dialogVisible
=
false
;
},
...
...
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