切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
小范
5 years ago
提交
719036630ab1f707028d8e7d83e0e82774c12757
1 个父辈
1dfa1dc3
20200623-trans
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
38 行增加
和
2 行删除
src/views/airtransport/queryBill.vue
src/views/airtransport/queryBill.vue
查看文件 @
7190366
...
...
@@ -192,6 +192,7 @@
border
style="width: 100%;margin-bottom: 10px">
<el-table-column
fixed="left"
prop="name"
label="姓名">
</el-table-column>
...
...
@@ -216,6 +217,7 @@
label="职务">
</el-table-column>
<el-table-column
fixed="right"
prop="meno"
label="备注">
</el-table-column>
...
...
@@ -223,6 +225,20 @@
</el-row>
</el-dialog>
</el-row>
<!--对话提示框-->
<el-row>
<el-dialog
title="系统提示"
:visible.sync="centerDialogVisible"
width="30%"
center>
<span>{{msg}}</span>
<span slot="footer" class="dialog-footer">
<el-button @click="centerDialogVisible = false">取 消</el-button>
<el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
</span>
</el-dialog>
</el-row>
</el-container>
</template>
...
...
@@ -245,7 +261,7 @@
</style>
<script>
import {addBillPerson, editBill, selectBill, selectReturnMsg} from "../../api/transport";
import {
addBillPerson, editBill, selectBill, selectReturnMsg} from "../../api/transport";
import loginUserInfo from "../../api/base";
export default {
data(){
...
...
@@ -303,15 +319,35 @@
tableData2:[],
gridData:[],
dialogTableVisible: false,
centerDialogVisible:false,
msg:undefined
}
},
methods: {
//添加机组人员按钮
showPerson(index,row){
this.dialogTableVisibles=true;
this.billperson.billsId=row.uuid;
},
//提交按钮
submitPerson(formName){
console.log(this.billperson.billsId)
//console.log(this.billperson.billsId)
this.$refs[formName].validate((valid) => {
if (valid) {
addBillPerson(this.billperson).then(res=>{
let response=res.data;
if(response.code=='200'){
this.centerDialogVisible=true;
this.msg=response.msg;
}else{
this.msg=response.msg;
}
});
} else {
console.log('error submit!!');
return false;
}
});
},
//查询回执列表
selectDetail(index,row){
...
...
请
注册
或
登录
后发表评论