|
@@ -304,6 +304,12 @@ export default {
|
|
:label="cColumn.title"
|
|
:label="cColumn.title"
|
|
:width="cColumn.width || 80"
|
|
:width="cColumn.width || 80"
|
|
>
|
|
>
|
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
|
+ <span v-if="cColumn.require" style="color: #ff4949">*</span>
|
|
|
|
+ <span>
|
|
|
|
+ {{ cColumn.title }}
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-tag v-if="cColumn.key === 'index'">
|
|
<el-tag v-if="cColumn.key === 'index'">
|
|
{{ scope.$index + 1 }}
|
|
{{ scope.$index + 1 }}
|