Commit 28be2316 by 1377875331@qq.com

面函表格调整

parent bd0f2884
<template>
<div class="eContainer-table-block">
<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)" style="width: 100%" class="eContainer-table" :header-cell-style="{background: 'eef1f6', color: '#606266'}">
<el-table
:data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
style="width: 100%"
class="eContainer-table"
:row-class-name="tableRowClassName"
:header-cell-style="{background: 'eef1f6', color: '#606266'}">
<el-table-column
v-for="(item, key) in tableColumns"
:key="key"
......@@ -84,7 +89,10 @@ export default {
},
currentChange(currentPage) {
this.currentPage = currentPage;
}
},
tableRowClassName(row) {
row.row.index = row.rowIndex + (this.currentPage - 1) * this.pageSize;
}
}
};
</script>
......
......@@ -7,15 +7,25 @@
</el-col>
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="传送方式">
<template slot-scope="scope">
<!-- <c-select v-model="model.trnmod_trndoc_doceot[scope.$index]" style="width:100%" placeholder="请选择"> -->
<c-select v-model="model.trnmod.trndoc.doceot[scope.row.index].apflab1" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.apftxt" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleDisplay(scope.$index, scope.row)">显示</el-button>
@click="handleDisplay(scope.row.index, scope.row)">显示</el-button>
<el-button
size="mini"
type="danger"
@click="handleDetail(scope.$index, scope.row)">明细</el-button>
@click="handleDetail(scope.row.index, scope.row)">明细</el-button>
</template>
</el-table-column>
</c-istream-table-docpan>
......@@ -126,7 +136,7 @@ export default {
"cortyp 类型",
"docsnf 报文格式",
"docuil 语言",
"apf 传送方式"
//"apf 传送方式"
],
data: [
]
......
......@@ -21,7 +21,7 @@
<el-col :span="15">
<el-form-item label="MT799(79)备注" prop="ditp.remark">
<c-input type="textarea" v-model="model.ditp.remark" maxlength="280" :rows="6" ></c-input>
<c-input type="textarea" v-model="model.ditp.remark" maxlength="800" :rows="6" ></c-input>
</el-form-item>
</el-col>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment