|
@@ -12,7 +12,7 @@
|
|
</picker> -->
|
|
</picker> -->
|
|
<picker range-key='label' :value="ydidx" :range="ydztlist" @change='bindDateChangeb'>
|
|
<picker range-key='label' :value="ydidx" :range="ydztlist" @change='bindDateChangeb'>
|
|
<view class="chekt">
|
|
<view class="chekt">
|
|
- <view>{{ydzt || "阅读状态"}}</view>
|
|
|
|
|
|
+ <view>{{ydzt || "完成状态"}}</view>
|
|
<image :src="upimg"></image>
|
|
<image :src="upimg"></image>
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
</picker>
|
|
@@ -51,10 +51,10 @@
|
|
reachflag: true,
|
|
reachflag: true,
|
|
wtdt:'',
|
|
wtdt:'',
|
|
tzsj:'',//通知时间
|
|
tzsj:'',//通知时间
|
|
- ydidx:0,
|
|
|
|
- ydzt:'',
|
|
|
|
|
|
+ ydidx:1,
|
|
|
|
+ ydzt:'否',
|
|
ydztlist:[],//阅读状态
|
|
ydztlist:[],//阅读状态
|
|
- isRead:'',
|
|
|
|
|
|
+ isRead:'N',
|
|
userId:this.$store.state.user.userId,
|
|
userId:this.$store.state.user.userId,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -84,8 +84,8 @@
|
|
methods:{
|
|
methods:{
|
|
checkPermi, checkRole,
|
|
checkPermi, checkRole,
|
|
init(){
|
|
init(){
|
|
- // 阅读状态
|
|
|
|
- getDictionaryFn('is_read').then(res=>{
|
|
|
|
|
|
+ // is_read阅读状态sys_yes_no
|
|
|
|
+ getDictionaryFn('sys_yes_no').then(res=>{
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
this.ydztlist = res.data.map(v => {
|
|
this.ydztlist = res.data.map(v => {
|
|
return {
|
|
return {
|
|
@@ -211,7 +211,7 @@
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-.notice /deep/ uni-picker{flex: 1;}
|
|
|
|
|
|
+.notice /deep/ uni-picker{flex: 0 0 auto;min-width: 300rpx;}
|
|
|
|
|
|
.checkbox{
|
|
.checkbox{
|
|
&.scbg{background-color: #FFFFFF;}
|
|
&.scbg{background-color: #FFFFFF;}
|
|
@@ -220,7 +220,7 @@
|
|
image{width: 16rpx;height: 12rpx;flex: 0 0 auto;margin-left: 4rpx;}
|
|
image{width: 16rpx;height: 12rpx;flex: 0 0 auto;margin-left: 4rpx;}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-.reset{width:56rpx; height: 88rpx;display: flex;align-items: center;justify-content: center;flex: 1;
|
|
|
|
|
|
+.reset{width:56rpx; height: 88rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;margin-left: 40rpx;
|
|
image{width: 26rpx;height: 30rpx;}
|
|
image{width: 26rpx;height: 30rpx;}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|