|
|
|
@ -140,14 +140,26 @@ |
|
|
|
|
<el-table-column type="index" width="100" label="序号" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="productName" label="产品名称" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="periodOfUse" label="使用期限" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="periodOfUse" label="使用期限" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.periodOfUse}} 月 |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="usePeriod" label="起止日期" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.startTime}}~{{scope.row.endTime}} |
|
|
|
|
{{scope.row.startTime}} - {{scope.row.endTime}} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="remainingPeriod" label="剩余期限" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.remainingPeriod}} 天 |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="accountNum" label="账号数" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.accountNum}} 个 |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="remainingPeriod" label="剩余期限" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="accountNum" label="账号数" align="center"></el-table-column> |
|
|
|
|
<el-table-column label="端口地址" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button @click="configure(scope.row)">配置</el-button> |
|
|
|
@ -176,10 +188,16 @@ |
|
|
|
|
<el-table-column prop="contractName" label="合同名称" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="endTime" label="合同期限" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.startTime.split(' ').shift()}} - {{scope.row.endTime.split(' ').shift()}} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="dataOrCourseName" label="产品内容" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="contractMoney" label="合同金额" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.contractMoney}} 元 |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -559,7 +577,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
showContract(row){ |
|
|
|
|
if(!row.contractFile) return this.$message.warning('文件链接无效') |
|
|
|
|
let type = file.name.split('.').pop() |
|
|
|
|
console.log(row.contractFile,'f'); |
|
|
|
|
let type = row.contractFile.split('.').pop() |
|
|
|
|
let img = ['jpg','gif','png','jepg'] |
|
|
|
|
|
|
|
|
|
this.fileSrc = row.contractFile |
|
|
|
|