mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
@我的全部
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
<div style="padding: 10px 22px 10px 23px;">
|
||||
<el-select v-model="dataList.type" style="margin-right: 10px" placeholder="类型">
|
||||
<!-- <el-option label="全部" :value="0"></el-option> -->
|
||||
<el-option label="全部" :value="null"></el-option>
|
||||
<el-option label="文章" :value="2"></el-option>
|
||||
<!-- <el-option label="课程" :value="1"></el-option> -->
|
||||
<el-option label="案例" :value="3"></el-option>
|
||||
@@ -16,7 +16,7 @@
|
||||
</el-select>
|
||||
<!-- <el-input style="width: 200px;margin-right: 10px" placeholder="请选择来源"></el-input> -->
|
||||
<!-- 问题: -->
|
||||
<el-input style="width: 200px;margin-right: 10px" v-model="dataList.send" clearable placeholder="搜索人员姓名标题"></el-input>
|
||||
<el-input style="width: 200px;margin-right: 10px" v-model="dataList.uname" clearable placeholder="搜索人员姓名标题"></el-input>
|
||||
<!-- 提问人:
|
||||
<el-input style="width: 200px;margin-right: 10px"></el-input> -->
|
||||
<el-button type="primary" @click="getList" icon="el-icon-search">搜索</el-button>
|
||||
@@ -42,13 +42,11 @@
|
||||
<span style="font-size: 16px; color: #666666; line-height:30px">
|
||||
<!-- <i class="el-icon-time"> -->
|
||||
{{item.sysCreateBy}}@我
|
||||
|
||||
</span>
|
||||
<span style="margin-left:5px; font-size: 16px; color: #666666; line-height:25px ">
|
||||
{{ item.content }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- <el-button type="primary" v-if="!item.isread" size="mini">标记已读</el-button> -->
|
||||
</div>
|
||||
<div style="margin-top:10px; position: relative;">
|
||||
@@ -121,11 +119,11 @@ export default {
|
||||
type:0,
|
||||
dataList: {
|
||||
pageIndex:1,
|
||||
type:4,
|
||||
type:'',
|
||||
pageSize:10,
|
||||
count:0,
|
||||
list:[],
|
||||
send:'',
|
||||
uname:'',
|
||||
},
|
||||
replyName:'',
|
||||
shareShow: false,
|
||||
@@ -149,13 +147,13 @@ export default {
|
||||
// let routeData = this.$router.resolve({ path:'/article/detail?id='+item.objId}); // , query: { id: 1 }
|
||||
// window.open(routeData.href, '_blank');
|
||||
// this.$router.push({path:'/article/detail',query:{id:item.objId}})
|
||||
if(this.dataList.type == 2){
|
||||
if(item.objType == 2){
|
||||
this.$router.push({path:'/article/detail',query:{id:item.objId}})
|
||||
}else if(this.dataList.type == 1){
|
||||
}else if(item.objType == 1){
|
||||
|
||||
}else if(this.dataList.type == 4){
|
||||
}else if(item.objType == 4){
|
||||
this.$router.push({ path: '/qa/answer', query: { id: item.objId } });
|
||||
} else if(this.dataList.type == 3){
|
||||
} else if(item.objType == 3){
|
||||
this.$router.push({ path: '/case/detail', query: { id: item.objId } });
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user