Commit f1052d61 authored by 黄奎's avatar 黄奎

页面修改

parent 2fe06e62
...@@ -644,9 +644,9 @@ ...@@ -644,9 +644,9 @@
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>
</span> </span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown"> <el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="goToOpenTravel('TravelManager2',item.ID,0)">系列团修改 <el-dropdown-item @click.native="goToOpenTravel('TravelManager4',item.ID,0)">系列团修改
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)"> <el-dropdown-item @click.native="goTonowTeam('TravelManager4',item.ID,item.TCID,item.TCNUM)">
当团修改 当团修改
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
...@@ -1039,7 +1039,6 @@ ...@@ -1039,7 +1039,6 @@
//新获取列表数据 //新获取列表数据
getControlList () { getControlList () {
var msg = JSON.parse(JSON.stringify(this.queryMsg)) var msg = JSON.parse(JSON.stringify(this.queryMsg))
if (msg.TeamMinNum == '') { if (msg.TeamMinNum == '') {
msg.TeamMinNum = -1 msg.TeamMinNum = -1
...@@ -1330,16 +1329,25 @@ ...@@ -1330,16 +1329,25 @@
}) })
}, },
//开团或修改 //开团或修改
goToOpenTravel (path) { goToOpenTravel (path,configId, tcid) {
if (configId > 0) {
this.$store.commit('pageConditionUpdate', this.queryMsg)
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
configId: configId,
openState: 1,
tcid: tcid,
blank: 'y', blank: 'y',
tab: '团期配置' tab: '团期配置'
} }
}) });
} else {
this.$router.push({
name: path
});
}
}, },
//当团修改 //当团修改
goTonowTeam (path, configId, tcid, TCNUM) { goTonowTeam (path, configId, tcid, TCNUM) {
if (configId > 0) { if (configId > 0) {
...@@ -1634,6 +1642,7 @@ ...@@ -1634,6 +1642,7 @@
this.getCountryCity() this.getCountryCity()
}, },
created () { created () {
this.checkAllTeam();
//默认显示联运 //默认显示联运
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 1
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
......
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