Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
c0a7ded9
Commit
c0a7ded9
authored
May 06, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化代码
parent
8fac37b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
tagfour.vue
src/views/template/components/tagfour.vue
+6
-2
No files found.
src/views/template/components/tagfour.vue
View file @
c0a7ded9
...
@@ -447,7 +447,7 @@
...
@@ -447,7 +447,7 @@
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
:loading=
"loading"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -476,7 +476,8 @@ export default {
...
@@ -476,7 +476,8 @@ export default {
computed
:
{
computed
:
{
},
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
index
:
this
.
defaultIndex
,
index
:
this
.
defaultIndex
,
form
:
this
.
defaultObject
,
form
:
this
.
defaultObject
,
// 是否上传按钮
// 是否上传按钮
...
@@ -499,6 +500,7 @@ export default {
...
@@ -499,6 +500,7 @@ export default {
// 提交按钮
// 提交按钮
submitForm
()
{
submitForm
()
{
console
.
log
(
'sheetIndex'
,
this
.
sheetForm
.
sheetIndex
)
console
.
log
(
'sheetIndex'
,
this
.
sheetForm
.
sheetIndex
)
this
.
loading
=
true
if
(
this
.
sheetForm
.
sheetIndex
!==
null
&&
this
.
sheetForm
.
sheetIndex
!==
''
)
{
if
(
this
.
sheetForm
.
sheetIndex
!==
null
&&
this
.
sheetForm
.
sheetIndex
!==
''
)
{
console
.
log
(
'111'
)
console
.
log
(
'111'
)
// 获取要预览的表格内容
// 获取要预览的表格内容
...
@@ -741,6 +743,7 @@ export default {
...
@@ -741,6 +743,7 @@ export default {
this
.
$emit
(
'sheetIndex'
,
this
.
index
)
this
.
$emit
(
'sheetIndex'
,
this
.
index
)
this
.
$emit
(
'tarFrom'
,
this
.
form
)
this
.
$emit
(
'tarFrom'
,
this
.
form
)
})
})
this
.
loading
=
false
}
else
{
}
else
{
this
.
form
.
LD
=
[]
this
.
form
.
LD
=
[]
this
.
form
.
LDA
=
[]
this
.
form
.
LDA
=
[]
...
@@ -755,6 +758,7 @@ export default {
...
@@ -755,6 +758,7 @@ export default {
this
.
dialogController
.
open
=
false
this
.
dialogController
.
open
=
false
this
.
$emit
(
'sheetIndex'
,
''
)
this
.
$emit
(
'sheetIndex'
,
''
)
this
.
$emit
(
'tarFrom'
,
this
.
form
)
this
.
$emit
(
'tarFrom'
,
this
.
form
)
this
.
loading
=
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