no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 8cc9a50a91
commit 73eeea01ea

@ -185,40 +185,40 @@
goPage($itm,$item){ goPage($itm,$item){
let that = this; let that = this;
console.log('当前行点击事件:',$itm) console.log('当前行点击事件:',$itm)
if($itm.recordStatus == 1){ // if($itm.recordStatus == 1){
// //
uni.navigateTo({ uni.navigateTo({
url:'/root/bind/view?id=' + $itm.id + '&type=2&status=' + $itm.recordStatus + '&time=' + $item.time url:'/root/bind/view?id=' + $itm.id + '&type=2&status=' + $itm.recordStatus + '&time=' + $item.time
}) })
}else{ // }else{
let params = { // let params = {
id:$itm.agencyId, // id:$itm.agencyId,
type:that.type, // type:that.type,
isShowMore:false, // isShowMore:false,
isShowJob:false // isShowJob:false
} // }
if(that.type == 1){// // if(that.type == 1){//
if($itm.recordStatus == 2){// // if($itm.recordStatus == 2){//
params.isShowMore = true;
params.isShowJob = true;
}
}else{//
if($itm.recordStatus == 2){//
// if(){//
// params.isShowMore = true; // params.isShowMore = true;
// params.isShowJob = true; // params.isShowJob = true;
// }else{//
params.isShowMore = true;
params.isShowJob = false;
// } // }
} // }else{//
} // if($itm.recordStatus == 2){//
// // if(){//
// // params.isShowMore = true;
// // params.isShowJob = true;
// // }else{//
// params.isShowMore = true;
// params.isShowJob = false;
// // }
// }
// }
uni.navigateTo({ // uni.navigateTo({
url:'/root/detail/userShare?' + that.G.objToStr(params) // url:'/root/detail/userShare?' + that.G.objToStr(params)
}) // })
} // }
}, },
handleFixed($item,$index){ handleFixed($item,$index){
this.stickyText = $item.time; this.stickyText = $item.time;

@ -89,7 +89,7 @@
<view class="g_h_50 g_w_all" style="background-color: #ededed"></view> <view class="g_h_50 g_w_all" style="background-color: #ededed"></view>
</view> </view>
<view v-if="speed > 0 && tabFansInfo.active == 1"> <view v-if="speed > 0 && tabFansInfo.active == 1">
<view class="item g_flex_row_between g_pl_16 g_pr_16 g_pb_6 g_pt_6 g_bg_f" hover-class="thover" v-for="(item, index) in query.list" :key="index" @click="goMain(item)" :class="index == 0 ? 'g_pt_12' : ''" :style="{ 'border-bottom': index == query.list.length - 1 ? '1rpx solid #eee' : '1rpx solid #eee' }"> <view class="item g_flex_row_between g_pl_16 g_pr_16 g_pb_6 g_pt_6 g_bg_f" hover-class="thover" v-for="(item, index) in query.list" :key="index" @click="goPage(item)":class="index == 0 ? 'g_pt_12' : ''" :style="{ 'border-bottom': index == query.list.length - 1 ? '1rpx solid #eee' : '1rpx solid #eee' }">
<view class="g_flex_none g_flex_row_start"> <view class="g_flex_none g_flex_row_start">
<view class="g_flex_column_center g_pr_16 g_flex_none" style="position: relative"> <view class="g_flex_column_center g_pr_16 g_flex_none" style="position: relative">
<rh-image :url="item.logo" size="96" radius="50" v-if="item.logo" /> <rh-image :url="item.logo" size="96" radius="50" v-if="item.logo" />
@ -537,44 +537,44 @@ export default {
goPage($itm, $item) { goPage($itm, $item) {
let that = this; let that = this;
console.log("当前行点击事件:", $itm); console.log("当前行点击事件:", $itm);
if ($itm.recordStatus == 1) { // if ($itm.recordStatus == 1) {
// //
uni.navigateTo({ uni.navigateTo({
url: "/root/bind/view?id=" + $itm.id + "&type=2&status=" + $itm.recordStatus + "&time=" + $item.time, url: "/root/bind/view?id=" + $itm.id + "&type=2&status=" + $itm.recordStatus,
}); });
} else { // } else {
let params = { // let params = {
id: $itm.agencyId, // id: $itm.agencyId,
type: 2, // type: 2,
isShowMore: false, // isShowMore: false,
isShowJob: false, // isShowJob: false,
}; // };
if (that.type == 1) { // if (that.type == 1) {
// // //
if ($itm.recordStatus == 2) { // if ($itm.recordStatus == 2) {
// // //
params.isShowMore = true;
params.isShowJob = true;
}
} else {
//
if ($itm.recordStatus == 2) {
//
// if(){//
// params.isShowMore = true; // params.isShowMore = true;
// params.isShowJob = true; // params.isShowJob = true;
// }else{//
params.isShowMore = true;
params.isShowJob = false;
// } // }
} // } else {
} // //
// if ($itm.recordStatus == 2) {
// //
// // if(){//
// // params.isShowMore = true;
// // params.isShowJob = true;
// // }else{//
// params.isShowMore = true;
// params.isShowJob = false;
// // }
// }
// }
uni.navigateTo({ // uni.navigateTo({
url: "/root/detail/user?" + that.G.objToStr(params), // url: "/root/detail/user?" + that.G.objToStr(params),
}); // });
} // }
}, },
quickSuccess($itm, $inx) { quickSuccess($itm, $inx) {

@ -18,20 +18,23 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="info.remark" <div
style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;"> style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;">
{{ info.remark }} {{ info.remark.trim() || '无备注' }}
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;"> <div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;">
{{ info.remark.length }}/ 30 {{ info.remark.trim() ? (info.remark.length) : 3 }}/ 30
</div> </div>
</div> </div>
<view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" v-if="type == 2 && title != '三天前'"> <view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" v-if="type == 2 && title != '三天前'">
<view class="g_fs_17 g_c_3 g_flex_none" style="margin-right: 14px;">来源</view> <view class="g_fs_17 g_c_3 g_flex_none" style="margin-right: 14px;">来源</view>
<view class="g_fs_17 g_c_9 g_ml_28 g_flex_1" style="text-align: right;">{{ info.messageSource }}</view> <view class="g_fs_17 g_c_9 g_ml_28 g_flex_1" style="text-align: right;">{{ info.messageSource }}</view>
</view> </view>
<view class="g_flex_row_center" v-if="type == 2 && title != '三天前'" style="margin-top: 60px;"> <view class="g_flex_row_center" v-if="type == 2 && title && title != '三天前' && info.recordStatus == 1" style="margin-top: 60px;">
<rh-button btnText="通过" type="primary" @clickBtn="handleSubmit" /> <rh-button btnText="通过" type="primary" @clickBtn="handleSubmit" />
</view> </view>
<view class="g_flex_row_center dbtn" v-if="type == 2 && title && title != '三天前' && info.recordStatus == 2" style="margin-top: 60px;">
<rh-button btnText="已通过" type="disabled" />
</view>
</view> </view>
</template> </template>
@ -63,7 +66,7 @@ export default {
this.id = option.id; this.id = option.id;
this.type = option.type; this.type = option.type;
this.status = option.status; this.status = option.status;
this.title = option.time; this.title = option.time || '';
this.getList(); this.getList();
}, },
methods: { methods: {
@ -139,4 +142,12 @@ export default {
}; };
</script> </script>
<style lang="scss"></style> <style lang="scss">
.dbtn{
.bocai_btn_type_disabled{
background-color:#999999 !important;
border:1px solid #999999 !important;
color:#ffffff !important;
}
}
</style>

@ -18,20 +18,23 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="info.remark" <div
style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;"> style="background-color: #fff;border-radius: 8px;width: calc(100% - 20px);margin: 10px auto 0;padding: 14px 10px;color: #666;font-size: 16px;min-height: 88px;position: relative;">
{{ info.remark }} {{ info.remark.trim() || '无备注' }}
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;"> <div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;">
{{ info.remark.length }}/ 30 {{ info.remark.trim() ? (info.remark.length) : 3 }}/ 30
</div> </div>
</div> </div>
<view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" > <view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start" >
<view class="g_fs_17 g_c_3 g_flex_none" style="margin-right: 14px;">来源</view> <view class="g_fs_17 g_c_3 g_flex_none" style="margin-right: 14px;">来源</view>
<view class="g_fs_17 g_c_9 g_ml_28 g_flex_1" style="text-align: right;">{{ info.messageSource }}</view> <view class="g_fs_17 g_c_9 g_ml_28 g_flex_1" style="text-align: right;">{{ info.messageSource }}</view>
</view> </view>
<view class="g_flex_row_center" style="margin-top: 60px;"> <view class="g_flex_row_center" v-if="info.recordStatus == 1" style="margin-top: 60px;">
<rh-button btnText="通过" type="primary" @clickBtn="handleSubmit" /> <rh-button btnText="通过" type="primary" @clickBtn="handleSubmit" />
</view> </view>
<view class="g_flex_row_center dbtn" v-if="info.recordStatus == 2" style="margin-top: 60px;">
<rh-button btnText="已通过" type="disabled" />
</view>
</view> </view>
</template> </template>
@ -125,4 +128,12 @@ export default {
}; };
</script> </script>
<style lang="scss"></style> <style lang="scss">
.dbtn{
.bocai_btn_type_disabled{
background-color:#999999 !important;
border:1px solid #999999 !important;
color:#ffffff !important;
}
}
</style>

Loading…
Cancel
Save