...
|
...
|
@@ -378,7 +378,7 @@ |
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="sendpre">确 定</el-button>
|
|
|
<el-button type="primary" @click="canclesendpre">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</el-row>
|
...
|
...
|
@@ -390,7 +390,7 @@ |
|
|
selectBycustomcode,
|
|
|
selectPreList,
|
|
|
insertSelectivePre,
|
|
|
updateByPrimaryKeySelectivePre, selectReturnMsgList, canclePre
|
|
|
updateByPrimaryKeySelectivePre, selectReturnMsgList, canclePre,sendPrediction
|
|
|
} from "../../api/transport/transport2.0";
|
|
|
|
|
|
export default {
|
...
|
...
|
@@ -437,7 +437,8 @@ |
|
|
messageid: '', // 消息ID
|
|
|
yqtype: 'Y', // 不知道具体含义,根据业务需求填充
|
|
|
costomcode:'',
|
|
|
aircrafttype:'1'
|
|
|
aircrafttype:'1',
|
|
|
content:''
|
|
|
},
|
|
|
tableData:[],
|
|
|
total:0,
|
...
|
...
|
@@ -532,7 +533,7 @@ |
|
|
this.row2=row;
|
|
|
|
|
|
},
|
|
|
sendpre(){
|
|
|
canclesendpre(row,FunctionCode){
|
|
|
this.row2.content=this.cancleForm.content;
|
|
|
const params = {
|
|
|
row: this.row2,
|
...
|
...
|
@@ -549,6 +550,24 @@ |
|
|
}
|
|
|
});
|
|
|
},
|
|
|
sendpre(row,FunctionCode){
|
|
|
//this.row2.content=this.cancleForm.content;
|
|
|
const params = {
|
|
|
row: row,
|
|
|
FunctionCode: FunctionCode
|
|
|
};
|
|
|
sendPrediction(params).then(res =>{
|
|
|
let response=res.data;
|
|
|
if(response.code=='200'){
|
|
|
this.dialogFormVisible=false;
|
|
|
this.selectList();
|
|
|
this.$message.success(response.msg)
|
|
|
}else{
|
|
|
this.$message.error(response.msg)
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
|
|
|
handleClose() {
|
|
|
this.returnVisible=false;
|
|
|
},
|
...
|
...
|
|