|
@@ -123,7 +123,7 @@
|
|
|
<hc-info-table-td center>高速公路</hc-info-table-td>
|
|
|
</tr>
|
|
|
</hc-info-table>
|
|
|
- <div class="hc-project-list-drawer-year">
|
|
|
+ <div class="hc-project-list-drawer-year detail">
|
|
|
<el-scrollbar>
|
|
|
<div class="relative p-2">
|
|
|
<hc-card-item class="year-detail">
|
|
@@ -144,52 +144,74 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key1" label="计划完成投资额(亿元)" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key1" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key1" disabled />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key2" label="投资完成额(亿元)" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key2" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key2" />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key3" label="累计投资完成额(亿元)" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key3" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key3" disabled />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key5" label="工作计划" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key5" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key5" type="textarea" disabled />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key6" label="工作计划进展情况" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key6" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key6" type="textarea" />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key7" label="累计进展情况" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key7" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key7" type="textarea" />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="key8" label="形象进度百分比(%)" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
|
- <hc-table-input v-model="row.key8" />
|
|
|
+ <hc-body>
|
|
|
+ <hc-table-input v-model="row.key8" />
|
|
|
+ </hc-body>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<hc-info-table class="mt-[-1px]">
|
|
|
<tr>
|
|
|
<hc-info-table-td is-title width="30px" center>存在问题</hc-info-table-td>
|
|
|
- <hc-info-table-td center>-</hc-info-table-td>
|
|
|
+ <hc-info-table-td center>
|
|
|
+ <el-input v-model="testValue" type="textarea" />
|
|
|
+ </hc-info-table-td>
|
|
|
<hc-info-table-td is-title width="30px" center>工作建议</hc-info-table-td>
|
|
|
- <hc-info-table-td center>-</hc-info-table-td>
|
|
|
+ <hc-info-table-td center>
|
|
|
+ <el-input v-model="testValue" type="textarea" />
|
|
|
+ </hc-info-table-td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<hc-info-table-td is-title width="30px" center>填报单位</hc-info-table-td>
|
|
|
- <hc-info-table-td center>-</hc-info-table-td>
|
|
|
+ <hc-info-table-td center>
|
|
|
+ <el-input v-model="testValue" />
|
|
|
+ </hc-info-table-td>
|
|
|
<hc-info-table-td is-title width="30px" center>联系人</hc-info-table-td>
|
|
|
- <hc-info-table-td center>-</hc-info-table-td>
|
|
|
+ <hc-info-table-td center>
|
|
|
+ <el-input v-model="testValue" />
|
|
|
+ </hc-info-table-td>
|
|
|
</tr>
|
|
|
</hc-info-table>
|
|
|
</hc-card-item>
|
|
@@ -521,6 +543,8 @@ const tableYearMethod1 = ({ rowIndex, columnIndex }) => {
|
|
|
return setSpanMethod(columnIndex, rowIndex, false)
|
|
|
}
|
|
|
|
|
|
+const testValue = ref('')
|
|
|
+
|
|
|
const setSpanMethod = (column, row, isAllYear = true) => {
|
|
|
if (column === 0) { //第一列
|
|
|
const rows = [0, 3, 6, 9], irows = [1, 2, 4, 5, 7, 8, 10, 11]
|
|
@@ -612,6 +636,9 @@ defineExpose({
|
|
|
border: 1px solid #dddddd;
|
|
|
border-top: 0;
|
|
|
height: calc(100% - 170px);
|
|
|
+ &.detail {
|
|
|
+ height: calc(100% - 34px);
|
|
|
+ }
|
|
|
.year-detail {
|
|
|
padding: 14px;
|
|
|
background: #f7f7f7;
|
|
@@ -664,6 +691,20 @@ defineExpose({
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .el-table .el-table__cell .cell {
|
|
|
+ .hc-new-main-body_content {
|
|
|
+ padding: 4px !important;
|
|
|
+ .el-input, .el-textarea {
|
|
|
+ height: 100%;
|
|
|
+ .el-input__inner {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .el-textarea__inner {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|