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

1.优化代码

parent 3a7933d7
......@@ -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
}
})
}
This diff is collapsed.
......@@ -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;
......
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