Commit 67f66014 authored by 高宇's avatar 高宇

1.优化代码

parent 3a7933d7
...@@ -87,3 +87,22 @@ export function getJcCode() { ...@@ -87,3 +87,22 @@ export function getJcCode() {
method: 'get' 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
}
})
}
This diff is collapsed.
...@@ -2317,6 +2317,11 @@ ...@@ -2317,6 +2317,11 @@
</el-form> </el-form>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="标签四" name="fourthly">
<div class="fourTarContainer">
<tagfour @sheetIndex="handleSheetIndex" @tarFrom="handleTarForm"></tagfour>
</div>
</el-tab-pane>
</el-tabs> </el-tabs>
<hr class="twoHr"> <hr class="twoHr">
<!-- 附件--> <!-- 附件-->
...@@ -2480,12 +2485,25 @@ import { parseTime } from '@/utils' ...@@ -2480,12 +2485,25 @@ import { parseTime } from '@/utils'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
import { downLoadFile } from '@/utils/checkList' import { downLoadFile } from '@/utils/checkList'
import TextToolTip from '@/components/TextToolTip' import TextToolTip from '@/components/TextToolTip'
import tagfour from "@/views/template/components/tagfour";
export default { export default {
name: 'TemplateFirst', name: 'TemplateFirst',
components: { TextToolTip }, components: { TextToolTip ,tagfour },
data() { data() {
return { return {
// 标签四的form表单
tabfourForm: {
LD: [],
LDA: [],
LDB: [],
WDAList: [],
WDBList: [],
projectAList: [],
projetcBList: [],
projectCList: [],
projectDList: []
},
// 十个的下坐标分组 // 十个的下坐标分组
tenGroup:[ tenGroup:[
{ {
...@@ -2921,7 +2939,8 @@ export default { ...@@ -2921,7 +2939,8 @@ export default {
ossIdList: [], ossIdList: [],
recode1: [], recode1: [],
recode2: [], recode2: [],
recode3: [] recode3: [],
sheetIndex: null
}, },
// 检查记录1 // 检查记录1
recode1: [], recode1: [],
...@@ -3059,6 +3078,14 @@ export default { ...@@ -3059,6 +3078,14 @@ export default {
this.handleCyPn() this.handleCyPn()
}, },
methods: { methods: {
// 获取选中excel的下坐标
handleSheetIndex(value) {
console.log('下坐标值',value)
},
// 获取数据
handleTarForm(value) {
console.log('获取数据',value)
},
resetRecordOne() { resetRecordOne() {
this.inspectJbAl2o3List.recode1 = [ this.inspectJbAl2o3List.recode1 = [
{ {
...@@ -5099,6 +5126,11 @@ export default { ...@@ -5099,6 +5126,11 @@ export default {
margin-top: 12px; margin-top: 12px;
} }
.fourTarContainer{
width: 74%;
margin-left: 13%;
//height: 600px;
}
.OneTable { .OneTable {
.checkTicketOne { .checkTicketOne {
width: 74%; width: 74%;
...@@ -5671,6 +5703,8 @@ export default { ...@@ -5671,6 +5703,8 @@ export default {
} }
} }
.checkTicketOne { .checkTicketOne {
width: 76%; width: 76%;
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment