| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957 |
- <template>
- <div id="chapterContent">
- <ul class="fatherSty">
- <li class="floatLefts" v-for="(item, index) in headerData" :key="index">
- {{ item.label }}:{{
- item.scope === "more"
- ? pageInfo[item.prop1] + "-" + pageInfo[item.prop2]
- : pageInfo[item.prop]
- }}
- </li>
- <div style="clear: both"></div>
- </ul>
- <div class="mar_b">
- <el-button slot="reference" type="success" @click="openBoxs"
- >添加 模块/章节</el-button
- >
- </div>
- <el-tree
- ref="tree"
- :data="tableDataInfos"
- lazy
- :load="load"
- :props="layoutTreeProps"
- @node-click="handleNodeClick"
- >
- <span class="custom-tree-node" slot-scope="{ node, data }">
- <span>{{ node.label }}</span>
- <span>
- <el-button
- v-if="data.isDels"
- type="text"
- size="mini"
- @click.stop="del(node, data)"
- >
- 删除
- </el-button>
- <el-button
- type="text"
- size="mini"
- style="color: green"
- @click.stop="openExamBox(node, data)"
- >
- 关联试卷
- </el-button>
- </span>
- </span>
- </el-tree>
- <div class="dis-f">
- <el-button @click="backPage">取消</el-button>
- <el-button type="primary" @click="submit">确定</el-button>
- </div>
- <el-dialog
- :visible.sync="centerDialogVisible"
- width="300px"
- :show-close="false"
- :close-on-click-modal="false"
- >
- <div slot="title" class="hearders">
- <div class="leftTitle">添加模块/章/节</div>
- <div class="rightBoxs">
- <img
- src="@/assets/images/Close@2x.png"
- alt=""
- @click="centerDialogVisible = false"
- />
- </div>
- </div>
- <el-radio-group v-model="radio" class="dis-f">
- <el-radio :label="1">模板</el-radio>
- <el-radio :label="2">章</el-radio>
- <el-radio :label="3">节</el-radio>
- </el-radio-group>
- <span slot="footer" class="dialog-footer">
- <el-button @click="centerDialogVisible = false" size="small"
- >取 消</el-button
- >
- <el-button type="primary" @click="activeCheckBoxs" size="small"
- >确 定</el-button
- >
- </span>
- </el-dialog>
- <el-dialog
- :visible.sync="dialogVisible"
- width="800px"
- :show-close="false"
- :close-on-click-modal="false"
- >
- <div slot="title" class="hearders">
- <div class="leftTitle">
- {{ radio === 1 ? "添加模块" : radio === 2 ? "添加章" : "添加节" }}
- </div>
- <div class="rightBoxs">
- <img
- src="@/assets/images/Close@2x.png"
- alt=""
- @click="dialogVisible = false"
- />
- </div>
- </div>
- <el-table
- ref="multipleTable"
- :data="boxtableData"
- border
- @select-all="selectAll"
- @select="select"
- :row-key="getRowKeys"
- :header-cell-style="{
- 'background-color': '#eee',
- padding: '8px',
- color: '#333',
- }"
- >
- <el-table-column
- align="center"
- type="selection"
- width="55"
- header-align="center"
- :selectable="checkboxT"
- :reserve-selection="true"
- >
- </el-table-column>
- <template v-for="(item, index) in tableSet">
- <el-table-column
- :width="item.width"
- :key="index"
- :label="item.label"
- align="center"
- :show-overflow-tooltip="true"
- header-align="center"
- >
- <template slot-scope="scope">
- <span v-if="item.scope === 'Status'">
- {{
- scope.row[item.prop] === 1
- ? "发布"
- : scope.row[item.prop] === 0
- ? "未发布"
- : "未知"
- }}
- </span>
- <span v-else-if="item.scope === 'teshu'">
- {{ radio === 1 ? scope.row[item.prop] : scope.row[item.prop1] }}
- </span>
- <span v-else>{{ scope.row[item.prop] }}</span></template
- >
- </el-table-column></template
- >
- </el-table>
- <pagination
- :total="total"
- :pageSize="pageSize"
- :currentPage="currentPage"
- @handleSizeChange="handleSizeChange"
- @handleCurrentChange="handleCurrentChange"
- />
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="submitForm">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog
- :visible.sync="aboutExamStatus"
- width="560px"
- :show-close="false"
- :close-on-click-modal="false"
- >
- <div slot="title" class="hearders">
- <div class="leftTitle">关联题卷</div>
- <div class="rightBoxs">
- <img src="@/assets/images/Close@2x.png" alt="" @click="closeExam" />
- </div>
- </div>
- <div>
- <div><el-button @click="openExamBoxs">选择题卷</el-button></div>
- <div>
- <span>{{ goodsName }}</span>
- <el-button
- v-if="goodsName && templateRadio"
- type="text"
- style="margin-left: 10px"
- @click="delExam"
- >删除</el-button
- >
- </div>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="closeExam">取 消</el-button>
- <el-button type="primary" @click="submitExam">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog
- :visible.sync="dialogVisiblePZDown"
- width="900px"
- :show-close="false"
- :close-on-click-modal="false"
- >
- <div slot="title" class="hearders">
- <div class="leftTitle">选择题卷</div>
- <div class="rightBoxs">
- <img src="@/assets/images/Close@2x.png" alt="" @click="closePZ" />
- </div>
- </div>
- <div>
- <el-table
- ref="multipleTable"
- :data="tableDataExam"
- border
- :header-cell-style="{
- 'background-color': '#eee',
- padding: '8px',
- color: '#333',
- }"
- >
- <el-table-column label="" width="45" align="center">
- <template scope="scope">
- <el-radio
- class="radioTables"
- :label="scope.row.examId"
- v-model="templateRadioLS"
- @change.native="getTemplateRow(scope.$index, scope.row)"
- >{{ "" }}</el-radio
- >
- </template>
- </el-table-column>
- <template v-for="(item, index) in tableListExam">
- <el-table-column
- v-if="item.scope !== 'inputs'"
- :width="item.width"
- :key="index"
- :label="item.label"
- align="center"
- :show-overflow-tooltip="true"
- header-align="center"
- >
- <template slot-scope="scope">
- <span v-if="item.scope === 'moreList'">
- {{
- scope.row[item.prop1] +
- "-" +
- scope.row[item.prop2] +
- "-" +
- scope.row[item.prop3]
- }}
- </span>
- <span v-else-if="item.prop === 'status'">{{
- scope.row[item.prop] === 1
- ? "发布"
- : scope.row[item.prop] === 0
- ? "未发布"
- : "未知"
- }}</span>
- <span v-else>{{ scope.row[item.prop] }}</span></template
- >
- </el-table-column></template
- >
- </el-table>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="closePZ">取 消</el-button>
- <el-button type="primary" @click="submitPZ">确 定</el-button>
- </span>
- </el-dialog>
- </div>
- </template>
- <script>
- import pagination from "@/components/pagination";
- export default {
- components: { pagination },
- data() {
- return {
- tableDataExam: [],
- tableListExam: [
- {
- label: "试卷编码",
- prop: "code",
- },
- {
- label: "标题前缀",
- prop: "prefixName",
- },
- {
- label: "试卷标题",
- prop: "examName",
- },
- {
- label: "业务层级",
- prop1: "educationName",
- prop2: "projectName",
- prop3: "businessName",
- scope: "moreList",
- width: "250px",
- },
- {
- label: "发布状态",
- prop: "publishStatus",
- scope: "status",
- },
- ],
- templateRadioLS: "",
- goodsNameLS: "",
- templateRadio: "",
- goodsName: "",
- menuExamList: [],//关联试卷列表
- onlyId: "",
- newShowObj: {}, //当前关联题卷OBJ
- dialogVisiblePZDown: false,
- aboutExamStatus: false, //关联试卷弹出
- centerDialogVisible: false,
- radio: "",
- headerData: [
- {
- label: "课程名称",
- prop: "courseName",
- },
- {
- label: "业务层次",
- prop1: "projectName",
- prop2: "businessName",
- scope: "more",
- },
- {
- label: "所属院校",
- prop: "schoolName",
- },
- {
- label: "所属专业",
- prop: "categoryName",
- },
- {
- label: "科目",
- prop: "subjectName",
- },
- ],
- pageInfo: {},
- tableData: [],
- tableDataInfos: [],
- tableSet: [
- { label: "编码", prop: "code" },
- { label: "标题前缀", prop: "prefixName", width: "120" },
- { label: "标题", prop: "moduleName", prop1: "name", scope: "teshu" },
- {
- label: "发布状态",
- prop: "publishStatus",
- scope: "Status",
- width: "120",
- },
- ],
- dialogVisible: false,
- boxtableData: [],
- activeLists: [],
- total: 0, //一共多少条
- pageSize: 10, //每页多少条数据
- currentPage: 1, //当前页码
- theModuleList: [],
- theChapterList: [],
- theSectionList: [],
- layoutTreeProps: {
- label(data, node) {
- return data.name;
- },
- isLeaf(data, node) {
- return data.hasChildren ? false : true;
- },
- },
- };
- },
- mounted() {
- this.getDs();
- this.search();
- this.getSJ();
- },
- methods: {
- openExamBoxs() {
- this.templateRadioLS = this.templateRadio;
- this.dialogVisiblePZDown = true;
- },
- //单选触发
- getTemplateRow(index, row) {
- this.templateRadioLS = row.examId;
- this.goodsNameLS = row.examName;
- },
- //2确定变化选项
- submitPZ() {
- this.templateRadio = this.templateRadioLS;
- this.goodsName = this.goodsNameLS;
- this.dialogVisiblePZDown = false;
- },
- closePZ() {
- this.dialogVisiblePZDown = false;
- },
- //删除题卷
- delExam() {
- this.templateRadio = "";
- this.goodsName = "";
- },
- //1确定关联试卷弹窗
- submitExam() {
- if (!this.templateRadio && !this.goodsName) {
- this.menuExamList = this.menuExamList.filter((item) => {
- return item.onlyId != this.onlyId;
- });
- } else {
- var arrays = {};
- let ast = this.onlyId.split("-").map(Number);
- arrays = {
- onlyId: this.onlyId,
- courseId: Number(this.$route.query.id),
- moduleId: ast[0],
- chapterId: ast[1],
- sectionId: ast[2],
- examId: this.templateRadio,
- examName:this.goodsName,
- };
- var stu = this.menuExamList.some((item) => {
- return item.onlyId == this.onlyId;
- });
- if (stu) {
- for (let i = 0; i < this.menuExamList.length; i++) {
- if (this.menuExamList[i].onlyId == this.onlyId) {
- this.menuExamList[i] = arrays;
- }
- }
- } else {
- this.menuExamList.push(arrays);
- }
- }
- this.aboutExamStatus = false;
- },
- //开启关联试卷盒子
- openExamBox(node, item) {
- var ints = item.id.split("-").map(Number)
- var arr = []
- if(ints[0] === 1){
- arr.push(ints[1])
- if(ints[2]){
- arr.push(ints[2])
- }else{
- arr.push(0)
- }
- if(ints[3]){
- arr.push(ints[3])
- }else{
- arr.push(0)
- }
- }
- if(ints[0] === 2){
- arr.push(0)
- arr.push(ints[1])
- if(ints[2]){
- arr.push(ints[2])
- }else{
- arr.push(0)
- }
- }
- if(ints[0] === 3){
- arr.push(0)
- arr.push(0)
- arr.push(ints[1])
- }
- var atys = arr.join("-")
- var setTs = this.menuExamList.some((items) => {
- return items.onlyId == atys;
- });
- if (setTs) {
- this.menuExamList.map((items) => {
- if (items.onlyId == atys) {
- this.templateRadio = items.examId;
- this.goodsName = items.examName;
- }
- });
- } else {
- this.templateRadio = "";
- this.goodsName = "";
- }
- this.onlyId = atys;
- this.aboutExamStatus = true;
- },
- //关闭关联试卷盒子
- closeExam() {
- this.aboutExamStatus = false;
- },
- search() {
- this.$api.obtainCourseS(this.$route.query.id).then((res) => {
- this.pageInfo = res.data;
- });
- this.$api
- .inquireCoursemenuListS({ courseId: this.$route.query.id })
- .then((res) => {
- this.tableData = res.rows;
- this.changeApis();
- this.getList();
- });
- },
- getList() {
- this.$api
- .inquireCourseListSmenuexam({ courseId: this.$route.query.id })
- .then((res) => {
- res.rows.forEach(item => {
- var lets = []
- if(!item.moduleId){
- lets.push(0)
- }else{
- lets.push(item.moduleId)
- }
- if(!item.chapterId){
- lets.push(0)
- }else{
- lets.push(item.chapterId)
- }
- if(!item.sectionId){
- lets.push(0)
- }else{
- lets.push(item.sectionId)
- }
- item.onlyId = lets.join("-")
- })
- this.menuExamList =res.rows
- console.log(this.menuExamList)
- });
- },
- getDs() {
- this.$api.inquireCourseListmodule({ status: 1 }).then((res) => {
- this.theModuleList = res.rows;
- });
- this.$api.inquireCourseListchapter({ status: 1 }).then((res) => {
- this.theChapterList = res.rows;
- });
- this.$api.inquireCourseSection({ status: 1 }).then((res) => {
- this.theSectionList = res.rows;
- });
- },
- getSJ() {
- this.$api.inquirebankexamList({ status: 1 }).then((res) => {
- this.tableDataExam = res.rows;
- });
- },
- openBoxs() {
- this.radio = "";
- this.centerDialogVisible = true;
- },
- activeCheckBoxs() {
- var self = this;
- if (this.radio === 1) {
- this.moduleApi();
- }
- if (this.radio === 2) {
- this.chapterApi();
- }
- if (this.radio === 3) {
- this.sectionApi();
- }
- if (this.radio === "") {
- this.$message.error("请选择添加类型");
- return;
- }
- this.centerDialogVisible = false;
- this.dialogVisible = true;
- this.$nextTick(function () {
- self.$refs.multipleTable.clearSelection();
- });
- },
- getInfos() {
- if (this.radio === 1) {
- this.moduleApi();
- }
- if (this.radio === 2) {
- this.chapterApi();
- }
- if (this.radio === 3) {
- this.sectionApi();
- }
- },
- moduleApi() {
- this.$api
- .inquireCourseListmodule({
- status: 1,
- pageNum: this.currentPage,
- pageSize: this.pageSize,
- })
- .then((res) => {
- this.boxtableData = res.rows;
- this.total = res.total;
- });
- },
- chapterApi() {
- this.$api
- .inquireCourseListchapter({
- status: 1,
- pageNum: this.currentPage,
- pageSize: this.pageSize,
- })
- .then((res) => {
- this.boxtableData = res.rows;
- this.total = res.total;
- });
- },
- sectionApi() {
- this.$api
- .inquireCourseSection({
- status: 1,
- pageNum: this.currentPage,
- pageSize: this.pageSize,
- })
- .then((res) => {
- this.boxtableData = res.rows;
- this.total = res.total;
- });
- },
- // 查询是否存在下级 模块
- quireModule(id) {
- return new Promise((resolve, reject) => {
- this.$api.inquireCourseListmodulechapter(id).then((result) => {
- if (result.data.length === 0) {
- resolve(false);
- } else {
- resolve(true);
- }
- });
- });
- },
- // 查询是否存在下级 章
- quireChapter(id) {
- return new Promise((resolve, reject) => {
- this.$api.inquireCoursechaptersectionlist(id).then((result) => {
- if (result.data.length === 0) {
- resolve(false);
- } else {
- resolve(true);
- }
- });
- });
- },
- changeApis() {
- //inquireCourseListmodulechapter 模块与章关系
- // inquireCoursechaptersectionlist 章与节关系
- var arrays = [];
- this.tableData.map((item, index) => {
- if (item.type === 1) {
- // this.$api.obtainCoursemodule(item.menuId).then(async (res) => {
- var arr = {
- id: "1-" + item.menuId,
- CodeId: item.menuId,
- name: item.menuName,
- hasChildren: true,
- type: 1,
- isDels: true,
- };
- //查询是否存在下级
- arrays.push(arr);
- // });
- }
- if (item.type === 2) {
- // this.$api.obtainCoursechapter(item.menuId).then(async (res) => {
- var arr = {
- id: "2-" + item.menuId,
- CodeId: item.menuId,
- name: item.menuName,
- hasChildren: true,
- type: 2,
- isDels: true,
- };
- arrays.push(arr);
- // });
- }
- if (item.type === 3) {
- // this.$api.obtainCourseSection(item.menuId).then((res) => {
- var arr = {
- id: "3-" + item.menuId,
- CodeId: item.menuId,
- name: item.menuName,
- hasChildren: false,
- type: 3,
- isDels: true,
- };
- arrays.push(arr);
- // });
- }
- });
- this.$nextTick(() => {
- this.tableDataInfos = arrays;
- });
- },
- del(node, item) {
- this.tableDataInfos.map((items, indexs) => {
- if (items.id === item.id) {
- this.tableDataInfos.splice(indexs, 1);
- }
- });
- this.tableDataInfos = JSON.parse(JSON.stringify(this.tableDataInfos));
- },
- getRowKeys(row) {
- if (this.radio === 1) {
- return row.moduleId;
- }
- if (this.radio === 2) {
- return row.chapterId;
- }
- if (this.radio === 3) {
- return row.sectionId;
- }
- },
- checkboxT(row, index) {
- var array = [];
- this.tableDataInfos.map((item) => {
- if (item.type === this.radio) {
- array.push(item.CodeId);
- }
- });
- if (
- array.indexOf(
- this.radio === 1
- ? row.moduleId
- : this.radio === 2
- ? row.chapterId
- : row.sectionId
- ) !== -1
- ) {
- return false;
- } else {
- return true;
- }
- },
- submitForm() {
- if (this.activeLists.length === 0) {
- this.dialogVisible = false;
- return;
- }
- var array = [];
- if (this.radio === 1) {
- this.activeLists.map((item) => {
- array.push({
- id: 1 + "-" + item.moduleId,
- CodeId: item.moduleId,
- name: item.moduleName,
- isDels: true,
- hasChildren: true,
- type: 1,
- });
- });
- } else if (this.radio === 2) {
- this.activeLists.map((item) => {
- array.push({
- id: 2 + "-" + item.chapterId,
- CodeId: item.chapterId,
- name: item.name,
- isDels: true,
- hasChildren: true,
- type: 2,
- });
- });
- } else if (this.radio === 3) {
- this.activeLists.map((item) => {
- array.push({
- id: 3 + "-" + item.sectionId,
- CodeId: item.sectionId,
- name: item.name,
- type: 3,
- isDels: true,
- });
- });
- }
- this.tableDataInfos = this.tableDataInfos.concat(array);
- this.activeLists = [];
- this.dialogVisible = false;
- this.$message.success("添加成功");
- },
- handleNodeClick() {},
- async load(node, resolve) {
- const tree = node.data;
- if (tree.type === 1) {
- var arrays = [];
- await this.$api
- .inquireCourseListmodulechapter(tree.CodeId)
- .then((res) => {
- res.data.map((item, index) => {
- var arr = {
- id: tree.id + "-" + item.chapterId,
- CodeId: item.chapterId,
- name: item.name,
- hasChildren: true,
- type: 2,
- };
- arrays.push(arr);
- });
- });
- resolve(arrays);
- }
- if (tree.type === 2) {
- this.$api.inquireCoursechaptersectionlist(tree.CodeId).then((res) => {
- var arrays = [];
- res.data.map((item, index) => {
- var arr = {
- id: tree.id + "-" + item.sectionId,
- CodeId: item.sectionId,
- name: item.name,
- type: 3,
- };
- arrays.push(arr);
- });
- resolve(arrays);
- });
- }
- return;
- if (tree.type === 1) {
- var arrays = [];
- await this.$api
- .inquireCourseListmodulechapter(tree.CodeId)
- .then((res) => {
- res.data.map((item, index) => {
- var arr = {
- id: tree.id + "-" + item.chapterId,
- CodeId: item.chapterId,
- name: item.name,
- hasChildren: true,
- type: 2,
- };
- arrays.push(arr);
- });
- });
- resolve(arrays);
- }
- if (tree.type === 2) {
- this.$api.inquireCoursechaptersectionlist(tree.CodeId).then((res) => {
- var arrays = [];
- res.data.map((item, index) => {
- var arr = {
- id: tree.id + "-" + item.sectionId,
- CodeId: item.sectionId,
- name: item.name,
- type: 3,
- };
- arrays.push(arr);
- });
- resolve(arrays);
- });
- }
- },
- handleSizeChange(v) {
- this.pageSize = v;
- this.currentPage = 1;
- this.getInfos();
- },
- handleCurrentChange(v) {
- this.currentPage = v;
- this.getInfos();
- },
- selectAll(value) {
- this.activeLists = value;
- },
- select(value) {
- this.activeLists = value;
- },
- backPage() {
- this.$router.go(-1);
- },
- submit() {
- var array = [];
- this.tableDataInfos.map((item) => {
- array.push({
- courseId: Number(this.$route.query.id),
- menuId: item.CodeId,
- parentId: 0,
- status: 1,
- type: item.type,
- });
- });
- var data = {
- courseId: Number(this.$route.query.id),
- menuExamList:this.menuExamList,
- menuList: array,
- };
- this.$api.editCoursemenu(data).then((res) => {
- this.$message.success("编辑成功");
- setTimeout(() => {
- this.$router.go(-1);
- }, 500);
- });
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .fatherSty {
- background-color: #eee;
- padding: 10px;
- margin-bottom: 15px;
- }
- .floatLefts {
- font-size: 14px;
- float: left;
- margin-right: 30px;
- }
- .mar_b {
- margin-bottom: 12px;
- }
- .dis-f {
- margin-top: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /deep/.el-tree-node__content {
- height: 35px;
- }
- .custom-tree-node {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-right: 8px;
- }
- /deep/.el-button {
- border-radius: 8px;
- }
- /deep/.el-dialog {
- border-radius: 8px;
- .el-dialog__header {
- padding: 0;
- .hearders {
- height: 40px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0px 18px 0px 20px;
- border-bottom: 1px solid #e2e2e2;
- .leftTitle {
- font-size: 14px;
- font-weight: bold;
- color: #2f4378;
- }
- .rightBoxs {
- display: flex;
- align-items: center;
- img {
- width: 14px;
- height: 14px;
- margin-left: 13px;
- cursor: pointer;
- }
- }
- }
- }
- .el-dialog__footer {
- padding: 0;
- .dialog-footer {
- padding: 0px 40px;
- height: 70px;
- border-top: 1px solid #e2e2e2;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- }
- }
- </style>
|