|
@@ -9,8 +9,8 @@
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
- <el-table :data="tableData" border class="mt-4" v-if="costcheck==1" :header-cell-style="headerStyle">
|
|
|
|
- <el-table-column v-for="item in tableColData" align="center"
|
|
|
|
|
|
+ <el-table :data="tableData" border class="mt-4 " v-if="costcheck==1" :header-cell-style="headerStyle">
|
|
|
|
+ <el-table-column v-for="item in tableColData" align="center"
|
|
:prop="item.id"
|
|
:prop="item.id"
|
|
:label="item.name"
|
|
:label="item.name"
|
|
:key="item.id">
|
|
:key="item.id">
|
|
@@ -26,7 +26,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <el-table :data="tableData" border class="mt-4" v-if="costcheck==2" :header-cell-style="{ background:'#F5F7FA'}" >
|
|
|
|
|
|
+ <el-table :data="tableData" border class="mt-4" v-if="costcheck==2" :header-cell-style="{ background:'#F5F7FA', fontSize:'16px'}" >
|
|
<el-table-column
|
|
<el-table-column
|
|
v-for="item in tableprojectColData"
|
|
v-for="item in tableprojectColData"
|
|
:prop="item.id"
|
|
:prop="item.id"
|
|
@@ -35,7 +35,7 @@
|
|
|
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <el-table :data="tableData" border class="mt-4" v-if="costcheck!=='2'&&costcheck!=='1'" :header-cell-style="{ background:'#F5F7FA'}" >
|
|
|
|
|
|
+ <el-table :data="tableData" border class="mt-4" v-if="costcheck!=='2'&&costcheck!=='1'" :header-cell-style="{ background:'#F5F7FA' ,fontSize:'16px'}" >
|
|
<el-table-column
|
|
<el-table-column
|
|
v-for="item in otherColData"
|
|
v-for="item in otherColData"
|
|
:prop="item.id"
|
|
:prop="item.id"
|
|
@@ -354,7 +354,8 @@ const otherColData=ref([
|
|
//合并
|
|
//合并
|
|
|
|
|
|
const headerStyle=({ row, column, rowIndex, columnIndex })=>{
|
|
const headerStyle=({ row, column, rowIndex, columnIndex })=>{
|
|
- const comStyle = { };
|
|
|
|
|
|
+
|
|
|
|
+ const comStyle = {fontSize:"16px" };
|
|
// 1.1 让第0行的第0列跨2行
|
|
// 1.1 让第0行的第0列跨2行
|
|
if (rowIndex === 0 && columnIndex === 0
|
|
if (rowIndex === 0 && columnIndex === 0
|
|
||rowIndex === 0 && columnIndex === 1
|
|
||rowIndex === 0 && columnIndex === 1
|
|
@@ -398,9 +399,12 @@ const headerStyle=({ row, column, rowIndex, columnIndex })=>{
|
|
|
|
|
|
return comStyle;
|
|
return comStyle;
|
|
}
|
|
}
|
|
|
|
+
|
|
const costcheck=ref('1')
|
|
const costcheck=ref('1')
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
</style>
|
|
</style>
|