123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931 |
- <!--
- * @Description: 党建管理 => 正式党员管理
- * @Author: Rockery
- * @Date: 2021-12-10 10:39:07
- * @LastEditors: Rockery
- * @LastEditTime: 2022-02-11 10:30:22
- * @FilePath: \party_construct_web\src\views\PartyBuildingMgr\FullPartyMember\FullPartyMemberIndex.vue
- * @Copyright: Copyright (c) 2016~2021 Rockery(1113269755@qq.com)
- -->
- <template>
- <div class="app-container fullpartymember">
- <template v-if="pageType == 'LIST'">
- <div class="fullpartymember-listpage">
- <div class="fullpartymember-head">
- <div class="fullpartymember-head-title">
- <div>
- <img
- :src="require('@/assets/logo/home-main-title-logo.png')"
- @error="imgViewerOnerror"
- />
- </div>
- <div>正式党员管理</div>
- </div>
- <div class="fullpartymember-head-btn">
- <div>列表样式</div>
- <svg-icon
- icon-class="partydatacard"
- class="fullpartymember-head-btn-card"
- :class="{ 'is-active': listActiveType === 'CARDLIST' }"
- @click="handleCardListClick"
- />
- <svg-icon
- icon-class="partydatalist"
- class="fullpartymember-head-btn-list"
- :class="{ 'is-active': listActiveType === 'TABLELIST' }"
- @click="handleTableListClick"
- />
- </div>
- </div>
- <div class="app-container-queryform" v-show="showSearch">
- <el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
- <el-form-item prop="beginTime">
- <el-date-picker
- v-model="queryParams.beginTime"
- type="date"
- size="small"
- clearable
- format="yyyy年MM月dd日"
- value-format="yyyy-MM-dd"
- style="width: 100%;"
- placeholder="请选择入党开始时间"
- ></el-date-picker>
- </el-form-item>
- <el-form-item prop="endTime">
- <el-date-picker
- v-model="queryParams.endTime"
- type="date"
- size="small"
- clearable
- format="yyyy年MM月dd日"
- value-format="yyyy-MM-dd"
- style="width: 100%;"
- placeholder="请选择入党结束时间"
- ></el-date-picker>
- </el-form-item>
- <el-form-item prop="name">
- <el-input
- v-model="queryParams.name"
- placeholder="请输入姓名"
- clearable
- size="small"
- style="width: 100%;"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item prop="sex">
- <el-select
- v-model="queryParams.sex"
- placeholder="请选择性别"
- clearable
- size="small"
- style="width: 100%;"
- >
- <el-option label="男" value="男"></el-option>
- <el-option label="女" value="女"></el-option>
- </el-select>
- </el-form-item>
- <el-form-item>
- <el-button
- v-hasPermi="['partybuildingmgr:fullpartymember:query']"
- type="primary"
- icon="el-icon-search"
- size="mini"
- @click="handleQueryClick"
- >搜索</el-button>
- <el-button
- v-hasPermi="['partybuildingmgr:fullpartymember:reset']"
- icon="el-icon-refresh"
- size="mini"
- @click="resetQueryClick"
- >重置</el-button>
- </el-form-item>
- </el-form>
- </div>
- <div class="app-container-main fullpartymember-main" :class="showSearch ? 'mt15' : ''">
- <el-row :gutter="10" class="mb8">
- <el-col :span="1.5"> </el-col>
- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
- </el-row>
- <el-row :gutter="10">
- <template v-if="listActiveType === 'CARDLIST'">
- <el-col :span="24">
- <div class="fullpartymember-main-list">
- <template v-if="tableList.length > 0">
- <div class="list-row">
- <div
- v-for="item in tableList"
- :key="'FULLPARTYMEMBERCARDLIST_' + item.id"
- class="list-cell"
- >
- <div class="list-cell-img">
- <div v-show="item.status !== 0" class="list-cell-img-type">
- <div
- class="list-cell-img-type-content"
- >{{ fullPartyMemberStatusObj[item.status] }}</div>
- </div>
- <img
- :src="item.personPhoto ? (viewPdfFileUrlPrefix + item.personPhoto) : require('@/assets/images/tentative-img.png')"
- @error="imgViewerOnerror"
- />
- <div class="list-cell-shield">
- <div class="list-cell-shield-content">
- <div class="shield-content-label">入党时间</div>
- <div
- class="shield-content-datetime"
- >{{ parseTime(item.addPartyTime, '{y}年{m}月{d}日') || ' - 年 - 月 - 日' }}</div>
- <el-button
- v-hasPermi="['partybuildingmgr:fullpartymember:view']"
- type="rocwhiteplainbtn"
- style="width: 100%;"
- @click="handleViewClick(item)"
- >查看资料</el-button>
- <div
- v-hasPermi="['partybuildingmgr:fullpartymember:reactivate']"
- class="shield-content-relation"
- @click="handleReactivateClick(item)"
- >组织关系变更</div>
- </div>
- </div>
- </div>
- <div class="list-cell-name">{{ item.name || '—' }}</div>
- </div>
- </div>
- </template>
- <template v-else>
- <div class="fullpartymember-main-list-nodata">暂无数据</div>
- </template>
- </div>
- </el-col>
- </template>
- <template v-else>
- <el-col :span="24" class="mt15">
- <el-table
- :data="tableList"
- stripe
- border
- :header-cell-style="{'text-align':'center'}"
- header-row-class-name="develop-table_header-row"
- class="develop-main-table"
- style="width: 100%;"
- >
- <el-table-column label="党员姓名" prop="name" :show-overflow-tooltip="true" />
- <el-table-column
- label="性别"
- prop="sex"
- align="center"
- :show-overflow-tooltip="true"
- >
- <template slot-scope="scope">
- <span>{{ scope.row.sex || '—' }}</span>
- </template>
- </el-table-column>
- <el-table-column label="党龄" align="center" :show-overflow-tooltip="true">
- <template slot-scope="scope">
- <span>{{ getPartyStanding(parseTime(scope.row.applyAddPartyTime, '{y}-{m}-{d}'), parseTime(scope.row.addPartyTime, '{y}-{m}-{d}')) }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="入党介绍人"
- prop="addPartyIntroducer"
- :show-overflow-tooltip="true"
- >
- <template slot-scope="scope">
- <span>{{ scope.row.addPartyIntroducer || '—' }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="申请入党时间"
- prop="applyAddPartyTime"
- align="center"
- :show-overflow-tooltip="true"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.applyAddPartyTime, '{y}-{m}-{d}') || '—' }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="正式入党时间"
- prop="addPartyTime"
- align="center"
- :show-overflow-tooltip="true"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.addPartyTime, '{y}-{m}-{d}') || '—' }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="操作"
- align="center"
- fixed="right"
- width="200"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- v-hasPermi="['partybuildingmgr:fullpartymember:view']"
- size="mini"
- type="text"
- icon="el-icon-view"
- style="color: #909399;"
- @click="handleViewClick(scope.row)"
- >详情</el-button>
- <el-button
- v-hasPermi="['partybuildingmgr:fullpartymember:reactivate']"
- size="mini"
- type="text"
- style="color: #de0010;"
- @click="handleReactivateClick(scope.row)"
- >
- <svg-icon icon-class="relachange" /> 组织关系变更
- </el-button>
- </template>
- </el-table-column>
- </el-table>
- </el-col>
- </template>
- <el-col :span="24">
- <pagination
- v-show="total>0"
- :total="total"
- :pageSizes="[14, 28, 42, 56, 70]"
- :page.sync="queryParams.pageNum"
- :limit.sync="queryParams.pageSize"
- @pagination="refreshData"
- />
- </el-col>
- </el-row>
- </div>
- </div>
- </template>
- <template v-else-if="pageType == 'ADD'">
- <div class="fullpartymember-addpage">
- <div class="fullpartymember-addpage-head">
- <div class="fullpartymember-addpage-head-title">
- <div>
- <img
- :src="require('@/assets/logo/home-main-title-logo.png')"
- @error="imgViewerOnerror"
- />
- </div>
- <div>正式党员管理</div>
- </div>
- </div>
- <update-party-develop
- :operate-type="pageType"
- @page-submit="handleAddPageSubmitClick"
- @page-close="handleAddPageCloseClick"
- />
- </div>
- </template>
- <template v-else-if="pageType == 'VIEW'">
- <div class="toptitlepage">
- <div class="toptitlepage-head">
- <div class="toptitlepage-head-title">
- <div>
- <img
- :src="require('@/assets/logo/home-main-title-logo.png')"
- @error="imgViewerOnerror"
- />
- </div>
- <div>正式党员管理(查看资料)</div>
- </div>
- </div>
- <party-member-details :id="currentRow.id" @page-close="handleViewPageCloseClick" />
- </div>
- </template>
- <template v-else>
- <div> </div>
- </template>
- <!-- 组织关系变更对话框 -->
- <el-dialog
- title="组织关系变更"
- :visible.sync="orgRelationChangeObj.open"
- width="700px"
- append-to-body
- :destroy-on-close="true"
- :close-on-click-modal="false"
- class="orgrelationchange-dialog"
- >
- <el-form
- ref="orgRelationChangeFormRef"
- :model="orgRelationChangeObj.form"
- :rules="orgRelationChangeObj.rules"
- label-width="100px"
- >
- <el-row>
- <el-col :span="12">
- <el-form-item label="变更时间:" prop="modifyTime">
- <el-date-picker
- v-model="orgRelationChangeObj.form.modifyTime"
- type="date"
- clearable
- format="yyyy年MM月dd日"
- value-format="yyyy-MM-dd"
- style="width: 100%;"
- placeholder="请选择变更时间"
- ></el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="姓名:" prop="memberName">
- <el-input
- v-model="orgRelationChangeObj.form.memberName"
- :disabled="!(!orgRelationChangeObj.currentRow.name)"
- clearable
- placeholder="请输入姓名"
- />
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="身份证号:" prop="cardNo">
- <el-input
- v-model="orgRelationChangeObj.form.cardNo"
- :disabled="!(!orgRelationChangeObj.currentRow.cardNo)"
- clearable
- placeholder="请输入身份证号"
- />
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="类型:" prop="modifyType">
- <el-select
- v-model="orgRelationChangeObj.form.modifyType"
- placeholder="请选择类型"
- clearable
- size="small"
- style="width: 100%;"
- >
- <el-option
- v-for="orgRelationChangeTypeOption in orgRelationChangeTypeOptions"
- :key="orgRelationChangeTypeOption.dictValue"
- :label="orgRelationChangeTypeOption.dictLabel"
- :value="orgRelationChangeTypeOption.dictValue"
- />
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="24">
- <el-form-item label="相关材料:" prop="relatedFile">
- <roc-pdf-file-upload
- key="ROCPDFFILEUPLOADFULLPARTYMEMBERATTACHMENTKEY"
- v-model="orgRelationChangeObj.form.relatedFile"
- upload-file-title="相关材料"
- ></roc-pdf-file-upload>
- </el-form-item>
- </el-col>
- <el-col :span="24">
- <el-form-item label="说明:" prop="remark">
- <el-input
- v-model="orgRelationChangeObj.form.remark"
- type="textarea"
- :autosize="{ minRows: 4}"
- placeholder="请输入说明"
- clearable
- />
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="rocpartyprimaryplainbtn" @click="orgRelationChangeCancelClick">取 消</el-button>
- <el-button
- :disabled="!orgRelationChangeObj.form.modifyTime || !orgRelationChangeObj.form.memberName || !orgRelationChangeObj.form.cardNo || !orgRelationChangeObj.form.modifyType"
- type="rocpartyprimarybtn"
- @click="orgRelationChangeSubmitForm"
- >确定</el-button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import { listFullPartyMember } from "@/api/PartyBuildingMgr/FullPartyMember";
- import { addOrgRelationship } from "@/api/PartyBuildingMgr/OrgRelationship";
- export default {
- name: "Fullpartymember",
- components: {
- 'roc-pdf-file-upload': () => import('@/components/RocPdfFileUpload'),
- 'update-party-develop': () => import('@/components/UpdatePartyDevelop'),
- 'party-member-details': () => import('@/components/PartyMemberDetails')
- },
- data() {
- return {
- // 页面类型
- pageType: 'LIST',
- // 遮罩层
- loading: true,
- // 显示搜索条件
- showSearch: true,
- // 列表样式
- listActiveType: 'CARDLIST',
- // 查询条件
- queryParams: {
- pageNum: 1,
- pageSize: 14,
- orderByColumn: 'id',
- isAsc: 'desc'
- },
- // 数据总条数
- total: 10,
- // 表格列表
- tableList: [],
- orgRelationChangeObj: {
- open: false,
- form: {},
- rules: {
- modifyTime: [
- { required: true, message: "变更时间不能为空", trigger: ['change', 'blur'] }
- ],
- memberName: [
- { required: true, message: "姓名不能为空", trigger: 'blur' }
- ],
- cardNo: [
- { required: true, message: "身份证号不能为空", trigger: 'blur' },
- {
- pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
- message: "请输入正确身份证号",
- trigger: 'blur'
- }
- ],
- modifyType: [
- { required: true, message: "类型不能为空", trigger: ['change', 'blur'] }
- ]
- },
- currentRow: {}
- },
- orgRelationChangeTypeOptions: [],
- viewPdfFileUrlPrefix: `${window.origin}${process.env.VUE_APP_FILE_VIEW_API}`,
- fullPartyMemberStatusObj: {
- '1': '转出',
- '2': '退党',
- '3': '开除',
- '4': '去世',
- '5': '退休'
- }
- };
- },
- created() {
- this.initData();
- },
- methods: {
- /** 初始化数据 */
- async initData() {
- this.listActiveType = 'CARDLIST';
- this.refreshData();
- },
- /** 刷新数据 */
- async refreshData() {
- this.loading = true;
- this.getList();
- },
- /** 获取表格数据 */
- getList() {
- this.loading = true;
- listFullPartyMember(this.queryParams).then(
- response => {
- this.tableList = response.rows || [];
- this.total = response.total ?? 0;
- this.loading = false;
- this.pageType = 'LIST';
- }
- );
- },
- /**
- * 获取次要选项列表
- */
- async getSubOptions() {
- // 组织关系变更类型列表
- await this.getDicts('org_relation_change_type').then(response => {
- const orgRelationOptions = response?.data || [];
- this.orgRelationChangeTypeOptions = orgRelationOptions.filter((item) => {
- return item.dictValue !== '0';
- });
- });
- },
- /**
- * 卡片列表图标事件
- */
- handleCardListClick() {
- this.listActiveType = 'CARDLIST';
- },
- /**
- * 表格列表图标事件
- */
- handleTableListClick() {
- this.listActiveType = 'TABLELIST';
- },
- /**
- * 搜索按钮事件
- */
- handleQueryClick() {
- this.queryParams.pageNum = 1;
- this.refreshData();
- },
- /**
- * 重置按钮事件
- */
- resetQueryClick() {
- this.resetForm("queryForm");
- this.handleQueryClick();
- },
- /**
- * 查看详情按钮事件
- */
- handleViewClick(row) {
- if (!row?.id) return;
- this.pageType = 'VIEW';
- this.currentRow = row;
- },
- /**
- * 组织关系变更事件
- */
- async handleReactivateClick(row) {
- if (!row?.name) return;
- // 初始化数据
- this.orgRelationChangeObj.form = {};
- this.resetForm("orgRelationChangeFormRef");
- await this.getSubOptions();
- // 绑定数据
- this.orgRelationChangeObj.currentRow = row;
- this.orgRelationChangeObj.form = {
- memberId: row?.id,
- memberName: row?.name,
- cardNo: row?.cardNo
- };
- this.orgRelationChangeObj.open = true;
- },
- /**
- * 组织关系变更对话框确定按钮事件
- */
- orgRelationChangeSubmitForm() {
- this.$refs["orgRelationChangeFormRef"].validate(valid => {
- if (valid) {
- this.$confirm('是否确认当前操作?', "警告", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(() => {
- addOrgRelationship(this.orgRelationChangeObj.form).then(
- () => {
- this.msgSuccess("组织关系变更成功!");
- this.orgRelationChangeCancelClick();
- this.pageType = 'LIST';
- this.refreshData();
- }
- );
- }).catch(() => { });
- }
- });
- },
- /**
- * 组织关系变更对话框取消按钮事件
- */
- orgRelationChangeCancelClick() {
- this.orgRelationChangeObj.open = false;
- this.orgRelationChangeObj.currentRow = {};
- this.orgRelationChangeObj.form = {};
- this.resetForm("orgRelationChangeFormRef");
- },
- /**
- * 新增页面保存按钮事件
- */
- handleAddPageSubmitClick(param) {
- this.pageType = param;
- this.refreshData();
- },
- /**
- * 新增页面取消按钮事件
- */
- handleAddPageCloseClick(param) {
- this.pageType = param;
- this.refreshData();
- },
- /**
- * 详情页面关闭按钮事件
- */
- handleViewPageCloseClick(param) {
- this.pageType = param;
- this.refreshData();
- },
- /**
- * 根据两个指定日期计算党龄
- * @applyAddPartyDate [String] 出生日期,格式为"1990-01-01"
- * @addPartyDate [String] 指定日期,格式为"1990-01-01"
- */
- getPartyStanding(applyAddPartyDate, addPartyDate) {
- // 不存在数据
- if (!applyAddPartyDate || !addPartyDate) {
- return '—';
- }
- // 初始化数据
- const [applyAddPartyDateArr, addPartyDateArr] = [applyAddPartyDate.split("-"), addPartyDate.split("-")];
- // 出生日期数据
- const [birthYear, birthMonth, birthDay] = applyAddPartyDateArr;
- // 指定日期数据
- const [specifyYear, specifyMonth, specifyDay] = addPartyDateArr;
- if (specifyYear == birthYear) {
- return 0; // 同年 则为0岁
- } else {
- // 年之差
- const ageDiff = specifyYear - birthYear;
- if (ageDiff > 0) {
- // 月份相等
- if (specifyMonth == birthMonth) {
- // 日之差
- const dayDiff = specifyDay - birthDay;
- // 日之差小于0
- if (dayDiff < 0) {
- return ageDiff - 1;
- }
- return ageDiff; // 日之差大于等于0
- }
- // 月之差
- const monthDiff = specifyMonth - birthMonth;
- // 月之差小于0
- if (monthDiff < 0) {
- return ageDiff - 1;
- }
- return ageDiff; // 月之差大于等于0
- }
- return '—'; // 返回— 表示出生日期输入错误或晚于今天
- }
- }
- }
- };
- </script>
- <style scoped lang="scss">
- .fullpartymember {
- &-head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 15px;
- width: 100%;
- padding: 10px 20px;
- background-color: #ffffff;
- border-radius: 10px;
- &-title {
- display: flex;
- align-items: center;
- div {
- &:first-child {
- height: 37px;
- line-height: 37px;
- }
- &:last-child {
- margin-left: 15px;
- height: 37px;
- font-size: 26px;
- font-weight: 400;
- color: #4f4f4f;
- line-height: 37px;
- letter-spacing: 1px;
- }
- img {
- width: 34px;
- height: 34px;
- }
- }
- }
- &-btn {
- display: flex;
- align-items: center;
- div {
- &:first-child {
- margin-right: 15px;
- height: 37px;
- font-size: 16px;
- font-weight: 400;
- color: #646464;
- line-height: 37px;
- letter-spacing: 1px;
- }
- }
- &-card {
- margin-right: 10px;
- font-size: 26px;
- cursor: pointer;
- color: #909090;
- &.is-active {
- color: #e53333;
- }
- }
- &-list {
- font-size: 28px;
- cursor: pointer;
- color: #909090;
- &.is-active {
- color: #e53333;
- }
- }
- }
- }
- &-main {
- padding: 20px 20px 72px;
- min-height: 660px;
- background: url("../../../assets/images/home-head-img.png"), #ffffff;
- background-size: 67px 67px, cover;
- background-position: right 20px bottom 5px, center;
- background-repeat: no-repeat, no-repeat;
- border-radius: 10px;
- &-list {
- position: relative;
- margin: 20px 0 10px;
- width: 100%;
- .list-row {
- position: relative;
- width: 100%;
- .list-cell {
- float: left;
- margin: 0 10px 20px 10px;
- // overflow: hidden;
- width: 203px;
- height: 283px;
- background: #de0010;
- &-name {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: -5px;
- width: 100%;
- height: 45px;
- font-size: 20px;
- font-weight: 400;
- color: #ffffff;
- line-height: 28px;
- opacity: 0.8;
- }
- &-img {
- &-type {
- position: absolute;
- width: 70px;
- height: 48px;
- background-image: url("../../../assets/images/list-cell-img-type-bg.png");
- background-size: cover;
- background-position: center;
- background-repeat: no-repeat;
- &-content {
- margin: 3px 0 0 8px;
- transform: rotate(-35deg);
- -ms-transform: rotate(-35deg); /* IE 9 */
- -moz-transform: rotate(-35deg); /* Firefox */
- -webkit-transform: rotate(-35deg); /* Safari 和 Chrome */
- -o-transform: rotate(-35deg); /* Opera */
- width: 40px;
- height: 35px;
- font-size: 16px;
- font-weight: 400;
- color: #ffffff;
- line-height: 22px;
- }
- }
- img {
- width: 203px;
- height: 239px;
- border: 1px solid #dcdfe6;
- }
- .list-cell-shield {
- display: none;
- position: absolute;
- margin-top: -243px;
- width: 203px;
- height: 239px;
- background-image: none;
- background-color: rgba(0, 0, 0, 0.3);
- &-content {
- padding: 20px 30px;
- width: 100%;
- .shield-content-label {
- width: 100%;
- font-weight: 400;
- font-size: 20px;
- color: #ffffff;
- }
- .shield-content-datetime {
- margin: 20px 0 40px;
- width: 100%;
- font-weight: 400;
- font-size: 18px;
- color: #ffffff;
- }
- .shield-content-relation {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: 20px;
- width: 100%;
- font-weight: 400;
- font-size: 14px;
- color: #ffffff;
- cursor: pointer;
- }
- }
- }
- &:hover .list-cell-shield {
- display: block;
- }
- }
- }
- }
- &-nodata {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 386px;
- border: 1px solid #b5b5b5;
- border-radius: 5px;
- color: #747474;
- opacity: 0.8;
- }
- }
- }
- &-addpage {
- &-head {
- margin-bottom: 20px;
- width: 100%;
- padding: 15px 20px;
- background: url("../../../assets/images/home-head-img.png"), #ffffff;
- background-size: 67px 67px, cover;
- background-position: right 5px bottom 0px, center;
- background-repeat: no-repeat, no-repeat;
- border-radius: 10px;
- &-title {
- display: flex;
- align-items: center;
- div {
- &:first-child {
- height: 37px;
- line-height: 37px;
- }
- &:last-child {
- margin-left: 15px;
- height: 37px;
- font-size: 26px;
- font-weight: 400;
- color: #4f4f4f;
- line-height: 37px;
- letter-spacing: 1px;
- }
- img {
- width: 34px;
- height: 34px;
- }
- }
- }
- }
- }
- }
- </style>
|