Commit 09e7f285 authored by youjie's avatar youjie
parents b2b19e8e a31ca5d9
...@@ -475,6 +475,10 @@ ...@@ -475,6 +475,10 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.line-down:hover {
text-decoration: underline;
color: #333;
}
</style> </style>
<template> <template>
...@@ -497,9 +501,10 @@ ...@@ -497,9 +501,10 @@
<div v-if="item.IsWarning === 1" class="product_warning"></div> <div v-if="item.IsWarning === 1" class="product_warning"></div>
<div class="d12" style="float: none; margin: auto" <div class="d12" style="float: none; margin: auto"
:style="{ width: pagesTitle == '跟团游产品' ? '200px' : 'auto' }"> :style="{ width: pagesTitle == '跟团游产品' ? '200px' : 'auto' }">
<div>
<p><i class="iconfont icon-biaoti1"></i> {{ item.LineName }}</p> <p><i class="iconfont icon-biaoti1"></i> {{ item.LineName }}</p>
<p class="d12TC">{{ item.TCNUM }}{{ item.TCID }}</p> <p class="d12TC line-down" style="cursor: pointer" @click="goUrlT('productQuery',item.TCNUM,'产品查询')">{{ item.TCNUM }}{{ item.TCID }}</p>
<p>{{ item.LtName }}</p> <p>{{ item.LtName }}</p></div>
<el-tooltip class="item" effect="dark" :content="item.Title" placement="top-start" <el-tooltip class="item" effect="dark" :content="item.Title" placement="top-start"
popper-class="max-w250"> popper-class="max-w250">
<p class="d12p" @click="getTitledetail(item)" :title="item.Title"> <p class="d12p" @click="getTitledetail(item)" :title="item.Title">
...@@ -519,7 +524,7 @@ ...@@ -519,7 +524,7 @@
</div> </div>
</div> </div>
<div class="d5"> <div class="d5">
<p> <p class="line-down" style="cursor: pointer" @click="goUrlT('RegistrationList',item.TCID,'报名清单')">
<span>{{ $t("visa.v_yibaoru") }}</span><i>{{ item.Seat == "" ? "0" : item.Seat <span>{{ $t("visa.v_yibaoru") }}</span><i>{{ item.Seat == "" ? "0" : item.Seat
}}{{ $t("salesModule.PeoPle") }}</i>({{ $t("Operation.Op_takeSeat") }}{{ item.Occupied }}{{ $t("salesModule.PeoPle") }}</i>({{ $t("Operation.Op_takeSeat") }}{{ item.Occupied
}}{{ $t("salesModule.PeoPle") }}) }}{{ $t("salesModule.PeoPle") }})
...@@ -601,9 +606,8 @@ ...@@ -601,9 +606,8 @@
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
props: ["loading", "list", "pagesTitle", "isVisa"], props: ["loading", "list", "pagesTitle", "isVisa"],
data() { data() {
return { return {
...@@ -679,6 +683,7 @@ ...@@ -679,6 +683,7 @@
}, },
methods: { methods: {
changeSelect() { changeSelect() {
console.log("changeSelect");
this.list.forEach((element) => { this.list.forEach((element) => {
element.check = this.allCheck; element.check = this.allCheck;
}); });
...@@ -691,10 +696,7 @@ ...@@ -691,10 +696,7 @@
}); });
}, },
submitOP() { submitOP() {
let params = { let params = { TCIDs: this.TCIDs, Type: this.isVisa ? 1 : 0 };
TCIDs: this.TCIDs,
Type: this.isVisa ? 1 : 0
};
if (!this.isVisa) { if (!this.isVisa) {
params.OPId = this.queryData.OPId; params.OPId = this.queryData.OPId;
if (!this.queryData.AssistantId || !this.queryData.AssistantId.length) { if (!this.queryData.AssistantId || !this.queryData.AssistantId.length) {
...@@ -713,10 +715,7 @@ ...@@ -713,10 +715,7 @@
params.VisaAssistantId = this.queryData.VisaAssistantId.join(","); params.VisaAssistantId = this.queryData.VisaAssistantId.join(",");
} }
if (this.editNum) { if (this.editNum) {
if (!this.queryData.VisaNum) { if (this.queryData.VisaNum > this.editObj.NeedVisaNum) {
this.$message.error("请填写签证人数");
return;
} else if (this.queryData.VisaNum > this.editObj.NeedVisaNum) {
this.$message.error("签证人数最多" + this.editObj.NeedVisaNum + "人"); this.$message.error("签证人数最多" + this.editObj.NeedVisaNum + "人");
return; return;
} else { } else {
...@@ -774,7 +773,7 @@ ...@@ -774,7 +773,7 @@
//根据当前员工所在部门获取该部门及子部门员工信息 //根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList() { getEmployeeList() {
this.apipost( this.apipost(
"admin_get_EmployeeGetList", {}, "admin_get_GetEmpByDepPostNameList", {},
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data; this.EmployeeList = res.data.data;
...@@ -922,6 +921,18 @@ ...@@ -922,6 +921,18 @@
var B2BDomain = this.CurrentUserInfo.B2BDomain; var B2BDomain = this.CurrentUserInfo.B2BDomain;
this.$tripUtils.GotoB2CPage(B2BDomain, item.ConfigID, item.TCID); this.$tripUtils.GotoB2CPage(B2BDomain, item.ConfigID, item.TCID);
}, },
goUrlT(path, obj, outItem, title) {
console.log('goUrlTO',path, obj, outItem, title)
this.$router.push({
name: path,
query: {
"id": obj,
NewCombinationNum: outItem.NewCombinationNum,
blank: 'y',
tab: title
}
})
},
}, },
mounted() { mounted() {
this.getEmployeeList(); this.getEmployeeList();
......
This diff is collapsed.
...@@ -3188,6 +3188,14 @@ export default { ...@@ -3188,6 +3188,14 @@ export default {
title: '客户审批' title: '客户审批'
}, },
}, },
{ // 销售 月结客户审批
path: '/customerApprovalFor',
name: 'customerApprovalFor',
component: resolve => require(['@/components/SalesModule/customerApprovalFor'], resolve),
meta: {
title: '月结客户审批'
},
},
{ // 销售 销售任务详情 { // 销售 销售任务详情
path: '/saleTaskDetail', path: '/saleTaskDetail',
name: 'saleTaskDetail', name: 'saleTaskDetail',
......
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