index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <template>
  2. <div class="app-container">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. :inline="true"
  7. v-show="showSearch"
  8. label-width="68px"
  9. >
  10. <el-form-item label="编号" prop="fNo">
  11. <el-input
  12. v-model="queryParams.fNo"
  13. placeholder="请输入编号"
  14. clearable
  15. size="small"
  16. @keyup.enter.native="handleQuery"
  17. />
  18. </el-form-item>
  19. <el-form-item label="名称" prop="fName">
  20. <el-input
  21. v-model="queryParams.fName"
  22. placeholder="请输入名称"
  23. clearable
  24. size="small"
  25. @keyup.enter.native="handleQuery"
  26. />
  27. </el-form-item>
  28. <el-form-item label="英文名称" prop="fEnam">
  29. <el-input
  30. v-model="queryParams.fEnam"
  31. placeholder="请输入英文名称"
  32. clearable
  33. size="small"
  34. @keyup.enter.native="handleQuery"
  35. />
  36. </el-form-item>
  37. <el-form-item label="规格" prop="fSpecs">
  38. <el-input
  39. v-model="queryParams.fSpecs"
  40. placeholder="请输入规格"
  41. clearable
  42. size="small"
  43. @keyup.enter.native="handleQuery"
  44. />
  45. </el-form-item>
  46. <el-form-item label="包装规格" prop="fPackagespecs">
  47. <el-input
  48. v-model="queryParams.fPackagespecs"
  49. placeholder="请输入包装规格"
  50. clearable
  51. size="small"
  52. @keyup.enter.native="handleQuery"
  53. />
  54. </el-form-item>
  55. <el-form-item label="颜色" prop="fColor">
  56. <el-input
  57. v-model="queryParams.fColor"
  58. placeholder="请输入颜色"
  59. clearable
  60. size="small"
  61. @keyup.enter.native="handleQuery"
  62. />
  63. </el-form-item>
  64. <el-form-item label="海关编码" prop="fHscode">
  65. <el-input
  66. v-model="queryParams.fHscode"
  67. placeholder="请输入海关编码"
  68. clearable
  69. size="small"
  70. @keyup.enter.native="handleQuery"
  71. />
  72. </el-form-item>
  73. <el-form-item label="包装类型" prop="fPackageid">
  74. <el-input
  75. v-model="queryParams.fPackageid"
  76. placeholder="请输入包装类型"
  77. clearable
  78. size="small"
  79. @keyup.enter.native="handleQuery"
  80. />
  81. </el-form-item>
  82. <el-form-item label="状态" prop="fStatus">
  83. <!--<el-select v-model="queryParams.fStatus" placeholder="请选择状态" clearable size="small">
  84. <el-option label="请选择字典生成" value="" />
  85. </el-select>-->
  86. <el-select
  87. v-model="queryParams.fStatus"
  88. placeholder="商品状态"
  89. clearable
  90. size="small"
  91. style="width: 240px"
  92. >
  93. <el-option
  94. v-for="dict in statusOptions"
  95. :key="dict.dictValue"
  96. :label="dict.dictLabel"
  97. :value="dict.dictValue"
  98. />
  99. </el-select>
  100. </el-form-item>
  101. <el-form-item>
  102. <el-button
  103. type="cyan"
  104. icon="el-icon-search"
  105. size="mini"
  106. @click="handleQuery"
  107. >搜索</el-button
  108. >
  109. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
  110. >重置</el-button
  111. >
  112. </el-form-item>
  113. </el-form>
  114. <el-row :gutter="10" class="mb8">
  115. <el-col :span="1.5">
  116. <el-button
  117. type="primary"
  118. icon="el-icon-plus"
  119. size="mini"
  120. @click="handleAdd"
  121. v-hasPermi="['basicdata:goods:add']"
  122. >新增</el-button
  123. >
  124. </el-col>
  125. <el-col :span="1.5">
  126. <el-button
  127. type="success"
  128. icon="el-icon-edit"
  129. size="mini"
  130. :disabled="single"
  131. @click="handleUpdate"
  132. v-hasPermi="['basicdata:goods:edit']"
  133. >修改</el-button
  134. >
  135. </el-col>
  136. <el-col :span="1.5">
  137. <el-button
  138. type="danger"
  139. icon="el-icon-delete"
  140. size="mini"
  141. :disabled="multiple"
  142. @click="handleDelete"
  143. v-hasPermi="['basicdata:goods:remove']"
  144. >删除</el-button
  145. >
  146. </el-col>
  147. <el-col :span="1.5">
  148. <el-button
  149. type="warning"
  150. icon="el-icon-download"
  151. size="mini"
  152. @click="handleExport"
  153. v-hasPermi="['basicdata:goods:export']"
  154. >导出</el-button
  155. >
  156. </el-col>
  157. <right-toolbar
  158. :showSearch.sync="showSearch"
  159. @queryTable="getList"
  160. ></right-toolbar>
  161. </el-row>
  162. <el-table
  163. v-loading="loading"
  164. :data="goodsList"
  165. @selection-change="handleSelectionChange"
  166. >
  167. <el-table-column type="selection" width="55" align="center" />
  168. <el-table-column type="index" label="序号" align="center" />
  169. <!--<el-table-column label="存储id" align="center" prop="fTypeid" />--><!-- 后期添加 -->
  170. <el-table-column
  171. label="编号"
  172. align="center"
  173. prop="fNo"
  174. :show-overflow-tooltip="true"
  175. />
  176. <el-table-column
  177. label="名称"
  178. align="center"
  179. prop="fName"
  180. width="120"
  181. :show-overflow-tooltip="true"
  182. />
  183. <el-table-column
  184. label="英文名称"
  185. align="center"
  186. prop="fEnam"
  187. :show-overflow-tooltip="true"
  188. />
  189. <el-table-column
  190. label="商品类别"
  191. align="center"
  192. prop="fTypeid"
  193. :show-overflow-tooltip="true"
  194. :formatter="fTypeidFormat"
  195. />
  196. <el-table-column
  197. label="规格"
  198. align="center"
  199. prop="fSpecs"
  200. :show-overflow-tooltip="true"
  201. />
  202. <el-table-column
  203. label="包装规格"
  204. align="center"
  205. prop="fPackagespecs"
  206. :show-overflow-tooltip="true"
  207. />
  208. <el-table-column
  209. label="颜色"
  210. align="center"
  211. prop="fColor"
  212. :show-overflow-tooltip="true"
  213. />
  214. <el-table-column
  215. label="海关编码"
  216. align="center"
  217. prop="fHscode"
  218. :show-overflow-tooltip="true"
  219. />
  220. <el-table-column label="包装类型" align="center" prop="fPackageid" />
  221. <el-table-column label="状态" align="center" prop="fStatus">
  222. <template slot-scope="scope">
  223. <el-switch
  224. v-model="scope.row.fStatus"
  225. active-value="0"
  226. inactive-value="1"
  227. @change="handleStatusChange(scope.row)"
  228. ></el-switch>
  229. </template>
  230. </el-table-column>
  231. <el-table-column
  232. label="备注"
  233. align="center"
  234. prop="remark"
  235. :show-overflow-tooltip="true"
  236. />
  237. <el-table-column
  238. label="操作"
  239. align="center"
  240. class-name="small-padding fixed-width"
  241. width="100"
  242. >
  243. <template slot-scope="scope">
  244. <el-button
  245. size="mini"
  246. type="text"
  247. icon="el-icon-edit"
  248. @click="handleUpdate(scope.row)"
  249. v-hasPermi="['basicdata:goods:edit']"
  250. >修改</el-button
  251. >
  252. <el-button
  253. size="mini"
  254. type="text"
  255. icon="el-icon-delete"
  256. @click="handleDelete(scope.row)"
  257. v-hasPermi="['basicdata:goods:remove']"
  258. >删除</el-button
  259. >
  260. </template>
  261. </el-table-column>
  262. </el-table>
  263. <pagination
  264. v-show="total > 0"
  265. :total="total"
  266. :page.sync="queryParams.pageNum"
  267. :limit.sync="queryParams.pageSize"
  268. @pagination="getList"
  269. />
  270. <!-- 添加或修改商品详情对话框 -->
  271. <el-dialog
  272. v-dialogDrag
  273. :fullscreen="dialogFull"
  274. width="80%"
  275. :title="title"
  276. :visible.sync="open"
  277. :close-on-click-modal="false"
  278. append-to-body
  279. >
  280. <template slot="title">
  281. <div class="avue-crud__dialog__header">
  282. <span class="el-dialog__title">
  283. <span
  284. style="
  285. display: inline-block;
  286. width: 3px;
  287. height: 20px;
  288. margin-right: 5px;
  289. float: left;
  290. margin-top: 2px;
  291. "
  292. ></span>
  293. 添加商品详情
  294. </span>
  295. <div class="avue-crud__dialog__menu enlarge" @click="full">
  296. <i
  297. style="
  298. cursor: pointer;
  299. display: block;
  300. width: 12px;
  301. height: 12px;
  302. border: 1px solid #909399;
  303. border-top: 3px solid #909399;
  304. margin-top: -3px;
  305. "
  306. ></i>
  307. </div>
  308. </div>
  309. </template>
  310. <el-form ref="form" :model="form" :rules="rules" label-width="80px">
  311. <!--<el-form-item label="存储id" prop="fTypeid">
  312. <el-input v-model="form.fTypeid" placeholder="请输入存储id" />
  313. </el-form-item>-->
  314. <el-row>
  315. <el-col :span="12">
  316. <el-form-item label="编号" prop="fNo">
  317. <el-input v-model="form.fNo" placeholder="请输入编号" />
  318. </el-form-item>
  319. </el-col>
  320. <el-col :span="12">
  321. <el-form-item label="名称" prop="fName">
  322. <el-input v-model="form.fName" placeholder="请输入名称" />
  323. </el-form-item>
  324. </el-col>
  325. </el-row>
  326. <el-row>
  327. <el-col :span="12">
  328. <el-form-item label="英文名称" prop="fEnam">
  329. <el-input v-model="form.fEnam" placeholder="请输入英文名称" />
  330. </el-form-item>
  331. </el-col>
  332. <el-col :span="12">
  333. <el-form-item label="规格" prop="fSpecs">
  334. <el-input v-model="form.fSpecs" placeholder="请输入规格" />
  335. </el-form-item>
  336. </el-col>
  337. </el-row>
  338. <el-row>
  339. <el-col :span="12">
  340. <el-form-item label="包装规格" prop="fPackagespecs">
  341. <el-input
  342. v-model="form.fPackagespecs"
  343. placeholder="请输入包装规格"
  344. />
  345. </el-form-item>
  346. </el-col>
  347. <el-col :span="12">
  348. <el-form-item label="颜色" prop="fColor">
  349. <el-input v-model="form.fColor" placeholder="请输入颜色" />
  350. </el-form-item>
  351. </el-col>
  352. </el-row>
  353. <el-row>
  354. <el-col :span="12">
  355. <el-form-item label="海关编码" prop="fHscode">
  356. <el-input v-model="form.fHscode" placeholder="请输入海关编码" />
  357. </el-form-item>
  358. </el-col>
  359. <el-col :span="12">
  360. <el-form-item label="包装类型" prop="fPackageid">
  361. <el-input
  362. v-model="form.fPackageid"
  363. placeholder="请输入包装类型"
  364. />
  365. </el-form-item>
  366. </el-col>
  367. </el-row>
  368. <el-row>
  369. <el-col :span="12">
  370. <el-form-item label="状态">
  371. <!--<el-radio-group v-model="form.fStatus">
  372. <el-radio label="1">请选择字典生成</el-radio>
  373. </el-radio-group>-->
  374. <el-radio-group v-model="form.fStatus">
  375. <el-radio
  376. v-for="dict in statusOptions"
  377. :key="dict.dictValue"
  378. :label="dict.dictValue"
  379. >{{ dict.dictLabel }}</el-radio
  380. >
  381. </el-radio-group>
  382. </el-form-item>
  383. </el-col>
  384. <el-col :span="12">
  385. <el-form-item label="按照箱号统计">
  386. <el-radio-group v-model="form.ifCntrno">
  387. <el-radio label="1">是</el-radio>
  388. <el-radio label="0">否</el-radio>
  389. </el-radio-group>
  390. </el-form-item>
  391. </el-col>
  392. </el-row>
  393. <el-form-item label="备注" prop="remark">
  394. <el-input
  395. v-model="form.remark"
  396. type="textarea"
  397. placeholder="请输入内容"
  398. />
  399. </el-form-item>
  400. <el-row>
  401. <el-col :span="12">
  402. <el-form-item label="商品类别" prop="fTypeid">
  403. <el-select v-model="form.fTypeid" placeholder="请选择商品类别">
  404. <el-option
  405. v-for="dict in fTypeidOptions"
  406. :key="dict.dictValue"
  407. :label="dict.dictLabel"
  408. :value="parseInt(dict.dictValue)"
  409. ></el-option>
  410. </el-select>
  411. </el-form-item>
  412. </el-col>
  413. </el-row>
  414. </el-form>
  415. <div slot="footer" class="dialog-footer">
  416. <el-button type="primary" @click="submitForm">确 定</el-button>
  417. <el-button @click="cancel">取 消</el-button>
  418. </div>
  419. </el-dialog>
  420. </div>
  421. </template>
  422. <script>
  423. import {
  424. listGoods,
  425. getGoods,
  426. delGoods,
  427. addGoods,
  428. updateGoods,
  429. changeGoodsStatus,
  430. exportGoods,
  431. } from "@/api/basicdata/goods";
  432. import Vue from "vue";
  433. Vue.directive("dialogDrag", {
  434. bind(el, binding, vnode, oldVnode) {
  435. const dialogHeaderEl = el.querySelector(".el-dialog__header");
  436. const dragDom = el.querySelector(".el-dialog");
  437. const enlarge = el.querySelector(".enlarge");
  438. dialogHeaderEl.style.cursor = "move";
  439. // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
  440. const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null);
  441. if (enlarge) {
  442. enlarge.onclick = (e) => {
  443. dragDom.style.top = "0px";
  444. dragDom.style.left = "0px";
  445. };
  446. }
  447. dialogHeaderEl.onmousedown = (e) => {
  448. // 鼠标按下,计算当前元素距离可视区的距离
  449. const disX = e.clientX - dialogHeaderEl.offsetLeft;
  450. const disY = e.clientY - dialogHeaderEl.offsetTop;
  451. // 获取到的值带px 正则匹配替换
  452. let styL, styT;
  453. // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
  454. if (sty.left.includes("%")) {
  455. styL =
  456. +document.body.clientWidth * (+sty.left.replace(/\%/g, "") / 100);
  457. styT =
  458. +document.body.clientHeight * (+sty.top.replace(/\%/g, "") / 100);
  459. } else {
  460. styL = +sty.left.replace(/\px/g, "");
  461. styT = +sty.top.replace(/\px/g, "");
  462. }
  463. document.onmousemove = function (e) {
  464. // 通过事件委托,计算移动的距离
  465. const l = e.clientX - disX;
  466. const t = e.clientY - disY;
  467. // 移动当前元素
  468. if (t + styT >= 0) {
  469. dragDom.style.top = `${t + styT}px`;
  470. }
  471. dragDom.style.left = `${l + styL}px`;
  472. // 将此时的位置传出去
  473. // binding.value({x:e.pageX,y:e.pageY})
  474. };
  475. document.onmouseup = function (e) {
  476. document.onmousemove = null;
  477. document.onmouseup = null;
  478. };
  479. };
  480. },
  481. });
  482. export default {
  483. name: "Goods",
  484. components: {},
  485. data() {
  486. return {
  487. //全屏放大
  488. dialogFull: false,
  489. // 遮罩层
  490. loading: true,
  491. // 选中数组
  492. ids: [],
  493. // 非单个禁用
  494. single: true,
  495. // 非多个禁用
  496. multiple: true,
  497. // 显示搜索条件
  498. showSearch: true,
  499. // 总条数
  500. total: 0,
  501. // 商品详情表格数据
  502. goodsList: [],
  503. // 弹出层标题
  504. title: "",
  505. // 是否显示弹出层
  506. open: false,
  507. // 备注字典
  508. fIdOptions: [],
  509. // 状态数据字典
  510. statusOptions: [],
  511. // 数据字典
  512. fTypeidOptions: [],
  513. // 删除状态字典
  514. delFlagOptions: [],
  515. // 查询参数
  516. queryParams: {
  517. pageNum: 1,
  518. pageSize: 10,
  519. fTypeid: null,
  520. fNo: null,
  521. fName: null,
  522. fEnam: null,
  523. fSpecs: null,
  524. fPackagespecs: null,
  525. fColor: null,
  526. fHscode: null,
  527. fPackageid: null,
  528. fStatus: null,
  529. },
  530. // 表单参数
  531. form: {},
  532. // 表单校验
  533. rules: {
  534. /*fTypeid: [
  535. { required: true, message: "存储id 显示名称 下拉选择类别,一个商品名称对应一个类别,对应t_goodtype的f_id不能为空", trigger: "blur" }
  536. ],*/
  537. fNo: [{ required: true, message: "编号不能为空", trigger: "blur" }],
  538. fName: [{ required: true, message: "名称不能为空", trigger: "blur" }],
  539. fTypeid: [
  540. { required: true, message: "商品类别不能为空", trigger: "blur" },
  541. ],
  542. },
  543. };
  544. },
  545. created() {
  546. this.getList();
  547. this.getDicts("data_customer_category").then((response) => {
  548. this.fIdOptions = response.data;
  549. });
  550. this.getDicts("data_delete_state").then((response) => {
  551. this.delFlagOptions = response.data;
  552. });
  553. this.getDicts("sys_normal_disable").then((response) => {
  554. this.statusOptions = response.data;
  555. });
  556. this.getDicts("data_goods_category").then((response) => {
  557. this.fTypeidOptions = response.data;
  558. });
  559. },
  560. methods: {
  561. full() {
  562. this.dialogFull = !this.dialogFull;
  563. },
  564. /** 查询商品详情列表 */
  565. getList() {
  566. this.loading = true;
  567. listGoods(this.queryParams).then((response) => {
  568. this.goodsList = response.rows;
  569. this.total = response.total;
  570. this.loading = false;
  571. });
  572. },
  573. // 名称字典翻译
  574. fIdFormat(row, column) {
  575. return this.selectDictLabel(this.fIdOptions, row.fId);
  576. },
  577. // 货物类别,字典翻译
  578. fTypeidFormat(row, column) {
  579. return this.selectDictLabel(this.fTypeidOptions, row.fTypeid);
  580. },
  581. // 删除状态字典翻译
  582. delFlagFormat(row, column) {
  583. return this.selectDictLabel(this.delFlagOptions, row.delFlag);
  584. },
  585. // 取消按钮
  586. cancel() {
  587. this.open = false;
  588. this.reset();
  589. },
  590. // 表单重置
  591. reset() {
  592. this.form = {
  593. fId: null,
  594. /* fTypeid: null, 下拉框 后期修改 */
  595. fNo: null,
  596. fName: null,
  597. fEnam: null,
  598. fSpecs: null,
  599. fPackagespecs: null,
  600. fColor: null,
  601. fHscode: null,
  602. fPackageid: null,
  603. fStatus: "0",
  604. delFlag: null,
  605. createBy: null,
  606. createTime: null,
  607. updateBy: null,
  608. updateTime: null,
  609. remark: null,
  610. ifCntrno:"0",
  611. };
  612. this.resetForm("form");
  613. },
  614. // 状态修改
  615. handleStatusChange(row) {
  616. let text = row.fStatus === "0" ? "启用" : "停用";
  617. this.$confirm('确认要"' + text + '""' + row.fName + '"吗?', "警告", {
  618. confirmButtonText: "确定",
  619. cancelButtonText: "取消",
  620. type: "warning",
  621. })
  622. .then(function () {
  623. return changeGoodsStatus(row.fId, row.fStatus);
  624. })
  625. .then(() => {
  626. this.msgSuccess(text + "成功");
  627. })
  628. .catch(function () {
  629. row.fStatus = row.fStatus === "0" ? "1" : "0";
  630. });
  631. },
  632. /** 搜索按钮操作 */
  633. handleQuery() {
  634. this.queryParams.pageNum = 1;
  635. this.getList();
  636. },
  637. /** 重置按钮操作 */
  638. resetQuery() {
  639. this.resetForm("queryForm");
  640. this.handleQuery();
  641. },
  642. // 多选框选中数据
  643. handleSelectionChange(selection) {
  644. this.ids = selection.map((item) => item.fId);
  645. this.single = selection.length !== 1;
  646. this.multiple = !selection.length;
  647. },
  648. /** 新增按钮操作 */
  649. handleAdd() {
  650. this.reset();
  651. this.open = true;
  652. this.title = "添加商品详情";
  653. },
  654. /** 修改按钮操作 */
  655. handleUpdate(row) {
  656. this.reset();
  657. const fId = row.fId || this.ids;
  658. getGoods(fId).then((response) => {
  659. this.form = response.data;
  660. this.open = true;
  661. this.title = "修改商品详情";
  662. });
  663. },
  664. /** 提交按钮 */
  665. submitForm() {
  666. this.$refs["form"].validate((valid) => {
  667. if (valid) {
  668. if (this.form.fId != null) {
  669. updateGoods(this.form).then((response) => {
  670. this.msgSuccess("修改成功");
  671. this.open = false;
  672. this.getList();
  673. });
  674. } else {
  675. addGoods(this.form).then((response) => {
  676. this.msgSuccess("新增成功");
  677. this.open = false;
  678. this.getList();
  679. });
  680. }
  681. }
  682. });
  683. },
  684. /** 删除按钮操作 */
  685. handleDelete(row) {
  686. const fIds = row.fId || this.ids;
  687. this.$confirm(
  688. '是否确认删除商品详情编号为"' + fIds + '"的数据项?',
  689. "警告",
  690. {
  691. confirmButtonText: "确定",
  692. cancelButtonText: "取消",
  693. type: "warning",
  694. }
  695. )
  696. .then(function () {
  697. return delGoods(fIds);
  698. })
  699. .then(() => {
  700. this.getList();
  701. this.msgSuccess("删除成功");
  702. });
  703. },
  704. /** 导出按钮操作 */
  705. handleExport() {
  706. const queryParams = this.queryParams;
  707. this.$confirm("是否确认导出所有商品详情数据项?", "警告", {
  708. confirmButtonText: "确定",
  709. cancelButtonText: "取消",
  710. type: "warning",
  711. })
  712. .then(function () {
  713. return exportGoods(queryParams);
  714. })
  715. .then((response) => {
  716. this.download(response.msg);
  717. });
  718. },
  719. },
  720. };
  721. </script>
  722. <style lang="scss">
  723. .avue-crud__dialog__header {
  724. display: -webkit-box;
  725. display: -ms-flexbox;
  726. display: flex;
  727. -webkit-box-align: center;
  728. -ms-flex-align: center;
  729. align-items: center;
  730. -webkit-box-pack: justify;
  731. -ms-flex-pack: justify;
  732. justify-content: space-between;
  733. }
  734. .el-dialog__title {
  735. color: rgba(0, 0, 0, 0.85);
  736. font-weight: 500;
  737. word-wrap: break-word;
  738. }
  739. .avue-crud__dialog__menu {
  740. padding-right: 20px;
  741. float: left;
  742. }
  743. .avue-crud__dialog__menu i {
  744. color: #909399;
  745. font-size: 15px;
  746. }
  747. .el-icon-full-screen {
  748. cursor: pointer;
  749. }
  750. .el-icon-full-screen:before {
  751. content: "\e719";
  752. }
  753. </style>