|
|
@@ -0,0 +1,692 @@ |
|
|
|
<template> |
|
|
|
<div class="pages"> |
|
|
|
<div class="titles"> |
|
|
|
<el-button type="primary" size="medium" @click="goCreatReport" |
|
|
|
>创建报告</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="tablebox"> |
|
|
|
<el-table :data="tableData" style="width: 100%"> |
|
|
|
<el-table-column prop="name" label="模板名称" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="orgName" label="公司" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="accountName" label="创建人" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="createTime" label="创建时间" align="center"> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" width="250" align="center"> |
|
|
|
<template slot-scope="{ row }"> |
|
|
|
<template> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="goCreatReport(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>报告规则 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="showRuleTips(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>生成报告 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="showHistory(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>生成记录 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="deleteByRule(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>删除 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div style="display: flex; justify-content: flex-end; margin-top: 10px"> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChange" |
|
|
|
@current-change="handleCurrentChange" |
|
|
|
:current-page="pageParams.pageNum" |
|
|
|
:page-sizes="[10, 20, 30]" |
|
|
|
:page-size="pageParams.pageSize" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
:total="pageParams.total" |
|
|
|
> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-dialog |
|
|
|
title="生成报告" |
|
|
|
:visible.sync="creatRule" |
|
|
|
:close-on-click-modal="false" |
|
|
|
width="50%" |
|
|
|
> |
|
|
|
<div class="sections"> |
|
|
|
<div class="s-box"> |
|
|
|
<div class="date"> |
|
|
|
<span class="ld" style="flex-shrink: 0">报告名称</span> |
|
|
|
<div class="date-box"> |
|
|
|
<el-input |
|
|
|
v-model="params.name" |
|
|
|
class="right-select" |
|
|
|
placeholder="请输入报告名称" |
|
|
|
></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="date"> |
|
|
|
<span class="ld" style="flex-shrink: 0">接待时间</span> |
|
|
|
<div class="date-box"> |
|
|
|
<el-select |
|
|
|
class="selectone" |
|
|
|
placeholder="请选择" |
|
|
|
v-model="params.dateType" |
|
|
|
@change="emptyDateType" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in dateTypeLsit" |
|
|
|
:key="item.label" |
|
|
|
:label="item.label" |
|
|
|
:value="item.label" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '周'"> |
|
|
|
<el-date-picker |
|
|
|
v-model="params.time" |
|
|
|
type="week" |
|
|
|
format="yyyy年-W周" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '月'"> |
|
|
|
<el-date-picker |
|
|
|
v-model="params.time" |
|
|
|
type="month" |
|
|
|
format="yyyy-MM" |
|
|
|
value-format="yyyy-MM" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '自定义'"> |
|
|
|
<el-date-picker |
|
|
|
class="little" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
v-model="params.time" |
|
|
|
type="daterange" |
|
|
|
range-separator="-" |
|
|
|
start-placeholder="开始日期" |
|
|
|
end-placeholder="结束日期" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
|
|
|
|
<span class="ld" style="margin: 0 10px; flex-shrink: 0" |
|
|
|
>对比时间</span |
|
|
|
> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '周'"> |
|
|
|
<el-date-picker |
|
|
|
v-model="params.contrastTime" |
|
|
|
type="week" |
|
|
|
format="yyyy年-W周" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '月'"> |
|
|
|
<el-date-picker |
|
|
|
v-model="params.contrastTime" |
|
|
|
type="month" |
|
|
|
format="yyyy-MM" |
|
|
|
value-format="yyyy-MM" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="params.dateType == '自定义'"> |
|
|
|
<el-date-picker |
|
|
|
class="little" |
|
|
|
v-model="params.contrastTime" |
|
|
|
type="daterange" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
range-separator="-" |
|
|
|
start-placeholder="开始日期" |
|
|
|
end-placeholder="结束日期" |
|
|
|
:picker-options="weekPickerOptions" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="date"> |
|
|
|
<span class="ld">选择项目</span> |
|
|
|
<div class="date-box"> |
|
|
|
<el-select |
|
|
|
class="selectone" |
|
|
|
placeholder="请选择" |
|
|
|
v-model="params.houseType" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in selectItem" |
|
|
|
:key="item.label" |
|
|
|
:label="item.label" |
|
|
|
:value="item.label" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
|
|
|
|
<template v-if="params.houseType != '全部'"> |
|
|
|
<el-select |
|
|
|
class="selectone" |
|
|
|
style="width: 280px" |
|
|
|
placeholder="请选择" |
|
|
|
v-model="params.selectHouseId" |
|
|
|
filterable |
|
|
|
multiple |
|
|
|
collapse-tags |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in projectList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.propertyName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="creatRule = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="addMonthlyData()">确 定</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
<el-dialog |
|
|
|
title="生成纪录" |
|
|
|
:visible.sync="roleHistory" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<div> |
|
|
|
<el-table :data="gridData" max-height="450px"> |
|
|
|
<el-table-column property="name" label="报告名称"></el-table-column> |
|
|
|
<el-table-column |
|
|
|
property="createName" |
|
|
|
label="生成人" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column |
|
|
|
property="createTime" |
|
|
|
label="生成时间" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column property="address" label="操作"> |
|
|
|
<template slot-scope="{ row }"> |
|
|
|
<template v-if="row.status == 1"> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="toDetail(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>查看 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="false"> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="b(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>下载 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="row.status == 1"> |
|
|
|
<el-button |
|
|
|
@click.native.prevent="deleteDataById(row)" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>删除 |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="!row.status"> |
|
|
|
<span style="color: #808080ff">生成中...</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div style="display: flex; justify-content: flex-end; margin-top: 10px"> |
|
|
|
<el-pagination |
|
|
|
@size-change="handleSizeChanges" |
|
|
|
@current-change="handleCurrentChanges" |
|
|
|
:current-page="creatHistory.pageNum" |
|
|
|
:page-sizes="[10, 20, 30]" |
|
|
|
:page-size="creatHistory.pageSize" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
:total="creatHistory.total" |
|
|
|
> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="roleHistory = false">关 闭</el-button> |
|
|
|
<el-button type="primary" @click="roleHistory = false">确 定</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
// 周选择器配置 |
|
|
|
weekPickerOptions: { |
|
|
|
disabledDate(time) { |
|
|
|
const halfYear = (365 / 2) * 24 * 3600 * 1000; |
|
|
|
let newDates = new Date(); |
|
|
|
let startTime = new Date(newDates.getTime() - halfYear).getTime(); |
|
|
|
return time.getTime() > Date.now() || time.getTime() < startTime; |
|
|
|
}, |
|
|
|
}, |
|
|
|
row: {}, // 生成月报的数据集合 |
|
|
|
params: { |
|
|
|
name: "", // 报告名称 |
|
|
|
dateType: "周", // 周 月 自定义 |
|
|
|
houseType: "全部", // |
|
|
|
selectHouseId: [], // 选中house的id |
|
|
|
time: "", // 日期 |
|
|
|
contrastTime: "", // 对比日期 |
|
|
|
}, |
|
|
|
dateTypeLsit: [ |
|
|
|
{ |
|
|
|
label: "周", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "月", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "自定义", |
|
|
|
}, |
|
|
|
], |
|
|
|
selectItem: [ |
|
|
|
{ |
|
|
|
label: "全部", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "不等于", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "等于", |
|
|
|
}, |
|
|
|
], |
|
|
|
creatRule: false, // 生成报告 |
|
|
|
roleHistory: false, // 生成记录 |
|
|
|
gridData: [], // 生成记录列表 |
|
|
|
|
|
|
|
pageParams: { |
|
|
|
// 分页参数 |
|
|
|
total: 0, |
|
|
|
pageNum: 1, //页码 |
|
|
|
pageSize: 10, //每页显示的记录数 |
|
|
|
houseId: localStorage.getItem("houseId"), // 当前登陆楼盘 |
|
|
|
}, |
|
|
|
projectList: [], // 项目列表 |
|
|
|
|
|
|
|
creatHistory: { |
|
|
|
ruleId: "", // 当前生成记录的id |
|
|
|
pageNum: 1, //页码 |
|
|
|
pageSize: 10, //每页显示的记录数 |
|
|
|
total: 0, // 总条数 |
|
|
|
}, // 生成记录 |
|
|
|
tableData: [], // 列表数据 |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
this.getFindByPage(); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
// 生成记录 |
|
|
|
findDataByRuleId() { |
|
|
|
this.$api.http.findDataByRuleId(this.creatHistory).then((res) => { |
|
|
|
this.gridData = res.data.records; |
|
|
|
this.roleHistory = true; // 获取到数据后展示列表 |
|
|
|
this.creatHistory.total = res.data.total; |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
emptyDateType() { |
|
|
|
if (this.params.dateType != "自定义") { |
|
|
|
this.params.time = ""; |
|
|
|
this.params.contrastTime = ""; |
|
|
|
} else { |
|
|
|
this.params.time = []; |
|
|
|
this.params.contrastTime = []; |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取该公司下的项目 |
|
|
|
getProjectList(row) { |
|
|
|
this.$api.http.monthlyGetProjectList({ |
|
|
|
orgCode: row.orgCode, |
|
|
|
}).then((res) => { |
|
|
|
this.projectList = res.data.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// screen //筛选条件 |
|
|
|
// ruleId //月报规则id |
|
|
|
|
|
|
|
// 添加筛选时间 |
|
|
|
addMonthlyData() { |
|
|
|
if (!this.params.name) { |
|
|
|
this.$message.error("请输入报告名称"); |
|
|
|
return; |
|
|
|
} |
|
|
|
console.log(this.params); |
|
|
|
let arr = []; |
|
|
|
let obj = { |
|
|
|
screen: "", |
|
|
|
name: this.params.name, |
|
|
|
ruleId: this.row.id, |
|
|
|
}; |
|
|
|
|
|
|
|
// 自定义时间选择 |
|
|
|
if (this.params.dateType == "自定义") { |
|
|
|
if (!this.params.time || this.params.time.length == 0) { |
|
|
|
this.$message.error("请选择时间"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!this.params.contrastTime || this.params.contrastTime.length == 0) { |
|
|
|
this.$message.error("请选择对比时间"); |
|
|
|
return; |
|
|
|
} |
|
|
|
let aTime = |
|
|
|
new Date(this.params.time[1]).getTime() - |
|
|
|
new Date(this.params.time[0]).getTime(); |
|
|
|
let bTime = |
|
|
|
new Date(this.params.contrastTime[1]).getTime() - |
|
|
|
new Date(this.params.contrastTime[0]).getTime(); |
|
|
|
if (aTime != bTime) { |
|
|
|
this.$message.error("请选择相同天数的时间段"); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 是否选择时间 |
|
|
|
if ( |
|
|
|
!this.params.time || |
|
|
|
!this.params.contrastTime || |
|
|
|
this.params.time.length == 0 || |
|
|
|
this.params.contrastTime.length == 0 |
|
|
|
) { |
|
|
|
this.$message.error("请选择时间"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
// 指定选择某些项目时 |
|
|
|
if ( |
|
|
|
this.params.houseType != "全部" && |
|
|
|
this.params.selectHouseId.length == 0 |
|
|
|
) { |
|
|
|
this.$message.error("请选择项目"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (this.params.houseType == "不等于") { |
|
|
|
this.projectList.forEach((item) => { |
|
|
|
if (!this.params.selectHouseId.includes(item.id)) { |
|
|
|
arr.push(item.id); |
|
|
|
} |
|
|
|
}); |
|
|
|
let a = { |
|
|
|
...this.params, |
|
|
|
houstId: arr.join(","), |
|
|
|
}; |
|
|
|
obj.screen = JSON.stringify(a); |
|
|
|
} else { |
|
|
|
let a = { |
|
|
|
...this.params, |
|
|
|
houstId: this.params.selectHouseId.join(","), |
|
|
|
}; |
|
|
|
obj.screen = JSON.stringify(a); |
|
|
|
} |
|
|
|
this.creatRule = false; // 先关闭弹窗 |
|
|
|
this.params = { |
|
|
|
dateType: "周", // 周 月 自定义 |
|
|
|
houseType: "全部", // |
|
|
|
selectHouseId: [], // 选中house的id |
|
|
|
time: "", // 日期 |
|
|
|
contrastTime: "", // 对比日期 |
|
|
|
}; |
|
|
|
this.$api.http.addMonthlyData(obj).then((res) => { |
|
|
|
console.log(res, "resss"); |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$message.success(res.message) |
|
|
|
} else { |
|
|
|
this.$message.error(res.message) |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 跳转详情 |
|
|
|
toDetail(row) { |
|
|
|
localStorage.setItem("monthlyDetailId", row.id); |
|
|
|
window.location.href = "${jypath}/monthly/detail"; |
|
|
|
}, |
|
|
|
|
|
|
|
// 生成报告 |
|
|
|
showRuleTips(row) { |
|
|
|
this.row = row; |
|
|
|
this.emptyDateType(); |
|
|
|
this.getProjectList(row); |
|
|
|
this.creatRule = true; |
|
|
|
}, |
|
|
|
|
|
|
|
// 生成记录 |
|
|
|
showHistory(row) { |
|
|
|
this.creatHistory.ruleId = row.id; |
|
|
|
this.findDataByRuleId(); |
|
|
|
}, |
|
|
|
// 跳转页面 |
|
|
|
goCreatReport(data) { |
|
|
|
// if (data) { |
|
|
|
// localStorage.setItem("ruleId", data.id); |
|
|
|
// } |
|
|
|
// window.location.href = "${jypath}/monthly/rule"; |
|
|
|
this.$router.push({ |
|
|
|
path: '/Statistics/createReport', |
|
|
|
query: { |
|
|
|
id: data.id||'' |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 分页每页条数改变 |
|
|
|
handleSizeChange(val) { |
|
|
|
this.pageParams.pageNum = 1; |
|
|
|
this.pageParams.pageSize = val; |
|
|
|
this.getFindByPage(); |
|
|
|
}, |
|
|
|
|
|
|
|
// 切换上下页面 |
|
|
|
handleCurrentChange(val) { |
|
|
|
this.pageParams.pageNum = val; |
|
|
|
this.getFindByPage(); |
|
|
|
}, |
|
|
|
|
|
|
|
handleSizeChanges(val) { |
|
|
|
this.creatHistory.pageNum = 1; |
|
|
|
this.creatHistory.pageSize = val; |
|
|
|
this.findDataByRuleId(); |
|
|
|
}, |
|
|
|
|
|
|
|
// 切换上下页面 |
|
|
|
handleCurrentChanges(val) { |
|
|
|
this.creatHistory.pageNum = val; |
|
|
|
this.findDataByRuleId(); |
|
|
|
}, |
|
|
|
|
|
|
|
//获取table数据、 |
|
|
|
getFindByPage() { |
|
|
|
this.$api.http.monthlyDataFindByPage(this.pageParams).then((res) => { |
|
|
|
if (res.code == 10000) { |
|
|
|
this.tableData = res.data.records; |
|
|
|
this.pageParams.total = res.data.total; |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 删除记录 |
|
|
|
deleteDataById(row) { |
|
|
|
this.$confirm("是否删除此报告", "提示", { |
|
|
|
confirmButtonText: "确定", |
|
|
|
cancelButtonText: "取消", |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.$api.http.monthlyDeleteDataById({ |
|
|
|
id: row.id, |
|
|
|
}).then((res) => { |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$message.success("操作成功"); |
|
|
|
this.findDataByRuleId(); |
|
|
|
} else { |
|
|
|
this.$message.error(res.message); |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch((e) => { |
|
|
|
this.$message.error("操作失败"); |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|
|
|
|
|
// monthly/deleteByRuleId |
|
|
|
deleteByRule(row) { |
|
|
|
this.$confirm('是否删除"' + row.name + '"报告', "提示", { |
|
|
|
confirmButtonText: "确定", |
|
|
|
cancelButtonText: "取消", |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.$api.http.monthlyDeleteByRuleId({ |
|
|
|
id: row.id, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$message.success("操作成功"); |
|
|
|
this.getFindByPage(); |
|
|
|
} else { |
|
|
|
this.$message.error(res.data.message); |
|
|
|
} |
|
|
|
location.reload(); |
|
|
|
}) |
|
|
|
.catch((e) => { |
|
|
|
this.$message.error("操作失败"); |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.pages { |
|
|
|
margin: 0 auto; |
|
|
|
width: 98%; |
|
|
|
height: 90%; |
|
|
|
padding: 15px; |
|
|
|
background: #fff; |
|
|
|
border-radius: 16px; |
|
|
|
} |
|
|
|
|
|
|
|
.titles { |
|
|
|
padding: 10px 20px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
.sl-fl-tit { |
|
|
|
padding: 16px 0 0; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
.date { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
.date .date-box { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
.s-box .date .ld { |
|
|
|
margin-right: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.s-title { |
|
|
|
height: 32px; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
font-size: 18px; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-weight: 500; |
|
|
|
color: #333333; |
|
|
|
} |
|
|
|
|
|
|
|
.s-box .date .ld { |
|
|
|
margin-right: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.s-box { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
|
|
|
|
.date .date-box { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
.selectone { |
|
|
|
padding: 10px 0; |
|
|
|
margin-right: 20px; |
|
|
|
flex-shrink: 0; |
|
|
|
width: 180px; |
|
|
|
} |
|
|
|
|
|
|
|
.sections { |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
|
|
|
|
.little { |
|
|
|
width: 120px; |
|
|
|
} |
|
|
|
</style> |