| | |
| | | <div v-for="one in dataList" :key="one.id" class="list-item"> |
| | | <el-row > |
| | | <el-col :span="18"><div class="grid-content z_grid-content1 grid-content_text" @click="showItem(one)">{{one.title}}</div></el-col> |
| | | <el-col :span="3"><div class="grid-content z_grid-content1 grid-content_exam" @click="showLinkItem(one)">{{formatter(one.examine)}}</div></el-col> |
| | | <el-col :span="3"><div class="grid-content z_grid-content1 grid-content_exam" @click="showLinkItem(one)">{{formatter(one)}}</div></el-col> |
| | | <el-col :span="3"><div class="grid-content z_grid-content1 grid-content_time">{{one.time}}</div></el-col> |
| | | </el-row> |
| | | |
| | |
| | | this.selectOne = one; |
| | | }, |
| | | showLinkItem(one) { |
| | | this.dialogProdetail = true; |
| | | this.rowData = { |
| | | id: one.linkId, |
| | | } |
| | | this.dialogProdetail = true; |
| | | }, |
| | | createNew() { |
| | | this.form = {}; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | formatter(exam){ |
| | | if(exam){ |
| | | formatter(one){ |
| | | if(one.examine && one.linkId){ |
| | | return "已关联项目"; |
| | | } |
| | | }, |
| | |
| | | let pageno = this.pagenum; |
| | | let url = "/api/topic/page/" + this.pageno; |
| | | let params = {}; |
| | | if(query){ |
| | | if(query && query != {}){ |
| | | params.title = query.title; |
| | | params.desp = query.desp; |
| | | } |