洋浦中学 工作台项目阶段代码提交

init
gongdi 4 years ago
parent 0053d851b2
commit ce9033290e

@ -197,11 +197,11 @@
min-height: 2.5rem; min-height: 2.5rem;
display: flex; display: flex;
.info-left { .info-left {
width: 20%; width: 25%;
text-align: right; text-align: right;
} }
.info-right { .info-right {
width: 80%; width: 75%;
text-align: left; text-align: left;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

@ -22,12 +22,14 @@
<div class="info-row-style"> <div class="info-row-style">
<div class="info-left">结束时间</div> <div class="info-left">结束时间</div>
<div class="info-right"> <div class="info-right">
<div class="left-style">{{applyInfo.end_time}}</div> {{applyInfo.end_time}}
<div class="right-style">
<div class="part-left">合计</div>
<div class="part-right">{{applyInfo.total_hours + '小时' + '('+applyInfo.total_days+'工作日'+')'}}</div>
</div> </div>
</div> </div>
<div class="info-row-style">
<div class="info-left">合计</div>
<div class="info-right">
{{applyInfo.total_hours + '小时' + '('+applyInfo.total_days+'工作日'+')'}}
</div>
</div> </div>
<div class="info-row-style"> <div class="info-row-style">
<div class="info-left">请假事由</div> <div class="info-left">请假事由</div>
@ -110,12 +112,13 @@
}], (result) => { }], (result) => {
let res = result[0].data; let res = result[0].data;
if (res.code === 2000) { if (res.code === 2000) {
let dataBox = res.data; let dataBox = res.data;
if(dataBox.run){ if(dataBox.run){
this.applyInfo = dataBox.run; this.applyInfo = dataBox.run;
if(dataBox.run.attachment_json !== ""){
this.fileList = JSON.parse(dataBox.run.attachment_json); this.fileList = JSON.parse(dataBox.run.attachment_json);
} }
}
let typeId = dataBox.run.type_id; let typeId = dataBox.run.type_id;
this.typeStr = this.getTypeStr(typeId); this.typeStr = this.getTypeStr(typeId);
this.hasNext = dataBox.has_next;// this.hasNext = dataBox.has_next;//
@ -130,7 +133,6 @@
}) })
}, },
getTypeStr:function (typeId) { getTypeStr:function (typeId) {
console.log(typeId)
let str = ""; let str = "";
switch (typeId){ switch (typeId){
case 1: case 1:

@ -200,6 +200,11 @@
} }
} }
} }
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
} }
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */ -ms-overflow-style: none; /* IE 10+ */

@ -90,7 +90,7 @@
} }
.school-calendar-content-style{ .school-calendar-content-style{
width: 100%; width: 100%;
height: 350px; /*min-height: 350px;*/
margin-top: 10px; margin-top: 10px;
/deep/ .ant-tabs-bar{ /deep/ .ant-tabs-bar{
display: none !important; display: none !important;

@ -91,7 +91,7 @@
} }
.school-calendar-content-style{ .school-calendar-content-style{
width: 100%; width: 100%;
height: 350px; /* height: 350px;*/
margin-top: 10px; margin-top: 10px;
/deep/ .ant-tabs-bar{ /deep/ .ant-tabs-bar{
display: none !important; display: none !important;

@ -17,7 +17,7 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.party-center-team-building-style { .party-center-team-building-style {
width: 605px; width: 605px !important;
height: 400px !important; height: 400px !important;
} }
</style> </style>

@ -17,7 +17,7 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.party-center-team-help-style { .party-center-team-help-style {
width: 605px; width: 605px !important;
height: 400px !important; height: 400px !important;
} }
</style> </style>
Loading…
Cancel
Save