|
|
|
@ -87,6 +87,26 @@
|
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
</basic-container> |
|
|
|
|
|
|
|
|
|
<!-- 新增 && 编辑 --> |
|
|
|
|
<el-dialog |
|
|
|
|
v-model="details.popUpShow.addVisible" |
|
|
|
|
width="780px" |
|
|
|
|
:title="details.title" |
|
|
|
|
destroy-on-close |
|
|
|
|
> |
|
|
|
|
<el-form ref="formRef" :model="details.form" label-width="5rem"> |
|
|
|
|
<el-form-item> </el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
<template #footer> |
|
|
|
|
<div class="dialog-footer"> |
|
|
|
|
<el-button icon="CircleClose" @click="details.popUpShow.addVisible = false">取消</el-button> |
|
|
|
|
<el-button icon="Position" type="primary" @click="handleSubmit"> 提交 </el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<!-- 列表配置显示 --> |
|
|
|
|
<edittablehead |
|
|
|
|
@setcolum="setnewcolum" |
|
|
|
@ -100,7 +120,7 @@
|
|
|
|
|
<script setup> |
|
|
|
|
import { ref, reactive, toRefs, computed, onMounted, nextTick, watch } from 'vue'; |
|
|
|
|
import { columnList } from '@/option/Maininetrain/Mainlinetrainfare.js'; |
|
|
|
|
import { $_Maininetrain,$_Maininetrainexport } from '@/api/Costmanagementmainlinetrains/index.js'; |
|
|
|
|
import { $_Maininetrain, $_Maininetrainexport } from '@/api/Costmanagementmainlinetrains/index.js'; |
|
|
|
|
import { processRowPropertyName, setNodeHeight } from '@/utils/util'; |
|
|
|
|
import { ElMessageBox, ElMessage } from 'element-plus'; |
|
|
|
|
import { downloadXls, handleClearTableQuery, FileUpload, headers } from '@/utils/util'; |
|
|
|
@ -232,8 +252,8 @@ const timesc = (index, row) => {
|
|
|
|
|
/** 表格表头下拉框选择 */ |
|
|
|
|
const selectsc = (index, row) => { |
|
|
|
|
processRowPropertyName(index, row, details.query); |
|
|
|
|
console.log( details.query,); |
|
|
|
|
|
|
|
|
|
console.log(details.query); |
|
|
|
|
|
|
|
|
|
onLoad(); |
|
|
|
|
}; |
|
|
|
|
/** 表格表头复选框选择 */ |
|
|
|
@ -345,7 +365,7 @@ const exportExcel = () => {
|
|
|
|
|
details.loadingObj.list = true; |
|
|
|
|
let data = { |
|
|
|
|
...details.query, |
|
|
|
|
carsNoType:'1', |
|
|
|
|
carsNoType: '1', |
|
|
|
|
}; |
|
|
|
|
console.log(data, '要提交的数据'); |
|
|
|
|
$_Maininetrainexport(data).then(res => { |
|
|
|
|