Commit 5d47ae28 authored by 旭艳's avatar 旭艳

站位计划列表样式修改

parent 9a37e807
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="站位:">
<el-select v-model="form.postion" placeholder="站位" @change="changeFrom">
<el-select v-model="form.postion" placeholder="站位" @change="changePostion">
<el-option
v-for="(item, i) in postionList"
:key="item.value + i"
......@@ -86,6 +86,10 @@ export default {
changeFrom(val) {
this.$emit('input', val)
},
changePostion(val) {
this.$emit('input', val)
this.$bus.$emit('getTableData', this.form)
},
getStation(val) {
this.postionList = []
this.$set(this.form, 'postion', '')
......
......@@ -78,6 +78,8 @@ export default {
mounted() {
this.$bus.$on('getTableData', (data) => {
this.$nextTick(() => {
this.getLeftCount(data)
this.getRightCount(data)
const formData = {
items: [],
operator: 'AND'
......@@ -98,10 +100,7 @@ export default {
methods: {
rowClick(data) {
this.rowData = data
this.getLeftCount(data.row.extProcessPlan)
this.getRightCount(data.row.extProcessPlan)
this.getMissInfo(data.row.extProcessPlan)
// this.$emit('rowClick', data.row)
},
// getPageData(val) {
// this.getMissInfo(this.rowData.row, val)
......@@ -113,12 +112,12 @@ export default {
{
'fieldName': 'extProcessPlan.sorties',
'operator': 'EQ',
'value': obj.sorties
'value': obj.sortiesName
},
{
'fieldName': 'extProcessPlan.positionNumber',
'operator': 'EQ',
'value': obj.positionNumber
'value': obj.postionName
},
{
'fieldName': 'extProcessPlan.subTypeName',
......@@ -151,12 +150,12 @@ export default {
{
'fieldName': 'sorties',
'operator': 'EQ',
'value': obj.sorties
'value': obj.sortiesName
},
{
'fieldName': 'positionNumber',
'operator': 'EQ',
'value': obj.positionNumber
'value': obj.postionName
},
{
'fieldName': 'subTypeName',
......
......@@ -80,7 +80,6 @@ export default {
deep: true,
immediate: true,
handler(val) {
console.log(1212, val)
this.detailInfo = val
}
}
......
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