This commit is contained in:
zhangsir
2024-07-12 15:22:38 +08:00
parent 46f85d8e8c
commit af6db38ef0

View File

@@ -6,7 +6,8 @@
<u-search :clearabled="true" @search="loadBoeData(true)" @clear="loadBoeData(true)" <u-search :clearabled="true" @search="loadBoeData(true)" @clear="loadBoeData(true)"
placeholder="搜索关键字" v-model="loadkeyword" :showAction="false" shape="square" bgColor="##F2F5F7"> placeholder="搜索关键字" v-model="loadkeyword" :showAction="false" shape="square" bgColor="##F2F5F7">
</u-search> </u-search>
<view class="textbtns" @click="()=>{showSearch = true;firstType = 0;endType = 0;boeStatus = '';typeListData=''}"> <!-- firstType = 0;endType = 0;boeStatus = '';typeListData='' -->
<view class="textbtns" @click="()=>{showSearch = true;}">
<text>筛选</text> <text>筛选</text>
<image style="width: 26rpx;height: 26rpx;margin-left: 10rpx;" src="../../static/images/search.png"></image> <image style="width: 26rpx;height: 26rpx;margin-left: 10rpx;" src="../../static/images/search.png"></image>
</view> </view>
@@ -799,7 +800,7 @@
if(res.code==200){ if(res.code==200){
res.data.records.forEach(r=>{ res.data.records.forEach(r=>{
//r.cmtask_imgurl='/upload/static/images/course/courseDefault.png'; //r.cmtask_imgurl='/upload/static/images/course/courseDefault.png';
if(r.cmtask_imgurl.startsWith('/upload')){ if (r.cmtask_imgurl && r.cmtask_imgurl.startsWith('/upload')) {
r.cmtask_imgurl = this.$config.fileUrl + r.cmtask_imgurl.substring(7); r.cmtask_imgurl = this.$config.fileUrl + r.cmtask_imgurl.substring(7);
} }
// console.log('aaa='+r.cmtask_imgurl); // console.log('aaa='+r.cmtask_imgurl);