Commit 864bf58a authored by zhengke's avatar zhengke

修改

parent 1510bfbc
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
</div> </div>
</div> </div>
</div> </div>
<q-card-actions align="right" class="bg-white" v-if="isShowSignBtn"> <q-card-actions align="right" class="bg-white" v-if="isShowSignBtn&&isSigned">
<q-btn label="取消" flat color="grey-10" <q-btn label="取消" flat color="grey-10"
style="font-weight:400 !important" @click="isShowSign=false" /> style="font-weight:400 !important" @click="isShowSign=false" />
<q-btn label="确认" color="accent q-px-md" style="font-weight:400 !important" <q-btn label="确认" color="accent q-px-md" style="font-weight:400 !important"
...@@ -418,6 +418,7 @@ ...@@ -418,6 +418,7 @@
dayObj:{}, dayObj:{},
isShowSignBtn:false, //是否显示签到提交按钮 isShowSignBtn:false, //是否显示签到提交按钮
comChecked:{}, //点击选中复制 comChecked:{}, //点击选中复制
isSigned:true
} }
}, },
created() { created() {
...@@ -587,6 +588,17 @@ ...@@ -587,6 +588,17 @@
}else{ }else{
this.isShowSignBtn=false; this.isShowSignBtn=false;
} }
var count=0;
this.dayObj.GuestList.forEach(x=>{
if(x.IsCheck==-1){
count++;
}
})
if(count==this.dayObj.GuestList.length){
this.isSigned=true;
}else{
this.isSigned=false;
}
this.dayObj.GuestList.forEach(x=>{ this.dayObj.GuestList.forEach(x=>{
if(this.isShowSignBtn&&x.IsCheck==-1){ if(this.isShowSignBtn&&x.IsCheck==-1){
x.IsCheck=0; x.IsCheck=0;
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<i class="iconfont icon-ren-" style="color:#3FC4FF;margin-left:30px;"></i>当前 <span <i class="iconfont icon-ren-" style="color:#3FC4FF;margin-left:30px;"></i>当前 <span
style="color:#3FC4FF">{{props.row.OrderStudentCount}}</span> style="color:#3FC4FF">{{props.row.OrderStudentCount}}</span>
<q-linear-progress rounded size="20px" <q-linear-progress rounded size="20px"
:value="getProgress(props.row.OrderStudentCount,props.row.ClassPersion)" color="warning" :value="getProgress(props.row.OrderStudentCount,props.row.ClassPersion)" style="background-color:#EEEEEF;color:#3FC4FF"
class="q-mt-sm" /> class="q-mt-sm" />
</q-td> </q-td>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment