mode
This commit is contained in:
parent
f21468a729
commit
95a3a6d1b8
|
@ -39,19 +39,26 @@
|
|||
:url="scope.row[scope.column.label]"
|
||||
v-else-if="item.label === '报告' || item.label === '证书'"
|
||||
></slot>
|
||||
<span v-else v-html="scope.row[item.prop]"></span>
|
||||
<span
|
||||
v-else
|
||||
v-html="scope.row[item.prop]"
|
||||
:style="{
|
||||
color:
|
||||
scope.row[item.prop] === '优' &&
|
||||
['财务指标', '风险指标', '经营指标'].includes(item.label)
|
||||
? '#1FB447'
|
||||
: scope.row[item.prop] === '良' &&
|
||||
['财务指标', '风险指标', '经营指标'].includes(item.label)
|
||||
? '#E8AF30'
|
||||
: scope.row[item.prop] === '低' &&
|
||||
['财务指标', '风险指标', '经营指标'].includes(item.label)
|
||||
? '#FF0000'
|
||||
: '#848484',
|
||||
}"
|
||||
></span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!-- <el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handlerCurrentChange"
|
||||
:current-page.sync="page.current"
|
||||
:page-size="[10, 20, 30, 40]"
|
||||
layout="total,prev,pager,next"
|
||||
:total="page.total"
|
||||
>
|
||||
</el-pagination> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -98,19 +105,6 @@ export default {
|
|||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
//点击当前行
|
||||
// getCurrentRow(row, column, event) {
|
||||
// console.log(row, column, event);
|
||||
// },
|
||||
//每页条数
|
||||
handleSizeChange(val) {
|
||||
console.log(`每页${val}条数`);
|
||||
},
|
||||
//切换页
|
||||
handleCurrentChange(val) {
|
||||
console.log(`当前页:${val}`);
|
||||
},
|
||||
|
||||
headClass() {
|
||||
return "background:#F0F3F5;color: #333;font-family:SRL;font-size:12px";
|
||||
},
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
:key="index"
|
||||
type="flex"
|
||||
justify="space-between"
|
||||
style="margin: 10% 5%; width: 90%"
|
||||
style="margin:5%; width: 90%"
|
||||
v-else
|
||||
>
|
||||
<el-col :span="2"
|
||||
|
@ -69,7 +69,7 @@
|
|||
:key="index"
|
||||
type="flex"
|
||||
justify="space-between"
|
||||
style="margin: 10% 5%; width: 90%"
|
||||
style="margin: 5%; width: 90%"
|
||||
v-else
|
||||
>
|
||||
<el-col :span="3"
|
||||
|
@ -88,7 +88,7 @@
|
|||
<el-row
|
||||
type="flex"
|
||||
justify="space-between"
|
||||
style="margin: 10% 5%; width: 90%"
|
||||
style="margin:20px 5%; width: 90%"
|
||||
v-else
|
||||
>
|
||||
<el-col
|
||||
|
|
Loading…
Reference in New Issue