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
67f66014
Commit
67f66014
authored
May 02, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化代码
parent
3a7933d7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1330 additions
and
2 deletions
+1330
-2
oneTbale.js
src/api/oneTbale.js
+19
-0
tagfour.vue
src/views/template/components/tagfour.vue
+1275
-0
templateFirst.vue
src/views/template/templateFirst.vue
+36
-2
No files found.
src/api/oneTbale.js
View file @
67f66014
...
...
@@ -87,3 +87,22 @@ export function getJcCode() {
method
:
'get'
})
}
// 10.获取sheet的下拉数据
export
function
sheetNum
()
{
return
request
({
url
:
'/excel/retrieve/sheetNum'
,
method
:
'get'
})
}
// 11 获取选中的sheet内容
export
function
sheetData
(
sheetnum
)
{
return
request
({
url
:
'/excel/retrieve/sheetData'
,
method
:
'get'
,
params
:
{
sheetnum
:
sheetnum
}
})
}
src/views/template/components/tagfour.vue
0 → 100644
View file @
67f66014
This diff is collapsed.
Click to expand it.
src/views/template/templateFirst.vue
View file @
67f66014
...
...
@@ -2317,6 +2317,11 @@
</el-form>
</div>
</el-tab-pane>
<el-tab-pane
label=
"标签四"
name=
"fourthly"
>
<div
class=
"fourTarContainer"
>
<tagfour
@
sheetIndex=
"handleSheetIndex"
@
tarFrom=
"handleTarForm"
></tagfour>
</div>
</el-tab-pane>
</el-tabs>
<hr
class=
"twoHr"
>
<!-- 附件-->
...
...
@@ -2480,12 +2485,25 @@ import { parseTime } from '@/utils'
import
{
getInfo
}
from
'@/api/login'
import
{
downLoadFile
}
from
'@/utils/checkList'
import
TextToolTip
from
'@/components/TextToolTip'
import
tagfour
from
"@/views/template/components/tagfour"
;
export
default
{
name
:
'TemplateFirst'
,
components
:
{
TextToolTip
},
components
:
{
TextToolTip
,
tagfour
},
data
()
{
return
{
// 标签四的form表单
tabfourForm
:
{
LD
:
[],
LDA
:
[],
LDB
:
[],
WDAList
:
[],
WDBList
:
[],
projectAList
:
[],
projetcBList
:
[],
projectCList
:
[],
projectDList
:
[]
},
// 十个的下坐标分组
tenGroup
:[
{
...
...
@@ -2921,7 +2939,8 @@ export default {
ossIdList
:
[],
recode1
:
[],
recode2
:
[],
recode3
:
[]
recode3
:
[],
sheetIndex
:
null
},
// 检查记录1
recode1
:
[],
...
...
@@ -3059,6 +3078,14 @@ export default {
this
.
handleCyPn
()
},
methods
:
{
// 获取选中excel的下坐标
handleSheetIndex
(
value
)
{
console
.
log
(
'下坐标值'
,
value
)
},
// 获取数据
handleTarForm
(
value
)
{
console
.
log
(
'获取数据'
,
value
)
},
resetRecordOne
()
{
this
.
inspectJbAl2o3List
.
recode1
=
[
{
...
...
@@ -5099,6 +5126,11 @@ export default {
margin-top
:
12px
;
}
.fourTarContainer
{
width
:
74%
;
margin-left
:
13%
;
//height: 600px;
}
.OneTable
{
.checkTicketOne
{
width
:
74%
;
...
...
@@ -5671,6 +5703,8 @@ export default {
}
}
.checkTicketOne
{
width
:
76%
;
display
:
flex
;
...
...
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