jinhui.wang

样式修正

......@@ -32,7 +32,7 @@
</el-form-item>
</el-form>
<Tables ref="newTables" ductName="flightRand" :data="sourceFlightRulesList" :headerData="tableHeaders['flightRand']"
:order="true" :totalCount="total" :loading="loading" :limitSize="queryParams.limit"
:order="true" :showOverflowTooltip="false" :totalCount="total" :loading="loading" :limitSize="queryParams.limit"
:limitStart="queryParams.start" :page="queryParams.pageNum" :pageSizes="[20]" :height="tableHeight"
@currentChange="currentChange">
<template slot="optionColumn">
......@@ -66,7 +66,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit"
@click="handleClick(scope.row.actualFlight, 'detail')">查看配置维度</el-button>
@click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate)">查看配置维度</el-button>
</template>
</el-table-column>
</el-table>
......@@ -115,7 +115,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="配载航班" prop="flightRank">
<el-input type="textarea" v-model="form.flightRank" :rows="4" maxlength="255"></el-input>
<el-input type="textarea" v-model="flightRank" rows="4" maxlength="255">
</el-input>
</el-form-item>
</el-col>
<el-col :span="24">
......@@ -265,13 +266,14 @@ export default {
},
methods: {
//跳转到查看,修改页面
handleClick(flightiId, handle) {
handleClick(fltNo, handle, fltDate) {
this.openFlightDate = false;
this.$router.push({
name: "FlightAllocConfigInfo",
params: {
handle: handle,
id: flightiId,
fltNo: fltNo,
fltDate: fltDate
},
});
},
......@@ -439,7 +441,7 @@ export default {
this.queryParams.start = val.start;
this.queryParams.pageNum = val.page;
this.findSourceFlightRules();
}
},
},
computed: {
sourceFlightNo: {
......@@ -452,16 +454,16 @@ export default {
},
flightRank: {
get: function () {
return this.form.flightRank
return this.form.flightRank;
},
set: function (val) {
const reg = /^([a-zA-Z0-9]{0,20}(\;[a-zA-Z0-9]{0,20})*)$/
if (reg.test(val)) {
this.form.flightRank = val
this.$set(this.form, 'flightRank', val)
}
},
}
},
},
};
</script>
<style>
......
<template>
<div style="padding:10px">
<el-button class="ml20 mb20" size="small" icon="el-icon-back" @click="close">返 回</el-button>
<!-- <el-button class="ml20 mb20" size="small" icon="el-icon-back" @click="close">返 回</el-button> -->
<el-card header="流水信息">
<Tables ref="weatherTable" ductName="weatherTable" :order="true" :border="false" :data="data"
:headerData="tableHeader" :showOverflowTooltip="false" :height="tableHeight" :page="selectData.page"
......