Commit 28be2316 by 1377875331@qq.com

面函表格调整

parent bd0f2884
<template> <template>
<div class="eContainer-table-block"> <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 <el-table-column
v-for="(item, key) in tableColumns" v-for="(item, key) in tableColumns"
:key="key" :key="key"
...@@ -84,7 +89,10 @@ export default { ...@@ -84,7 +89,10 @@ export default {
}, },
currentChange(currentPage) { currentChange(currentPage) {
this.currentPage = currentPage; this.currentPage = currentPage;
} },
tableRowClassName(row) {
row.row.index = row.rowIndex + (this.currentPage - 1) * this.pageSize;
}
} }
}; };
</script> </script>
......
...@@ -7,15 +7,25 @@ ...@@ -7,15 +7,25 @@
</el-col> </el-col>
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns"> <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="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@click="handleDisplay(scope.$index, scope.row)">显示</el-button> @click="handleDisplay(scope.row.index, scope.row)">显示</el-button>
<el-button <el-button
size="mini" size="mini"
type="danger" type="danger"
@click="handleDetail(scope.$index, scope.row)">明细</el-button> @click="handleDetail(scope.row.index, scope.row)">明细</el-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table-docpan> </c-istream-table-docpan>
...@@ -126,7 +136,7 @@ export default { ...@@ -126,7 +136,7 @@ export default {
"cortyp 类型", "cortyp 类型",
"docsnf 报文格式", "docsnf 报文格式",
"docuil 语言", "docuil 语言",
"apf 传送方式" //"apf 传送方式"
], ],
data: [ data: [
] ]
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<el-col :span="15"> <el-col :span="15">
<el-form-item label="MT799(79)备注" prop="ditp.remark"> <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-form-item>
</el-col> </el-col>
</div> </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