Commit e9b0d5a9 authored by zhengke's avatar zhengke

修改

parent 88bb26a4
...@@ -222,7 +222,55 @@ ...@@ -222,7 +222,55 @@
<template v-for="(item,index) in DataList" v-loading="loading"> <template v-for="(item,index) in DataList" v-loading="loading">
<tr> <tr>
<!-- -合同信息-- --> <!-- -合同信息-- -->
<td @click="goUrl3('/sale/orderStatistics',item.OrderId)"><span style="cursor: pointer;text-decoration: underline;" >{{item.OrderId}}</span></td> <td @click="goUrl3('/sale/orderStatistics',item.OrderId)">
<template v-if="item.JoinType==3">
<el-tooltip class="item" effect="dark" content="续费订单" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:red" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==3">
<el-tooltip class="item" effect="dark" content="已续费" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:green" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==4">
<el-tooltip class="item" effect="dark" :content="`已转班【${item.TargetClassName}】,关联订单号${item.TargetOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:orange" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==1">
<template v-if="item.JoinType==3">
<el-tooltip class="item" effect="dark" :content="`原订单${item.SourceOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:blue" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.JoinType==4">
<el-tooltip class="item" effect="dark" :content="`从${item.SourceClassName}】转入,关联订单号${item.SourceOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:blue" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else>
<span style="cursor: pointer;text-decoration: underline;" >
{{item.OrderId}}
</span>
</template>
</template>
<template v-else>
<span style="cursor: pointer;text-decoration: underline;" >
{{item.OrderId}}
</span>
</template>
</td>
<td>{{item.CreateTime}}</td> <td>{{item.CreateTime}}</td>
<td @click="goUrl('/sale/contractManage',item.ContractNo)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ContractNo}}</span></td> <td @click="goUrl('/sale/contractManage',item.ContractNo)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ContractNo}}</span></td>
<td @click="goUrl('/course/course',item.CourseName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.CourseName}}</span></td> <td @click="goUrl('/course/course',item.CourseName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.CourseName}}</span></td>
......
...@@ -130,9 +130,53 @@ ...@@ -130,9 +130,53 @@
:header-cell-style="{backgroundColor:'#f5f6f7', color: '#a8a8b3'}" border style="width: 100%"> :header-cell-style="{backgroundColor:'#f5f6f7', color: '#a8a8b3'}" border style="width: 100%">
<el-table-column prop="OrderId" label="订单号" width='90'> <el-table-column prop="OrderId" label="订单号" width='90'>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-decoration: underline;cursor: pointer;" @click='gobaoming(scope.row.OrderId)'> <template v-if="scope.row.JoinType==3">
{{scope.row.OrderId}} <el-tooltip class="item" effect="dark" content="续费订单" placement="top-start">
</div> <div style="text-decoration: underline;cursor: pointer;color:red" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==3">
<el-tooltip class="item" effect="dark" content="已续费" placement="top-start">
<div style="text-decoration: underline;cursor: pointer;color:green" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==4">
<el-tooltip class="item" effect="dark" :content="`已转班【${scope.row.TargetClassName}】,关联订单号${scope.row.TargetOrderId}`" placement="top-start">
<div style="text-decoration: underline;cursor: pointer;color:orange" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==1">
<template v-if="scope.row.JoinType==3">
<el-tooltip class="item" effect="dark" :content="`原订单${scope.row.SourceOrderId}`" placement="top-start">
<div style="cursor: pointer;text-decoration: underline;color:blue" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.JoinType==4">
<el-tooltip class="item" effect="dark" :content="`从${scope.row.SourceClassName}】转入,关联订单号${scope.row.SourceOrderId}`" placement="top-start">
<div style="cursor: pointer;text-decoration: underline;color:blue" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else>
<div style="cursor: pointer;text-decoration: underline;" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</template>
</template>
<template v-else>
<div style="cursor: pointer;text-decoration: underline;" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ContractNo" width='150' label="合同号"></el-table-column> <el-table-column prop="ContractNo" width='150' label="合同号"></el-table-column>
......
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