|
@@ -29,7 +29,7 @@
|
|
|
<el-button type="info" plain icon="el-icon-open" @click="feedback('展开')" size="mini">展开</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-table :data="tableData" style="width: 100%" @selection-change="handleSelectionChange"
|
|
|
+ <el-table :key="key" :data="tableData" ref="table" style="width: 100%" @selection-change="handleSelectionChange"
|
|
|
:row-class-name="rowClassName" :show-summary="tatolLabel ? true : false" :summary-method="listTotal"
|
|
|
@expand-change="expandChange" class="apTable">
|
|
|
<el-table-column type="expand" v-if="expandBool">
|
|
@@ -71,7 +71,7 @@
|
|
|
value-format="yyyy-MM-dd">
|
|
|
</el-date-picker>
|
|
|
</span>
|
|
|
- <!-- <span v-else-if="item.label == 'projectName' && CRKTJ"
|
|
|
+ <!-- <span v-else-if="item.label == 'projectName' && CRKTJ"
|
|
|
style="color: #409EFF;cursor: pointer"
|
|
|
@click.stop="jump(scope.row)">{{ scope.row[item.label] }}</span> -->
|
|
|
<span v-else>{{ scope.row[item.label] }}</span>
|
|
@@ -119,6 +119,7 @@ export default {
|
|
|
props: ['tableData', 'listStyle', 'queryList', 'customButton', 'arrow', 'setRowList', 'isItHidden', 'tatolLabel', 'listData', 'hasPermi', 'CRKTJ','expandBool','itemdetailStyle'],
|
|
|
data() {
|
|
|
return {
|
|
|
+ key:0,
|
|
|
showSetting: false,
|
|
|
allCheck: false,
|
|
|
headers: {
|
|
@@ -128,15 +129,10 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
queryList: function (newValue, oldValue) {
|
|
|
- console.log(newValue, oldValue)
|
|
|
this.queryList.columnList = newValue.columnList
|
|
|
+ this.key++
|
|
|
},
|
|
|
},
|
|
|
- created() {
|
|
|
- console.log(this.listStyle)
|
|
|
- console.log(this.queryList)
|
|
|
- console.log(this.queryList.columnList.length)
|
|
|
- },
|
|
|
methods: {
|
|
|
//下拉数据变动时触发
|
|
|
change(scope) {
|