| | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <h2 v-if="StockExchangeTab3 == '银行间市场'">债券基本信息</h2> |
| | | <h3 v-if="StockExchangeTab3 == '银行间市场'">债券基本信息</h3> |
| | | <table v-if="StockExchangeTab3 == '银行间市场'" class="tableBack" |
| | | style="width: 100%;margin-top: 0px;height: 430px;overflow-y: auto" border="0" cellspacing="0" |
| | | cellpadding="0"> |
| | |
| | | |
| | | <div v-if="StockExchangeTab3 == '银行间市场' && XFTableList.length > 0"> |
| | | <div v-for="(item, index) in XFTableList" :key="index"> |
| | | <h2>{{ item.Title }} </h2> |
| | | <h3 style="margin-top: 5px">{{ item.Title }} </h3> |
| | | |
| | | <table class="tableBack" style="width: 100%;margin-top: 0px;height: 130px;overflow-y: auto" border="0" |
| | | cellspacing="0" cellpadding="0"> |
| | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <!-- <h2 style="margin:12px 0">匹配成交最优五档买卖盘</h2> |
| | | <table class="tableBack" |
| | | style="width: 100%;margin-top: 0px;height: 430px;overflow-y: auto" border="0" cellspacing="0" cellpadding="0"> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td style="border-top: 1px solid #ccc;border-right: 0px solid #ccc"></td> |
| | | <td style="border-top: 1px solid #ccc;border-right: none;font-weight:800;color:#515A6E">委托价格</td> |
| | | <td style="border-top: 1px solid #ccc;border-right: none;font-weight:800;color:#515A6E">委托面额(万元)</td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td style="border-right: 0px solid #ccc;">卖五</td> |
| | | <td style="border-right: 0px solid #ccc"> |
| | | {{ (detailtab2SJS.SendNum && (detailtab2SJS.SendNum != 0)) ? detailtab2SJS.SendNum : '--' }}</td> |
| | | <td style="border-top: none;"> |
| | | {{ (detailtab2SJS.TotalNum && (detailtab2SJS.TotalNum != 0)) ? detailtab2SJS.TotalNum : '--' }}</td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td style="border-right: 0px solid #ccc">卖四</td> |
| | | <td style="border-right: 0px solid #ccc"> |
| | | {{ detailtab2SJS.StartDate ? detailtab2SJS.StartDate : '--' }}</td> |
| | | |
| | | <td style="border-top: none;"> |
| | | {{ detailtab2SJS.EndDate ? detailtab2SJS.EndDate : '--' }}</td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td style="border-right: 0px solid #ccc">卖三</td> |
| | | <td style="border-right: 0px solid #ccc"> |
| | | {{ detailtab2SJS.EndDate ? detailtab2SJS.EndDate : '--' }}</td> |
| | | |
| | | <td style="border-top: none;"> |
| | | {{ detailtab2SJS.OverDate ? detailtab2SJS.OverDate : '--' }}</td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td style="border-right: 0px solid #ccc">卖二</td> |
| | | <td style="border-right: 0px solid #ccc"> |
| | | {{ detailtab2SJS.PubDate ? detailtab2SJS.PubDate : '--' }}</td> |
| | | |
| | | <td style="border-top: none;"> |
| | | {{ detailtab2SJS.TypeOfPledgee ? detailtab2SJS.TypeOfPledgee : '--' }}</td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>卖一</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ detailtab2SJS.DebtTax ? detailtab2SJS.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ detailtab2SJS.DebtPayway ? detailtab2SJS.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>买一</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ checkTableList.DebtTax ? checkTableList.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ checkTableList.DebtPayway ? checkTableList.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>买二</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ checkTableList.DebtTax ? checkTableList.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ checkTableList.DebtPayway ? checkTableList.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>买三</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ checkTableList.DebtTax ? checkTableList.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ checkTableList.DebtPayway ? checkTableList.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>买四</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ checkTableList.DebtTax ? checkTableList.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ checkTableList.DebtPayway ? checkTableList.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | <tr class="rentThClass3 tableBackadd" style="border-style: none"> |
| | | <td>买五</td> |
| | | <td style="border-top: none;border-right: none"> |
| | | {{ checkTableList.DebtTax ? checkTableList.DebtTax : '--' }}</td> |
| | | <td style="border-top: none">{{ checkTableList.DebtPayway ? checkTableList.DebtPayway : '--' |
| | | }} |
| | | </td> |
| | | </tr> |
| | | </table> --> |
| | | |
| | | </div> |
| | | </div> |
| | | <!-- --> |
| | | <div v-if="StockExchangeTab3 == '银行间市场'"> |
| | | <!-- <RadioGroup v-model="CJHQType" @on-change="changeCJHQ"> |
| | | <RadioGroup v-model="YSJSCType" @on-change="changeYHJSCCJHQ"> |
| | | <Radio label="bond_sse_price1">现券市场成交行情</Radio> |
| | | <Radio label="bond_sse_bidding1">现券市场做市报价</Radio> |
| | | </RadioGroup> --> |
| | | <Table ref="approvalProgressList" border :columns="YHJSCCJHQColumns" :data="detailtab2Date" |
| | | </RadioGroup> |
| | | <Table ref="approvalProgressList" border :columns="YHJSCCJHQColumns" :data="detailtab2Date" v-if="YSJSCType == 'bond_sse_price1'" |
| | | style="margin-top: 12px" :loading="loadingzqfxxqTab" :max-height="600"> |
| | | <template slot-scope="params" slot="Bp"> |
| | | <div> |
| | | <span>{{ params.row.Bp }}</span> |
| | | <Icon v-if="params.row.UpDown=='up'" type="ios-arrow-round-up" style="font-size: 21px;font-weight: bold" /> |
| | | <Icon v-if="params.row.UpDown=='down'" style="font-size: 21px;font-weight: bold" type="ios-arrow-round-down" /> |
| | | </div> |
| | | </template> |
| | | <template slot="action" slot-scope="params"> |
| | | <Tooltip content="查看" class="tableActionMargin" theme="light" transfer max-width="200" placement="top"> |
| | | <Icon custom="custom custom-chakan" size="18" :class="defaultassetsmode ? 'disabledIcon' : 'actionIcon'" |
| | | @click="checkRentclick2(params.row)" /> |
| | | </Tooltip> |
| | | </template> |
| | | </Table> |
| | | <Table ref="approvalProgressList" border :columns="YHJSCZSBJColumns" :data="detailtab2Date" v-if="YSJSCType == 'bond_sse_bidding1'" |
| | | style="margin-top: 12px" :loading="loadingzqfxxqTab" :max-height="600"> |
| | | <template slot-scope="params" slot="Bp"> |
| | | <div> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | YSJSCType:'bond_sse_price1', |
| | | XFTableList: [], |
| | | CJHQType: '点击成交行情', |
| | | detailInfo: {}, |
| | |
| | | } |
| | | ); |
| | | }, |
| | | changeYHJSCCJHQ() { |
| | | this.pageIndexzq = 1 |
| | | if(this.YSJSCType=="bond_sse_price1"){ |
| | | this.getPageChinamoneyMkDataBondDaily() |
| | | }else { |
| | | |
| | | } |
| | | |
| | | }, |
| | | changeCJHQ() { |
| | | this.pageIndexzq = 1 |
| | | if(this.StockExchangeTab3=="银行间市场"){ |
| | | this.getPageChinamoneyMkDataBondDaily() |
| | | }else{ |
| | | // if(this.StockExchangeTab3=="银行间市场"){ |
| | | // if(this.CJHQType=="bond_sse_price1"){ |
| | | // this.getPageChinamoneyMkDataBondDaily() |
| | | // } |
| | | |
| | | // }else{ |
| | | this.getPageBondPrice() |
| | | } |
| | | // } |
| | | |
| | | }, |
| | | //获取债券行情数据 |
| | |
| | | }); |
| | | return columns; |
| | | }, |
| | | YHJSCZSBJColumns() { |
| | | let columns = []; |
| | | columns.push({ |
| | | title: "日期", |
| | | key: "DealDate", |
| | | render: (h, params) => { |
| | | if (params.row.DealDate) { |
| | | return h("span", params.row.DealDate.split(' ')[0]); |
| | | } else { |
| | | return h("span", "--"); |
| | | } |
| | | }, |
| | | width: 120, |
| | | align: "center", |
| | | }); |
| | | columns.push({ |
| | | title: "报价机构", |
| | | key: "TermToMaturity", |
| | | render: (h, params) => { |
| | | if (params.row.TermToMaturity) { |
| | | return h("span", params.row.TermToMaturity); |
| | | } else { |
| | | return h("span", "--"); |
| | | } |
| | | }, |
| | | width: 120, |
| | | align: "center", |
| | | }); |
| | | columns.push({ |
| | | title: "买入/卖出净价(元", |
| | | key: "DmilatestRate", |
| | | render: (h, params) => { |
| | | if (params.row.DmilatestRate) { |
| | | return h("span", params.row.DmilatestRate); |
| | | } else { |
| | | return h("span", "--"); |
| | | } |
| | | }, |
| | | minWidth: 100, |
| | | align: "center", |
| | | }); |
| | | columns.push({ |
| | | title: "买入/卖出收益率(%)", |
| | | key: "DmilatestContraRate", |
| | | render: (h, params) => { |
| | | if (params.row.DmilatestContraRate) { |
| | | return h("span", params.row.DmilatestContraRate); |
| | | } else { |
| | | return h("span", "--"); |
| | | } |
| | | }, |
| | | minWidth: 120, |
| | | align: "center", |
| | | }); |
| | | return columns; |
| | | }, |
| | | // YHJSCCJHQColumns() { |
| | | // let columns = []; |
| | | // columns.push({ |
| | |
| | | |
| | | <div class="searchListItem" style="margin:5px 0"><span |
| | | style=" display: inline-block;width: 180px;line-height: 40px;">被处罚当事人:</span> <Input |
| | | v-model="ybjParams.xm" size="large" style="width: 300px;padding-right: 12px" |
| | | v-model="ybjParams.bcfdsr" size="large" style="width: 300px;padding-right: 12px" |
| | | placeholder="请输入被处罚当事人"></Input> |
| | | </div> |
| | | <!-- <div v-show="showMore === true" class="searchListItem" style="margin:5px 0"> <span |
| | |
| | | </div> --> |
| | | <div v-show="showMore === true" class="searchListItem" style="margin:5px 0"><span |
| | | style=" display: inline-block;width: 180px;line-height: 40px;">所属监管局:</span> |
| | | <Input v-model="ybjParams.cfjd" size="large" style="width: 300px;padding-right: 12px" |
| | | <Input v-model="ybjParams.ssjgj" size="large" style="width: 300px;padding-right: 12px" |
| | | placeholder="请输入所属监管局"></Input> |
| | | </div> |
| | | <!-- <div v-show="showMore === true" class="searchListItem" style="margin:5px 0"><span |
| | |
| | | |
| | | |
| | | <div class="searchListItem" style="margin:5px 0"><span |
| | | style=" display: inline-block;width: 180px;line-height: 40px;">处罚内容:</span> <Input v-model="ybjParams.xm" |
| | | style=" display: inline-block;width: 180px;line-height: 40px;">处罚内容:</span> <Input v-model="ybjParams.nr" |
| | | size="large" style="width: 300px;padding-right: 12px" placeholder="请输入处罚内容"></Input> |
| | | </div> |
| | | |
| | | |
| | | <div v-show="showMore === true" class="searchListItem" style="margin:5px 0"><span |
| | | style=" display: inline-block;width: 180px;line-height: 40px;">所属监管局:</span> |
| | | <Input v-model="ybjParams.cfjd" size="large" style="width: 300px;padding-right: 12px" |
| | | <Input v-model="ybjParams.ssjgj" size="large" style="width: 300px;padding-right: 12px" |
| | | placeholder="请输入所属监管局"></Input> |
| | | </div> |
| | | <div v-show="showMore === true" class="searchListItem"> |
| | |
| | | @click="showMore = !showMore">展开</Button> |
| | | <Button size="large" v-show="showMore === true" type="primary" style="margin: 12px 5px;width: 88px;" |
| | | @click="showMore = !showMore">收起</Button> |
| | | <Button size="large" icon="ios-search" type="primary" style="margin: 12px 0" @click="searchClick(1)">搜索 |
| | | <Button size="large" icon="ios-search" type="primary" style="margin: 12px 0" @click="GetBankFjcfArticlePage(1)">搜索 |
| | | </Button> |
| | | </div> |
| | | |
| | | <div class="rentScrollOut" style="margin-top: 12px"> |
| | | <Table ref="rentList" border :columns="bankColumns2" :data="rentList" :loading="loadingRent" |
| | | :max-height="componentsType != 'noTitle' ? 600 : 400"> |
| | | <template slot="title" slot-scope="params"> |
| | | <div v-html="params.row.title?params.row.title:''"></div> |
| | | </template> |
| | | <template slot="content" slot-scope="params"> |
| | | <div v-html="params.row.content?params.row.content:''"></div> |
| | | </template> |
| | | <template slot="action" slot-scope="params"> |
| | | <Tooltip content="查看" class="tableActionMargin" theme="light" transfer max-width="200" placement="top"> |
| | | <Icon custom="custom custom-chakan" size="18" |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | <Modal v-model="rentSeniorSearch" footer-hide width="430" sticky reset-drag-position :mask="true" draggable |
| | | :mask-closable="false"> |
| | |
| | | searchClickFirst: 0, |
| | | getRentListFirst: 0, |
| | | ybjParams: { |
| | | xm: '', |
| | | bcfdsr: '', |
| | | dwmc: '', |
| | | ay: '', |
| | | cfjd: '', |
| | | ssjgj: '', |
| | | jgmc: '', |
| | | cfjdrq1: '', |
| | | cfjdrq2: '', |
| | | gbrq: '', |
| | | wh: '', |
| | | nr: '', |
| | | }, |
| | | tab: 'tab1', |
| | | |
| | |
| | | } else { |
| | | this.rentPeople = '0' |
| | | } |
| | | this.getRentList() |
| | | this.getRentList1() |
| | | }, |
| | | watch: { |
| | | tabsec2(data) { |
| | |
| | | }, 200)) |
| | | }, |
| | | methods: { |
| | | changeTab(e){ |
| | | changeTab(e) { |
| | | this.showMore = false |
| | | this.ybjParams = { |
| | | bcfdsr: '', |
| | | dwmc: '', |
| | | ay: '', |
| | | ssjgj: '', |
| | | jgmc: '', |
| | | cfjdrq1: '', |
| | | cfjdrq2: '', |
| | | gbrq: '', |
| | | wh: '', |
| | | nr: '', |
| | | }, |
| | | |
| | | this.pageIndex = 1 |
| | | if(e == "tab1"){ |
| | | this.getRentList() |
| | | }else if(e == "tab2"){ |
| | | |
| | | if (e == "tab1") { |
| | | this.getRentList1() |
| | | } else if (e == "tab2") { |
| | | this.GetBankFjcfArticlePage() |
| | | } |
| | | |
| | | }, |
| | | |
| | | getStarTime(e) { |
| | |
| | | console.log(params); |
| | | }, |
| | | /** |
| | | * 获取租赁数据 |
| | | * 处罚公开表 |
| | | **/ |
| | | getRentList() { |
| | | getRentList1() { |
| | | this.searchChange = 1 |
| | | this.confirmSeniorFirst = 1 |
| | | this.searchClickFirst = 1 |
| | |
| | | |
| | | this.loadingRent = true |
| | | let data = { |
| | | xm: this.ybjParams.xm, |
| | | dwmc: this.ybjParams.dwmc, |
| | | ay: this.ybjParams.ay, |
| | | cfjd: this.ybjParams.cfjd, |
| | | jgmc: this.ybjParams.jgmc, |
| | | wh: this.ybjParams.wh, |
| | | bcfdsr: this.ybjParams.bcfdsr, |
| | | ay: this.ybjParams.ay, |
| | | ssjgj: this.ybjParams.ssjgj, |
| | | jgmc: this.ybjParams.jgmc, |
| | | cfjdrq1: this.ybjParams.cfjdrq1, |
| | | cfjdrq2: this.ybjParams.cfjdrq2, |
| | | gbrq: this.ybjParams.gbrq, |
| | | PageSize: this.pageSize, |
| | | PageIndex: this.pageIndex, |
| | | // wh:this.ybjParams.wh, |
| | | // cfjdrq1: this.seniorSearch.boardingTime, |
| | | // cfjdrq2: this.seniorSearch.expirationTime, |
| | | // RentPeople: parseInt(this.rentPeople), |
| | | // financingAmount: this.financingAmount, |
| | | // sizeAll: this.sizeAll, |
| | | // boardingTime: this.boardingTime, |
| | | // expirationTime: this.expirationTime, |
| | | // boardingTime2: this.boardingTime2, |
| | | // expirationTime2: this.expirationTime2, |
| | | |
| | | } |
| | | if (this.componentsType == 'noTitle') { |
| | | data.FilterLtd = 1 |
| | | } |
| | | axios.request({ |
| | | url: '/BankYj/GetBankFjcfTableDetail', |
| | | url: '/BankYj/GetBankFjcfTablePage', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | |
| | | this.loadingRent = false |
| | | }) |
| | | }, |
| | | endTimeDate() { |
| | | // 其它处罚 |
| | | |
| | | GetBankFjcfArticlePage() { |
| | | this.loadingRent = true |
| | | let data = { |
| | | nr: this.ybjParams.nr, |
| | | ssjgj: this.ybjParams.ssjgj, |
| | | jgmc: this.ybjParams.jgmc, |
| | | cfjdrq1: this.ybjParams.cfjdrq1, |
| | | cfjdrq2: this.ybjParams.cfjdrq2, |
| | | PageSize: this.pageSize, |
| | | PageIndex: this.pageIndex, |
| | | } |
| | | if (this.componentsType == 'noTitle') { |
| | | data.FilterLtd = 1 |
| | | } |
| | | axios.request({ |
| | | url: '/BankYj/GetBankFjcfArticlePage', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.rentList = res.data.Data.Items |
| | | this.TotalItems = res.data.Data.TotalItems |
| | | this.TotalPages = res.data.Data.TotalPages |
| | | this.loadingRent = false |
| | | |
| | | } else { |
| | | this.loadingRent = false |
| | | } |
| | | // if (document.documentElement.scrollTop < 766) { |
| | | window.scrollTo({ |
| | | top: 600, |
| | | behavior: "smooth" |
| | | }); |
| | | // } |
| | | }, res => { |
| | | this.loadingRent = false |
| | | }) |
| | | |
| | | }, |
| | | startTimeDate(e) { |
| | |
| | | this.ybjParams.cfjdrq1 = e[0] |
| | | this.ybjParams.cfjdrq2 = e[1] |
| | | |
| | | }, |
| | | endTimeDate(e) { |
| | | this.ybjParams.cfjdrq1 = e[0] |
| | | this.ybjParams.cfjdrq2 = e[1] |
| | | }, |
| | | /** |
| | | * 页面page的change事件 |
| | |
| | | // if (page > this.TotalPages) { |
| | | // this.pageIndex = 1 |
| | | // } else { |
| | | this.pageIndex = page |
| | | this.pageIndex = page |
| | | // } |
| | | // $('.rentScrollOut .ivu-table-body').animate({ scrollTop: 0 }, 'slow') |
| | | // this.searchClick(this.pageIndex) |
| | | if(this.tab == 'tab1'){ |
| | | if (this.tab == 'tab1') { |
| | | this.searchClick(this.pageIndex) |
| | | } else if(this.tab == 'tab2'){ |
| | | |
| | | } |
| | | } else if (this.tab == 'tab2') { |
| | | this.GetBankFjcfArticlePage() |
| | | } |
| | | }, |
| | | |
| | | searchClick(page) { |
| | |
| | | // this.pageIndex = 1 |
| | | // this.clearAway() |
| | | let data = { |
| | | xm: this.ybjParams.xm, |
| | | dwmc: this.ybjParams.dwmc, |
| | | // xm: this.ybjParams.xm, |
| | | // dwmc: this.ybjParams.dwmc, |
| | | // ay: this.ybjParams.ay, |
| | | // cfjd: this.ybjParams.cfjd, |
| | | // jgmc: this.ybjParams.jgmc, |
| | | // cfjdrq1: this.ybjParams.cfjdrq1, |
| | | // cfjdrq2: this.ybjParams.cfjdrq2, |
| | | // gbrq: this.ybjParams.gbrq, |
| | | // PageSize: this.pageSize, |
| | | // PageIndex: this.pageIndex, |
| | | // wh: this.ybjParams.wh, |
| | | wh: this.ybjParams.wh, |
| | | bcfdsr: this.ybjParams.bcfdsr, |
| | | ay: this.ybjParams.ay, |
| | | cfjd: this.ybjParams.cfjd, |
| | | ssjgj: this.ybjParams.ssjgj, |
| | | jgmc: this.ybjParams.jgmc, |
| | | cfjdrq1: this.ybjParams.cfjdrq1, |
| | | cfjdrq2: this.ybjParams.cfjdrq2, |
| | | gbrq: this.ybjParams.gbrq, |
| | | PageSize: this.pageSize, |
| | | PageIndex: this.pageIndex, |
| | | wh: this.ybjParams.wh, |
| | | // boardingTime: this.boardingTime, |
| | | // expirationTime: this.expirationTime, |
| | | // boardingTime2: this.boardingTime2, |
| | | // expirationTime2: this.expirationTime2, |
| | | |
| | | } |
| | | if (this.componentsType == 'noTitle') { |
| | | data.FilterLtd = 1 |
| | | } |
| | | axios.request({ |
| | | url: '/BankYj/GetBankFjcfTableDetail', |
| | | url: '/BankYj/GetBankFjcfTablePage', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | |
| | | // } |
| | | columns.push({ |
| | | title: '标题', |
| | | key: 'xm', |
| | | key: 'title', |
| | | align: 'center', |
| | | width: 250, |
| | | // slot: 'NameOfTenantSlot', |
| | | fixed: 'left', |
| | | render: (h, params) => { |
| | | if (params.row.xm) { |
| | | return h('span', params.row.xm) |
| | | } else { |
| | | return h('span', '--') |
| | | } |
| | | } |
| | | slot: 'title', |
| | | // fixed: 'left', |
| | | // render: (h, params) => { |
| | | // if (params.row.title) { |
| | | // return h('span', params.row.title) |
| | | // } else { |
| | | // return h('span', '--') |
| | | // } |
| | | // } |
| | | }) |
| | | columns.push({ |
| | | title: '内容', |
| | | key: 'xm', |
| | | key: 'content', |
| | | align: 'center', |
| | | minWidth: 250, |
| | | // slot: 'NameOfTenantSlot', |
| | | fixed: 'left', |
| | | render: (h, params) => { |
| | | if (params.row.xm) { |
| | | return h('span', params.row.xm) |
| | | } else { |
| | | return h('span', '--') |
| | | } |
| | | } |
| | | // fixed: 'left', |
| | | slot:"content" |
| | | // render: (h, params) => { |
| | | // if (params.row.content) { |
| | | // return h('span', params.row.content) |
| | | // } else { |
| | | // return h('span', '--') |
| | | // } |
| | | // } |
| | | }) |
| | | columns.push({ |
| | | title: '发布日期', |
| | | key: 'cfjdrq', |
| | | key: 'gbrq', |
| | | align: 'center', |
| | | width: 150, |
| | | width: 180, |
| | | render: (h, params) => { |
| | | if (params.row.cfjdrq) { |
| | | return h('span', params.row.cfjdrq.indexOf('00:00:00') > -1 ? params.row.cfjdrq.replace('00:00:00', '') : params.row.cfjdrq) |
| | | if (params.row.gbrq) { |
| | | return h('span', params.row.gbrq.indexOf('00:00:00') > -1 ? params.row.gbrq.replace('00:00:00', '') : params.row.gbrq) |
| | | } else { |
| | | return h('span', '--') |
| | | } |