123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- <!-- 训练登记本领导 -->
- <template>
- <div class="arr_conten">
- <ul>
- <li v-for="(item, i) in lieList" :key="i">
- <div class="names">{{ item.deptName }}</div>
- <div class="btn">
- <el-button size="btJS" @click="chaKan(item.deptId)">查看</el-button>
- </div>
- </li>
- </ul>
- <!-- 查看 -->
- <el-dialog
- :visible.sync="menuRoleVisible"
- :title="title"
- append-to-body
- id="chakan"
- :close-on-click-modal="false"
- >
- <bdglequip
- v-if="menuRoleVisible"
- ref="menuRole"
- :message="wordInfo"
- ></bdglequip>
- </el-dialog>
- </div>
- </template>
- <script>
- import bdglequip from "@/components/look_word/bdglequip.vue";
- import { equipList, equipuntits } from "@/api/grassrootsregistration/bdglequip";
- export default {
- data() {
- return {
- lieList: [],
- //查看页面
- menuRoleVisible: false,
- wordInfo: [],
- title: null,
- };
- },
- created() {
- equipList().then((res) => {
- // console.log(res);
- this.lieList = res.rows;
- });
- },
- methods: {
- chaKan(row) {
- const unitId = row;
- equipuntits(unitId).then((response) => {
- // console.log(response);
- this.wordInfo = response.data;
- this.title = "查看训练器材/教材登记薄";
- this.menuRoleVisible = true;
- });
- },
- },
- components: {
- bdglequip,
- },
- computed: {},
- mounted() {},
- watch: {},
- };
- </script>
- <style scoped>
- ::v-deep .el-dialog {
- width: 1060px !important;
- }
- ::v-deep .el-dialog__body {
- margin: 10px 30px 20px 44px;
- padding-top: 20px !important;
- box-sizing: border-box;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- .arr_conten {
- padding-top: 20px;
- }
- ul {
- display: flex;
- justify-content: space-between;
- padding: 0 22px;
- flex-wrap: wrap;
- }
- li {
- list-style: none;
- background: url("../../../assets/images/book.png") no-repeat;
- height: 140px;
- width: 222px;
- /* margin: 20px 0; */
- margin-bottom: 20px;
- background-size: 100% 100%;
- flex: 0 0 15%;
- }
- .names {
- color: #fff;
- font-size: 14px;
- text-align: center;
- padding: 26px 26px 38px 26px;
- letter-spacing: 1px;
- }
- .btn {
- text-align: center;
- }
- </style>
- /* 对话框背景颜色 */
- ::v-deep .el-dialog {
- background: #004d86 !important;
- }
- ::v-deep .el-textarea__inner {
- width: 920px;
- height: 104px;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- font: 18px;
- }
- ::v-deep .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- ::v-deep .el-form-item__label {
- font: 16px;
- color: #fff;
- width: 100px !important;
- }
- ::v-deep .el-input__inner {
- /* width: 200px !important;
- height: 36px; */
- background: transparent;
- color: #fff;
- border: 1px solid white !important;
- border-color: #fff !important;
- }
- /* 单位框背景颜色 */
- ::v-deep .vue-treeselect__control {
- background: #004d86 !important;
- }
- /* 基本信息背景 */
- .jiben {
- width: 920px;
- height: 32px;
- background-image: url(../../../images/小标题底.png);
- margin-bottom: 25px;
- color: #fff;
- padding-left: 16px;
- line-height: 32px;
- }
- /*调整表单间距 */
- ::v-deep .el-form-item__content {
- width: 200px;
- }
- ::v-deep .el-input__inner {
- cursor: pointer !important;
- }
- /* 底部确定取消按钮 */
- ::v-deep .el-dialog__footer {
- padding: 30px 50px;
- }
- ::v-deep .el-dialog__body {
- margin: 10px 35px 20px 44px;
- padding-top: 20px !important;
- box-sizing: border-box;
- }
- .contents {
- padding: 0px 40px !important;
- }
- /* 下拉菜单 */
- .el-dropdown-link {
- cursor: pointer;
- color: #409eff;
- }
- .el-icon-arrow-down {
- font-size: 12px;
- }
- /* 刷新图标 */
- /* .el-icon-refresh {
- width: 76px;
- height: 36px;
- color: #fff;
- background-color: #1d96ff !important;
- border-radius: 4px;
- border: none;
- margin-left: 20px;
- font-size: 14px;
- } */
- /* 下拉菜单字体/背景颜色 */
- .el-select-dropdown__item.hover,
- .el-select-dropdown__item:hover {
- background-color: #004d86;
- color: #fff;
- }
- .el-select-dropdown__item {
- color: #fff;
- }
- /* 时间选择 */
- ::v-deep .el-input--small .el-input__inner {
- width: 200px;
- height: 36px;
- line-height: 36px;
- }
- .el-date-editor.el-input {
- width: 200px;
- height: 36px;
- line-height: 36px;
- }
- ::v-deep .el-date-editor.el-input .el-input__inner {
- height: 36px;
- line-height: 36px;
- }
- /* 单位框背景颜色 */
- ::v-deep .vue-treeselect__control {
- background: #004d86 !important;
- color: #fff;
- }
- /* 单位下拉菜单选中字体颜色 */
- ::v-deep .vue-treeselect__single-value {
- color: #fff !important;
- }
- /* 分页按钮 */
- ::v-deep .el-pagination.is-background .el-pager li {
- background-color: #004d86;
- color: #fff;
- }
- ::v-deep .el-pagination.is-background .btn-next {
- background-color: #004d86;
- color: #fff;
- }
- /* 计数器按钮 */
- ::v-deep .el-input-number__increase {
- background-color: transparent !important;
- border: none;
- color: #cccccc;
- border-bottom: none !important;
- }
- ::v-deep .el-input-number__decrease {
- background-color: transparent !important;
- border: none !important;
- color: #cccccc;
- }
- /* 底部确定取消按钮 */
- ::v-deep .el-dialog__footer {
- padding: 18px 42px 30px 0px;
- margin-right: 30px;
- }
- /* 增加按钮弹框 */
- ::v-deep .el-dialog {
- width: 1060px !important;
- }
- ::v-deep .el-dialog__body {
- padding: none !important;
- }
- ::v-deep .box4 .el-textarea__inner {
- min-height: 120px !important;
- }
- /* 调整输入框提示文字颜色 */
- ::v-deep .vue-treeselect__placeholder {
- color: #bdbdbd4f !important;
- }
- ::v-deep input::-webkit-input-placeholder {
- color: #bdbdbd4f !important;
- }
- ::v-deep input:-moz-placeholder {
- color: #bdbdbd4f !important;
- }
- /* 文本域提示文字颜色 */
- ::v-deep ::-webkit-input-placeholder {
- color: #bdbdbd4f !important;
- }
- #chakan /deep/ .el-dialog__body {
- padding: 30px 0px 30px 23px;
- }
- </style>
|