Commit b66ea26b authored by zhengke's avatar zhengke

增加合同

parent 303fd301
......@@ -230,8 +230,8 @@ export default {
initData() {
//判断是否是线上环境
if (!this.isOnline()) {
// this.userInfo.name = "18117845617";
// this.userInfo.password = "123456";
this.userInfo.name = "18117845617";
this.userInfo.password = "123456";
}
this.userInfo.Domain =window.location.hostname
},
......
<template>
<div class="flexOne">
<div class="query-box">
<ul>
<li>
<span>
</span>
</li>
<li>
<input type="button" @click="" class="normalBtn" value="一日游合同" />
<input type="button" @click="" class="normalBtn" value="境内旅游合同" />
<input type="button" @click="" class="normalBtn" value="单项委托合同" />
</li>
</ul>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="300">编号</th>
<th width="800">地址</th>
<th width="100">城市</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in dataList">
<td>{{item.C_BusCode}}</td>
<td>{{item.C_BreakfastAddress}}</td>
<td>{{item.C_ComplaintCity}}</td>
<td>
<el-tooltip class="item" effect="dark" content="修改" placement="top-start">
<el-button type="primary" icon="el-icon-edit" circle @click="goContract('onedayTripContract',item)"></el-button>
</el-tooltip>
</td>
</tr>
</table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize :total=total>
</el-pagination>
</div>
</template>
<script>
export default {
data() {
return {
total: 0,
currentPage: 1,
dataList: [],
msg: {
pageIndex: 1,
pageSize: 15,
},
}
},
mounted() {
this.getList()
},
methods: {
getList() { //获取列表数据
this.apipost("travelcontract_get_GetPageListService", this.msg, res => {
console.log(res,'resss');
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
this.total = res.data.data.count;
} else {}
}, err => {})
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
goContract(path,item) {
this.$router.push({
name: path,
query: {
"id": item.ID,
blank: 'y',
tab: "一日游合同"
}
})
},
}
}
</script>
......@@ -409,6 +409,14 @@ export default {
title: '电子合同审核'
},
},
{
path: '/ContractManage', //合同管理
name: 'ContractManage',
component: resolve => require(['@/components/administrative/ContractManage'], resolve),
meta: {
title: '合同管理'
},
},
{
path: '/leaderManagement', //领队导游管理
name: 'leaderManagement',
......
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