accountHome.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. <template>
  2. <div class="account-home">
  3. <div class="account-header">
  4. <div class="status flex-wrap">
  5. <div class="manageTitle">账号管理</div>
  6. <div class="status1"><span class="icon" />在线</div>
  7. <div class="status2"><span class="icon" />离线</div>
  8. <div class="status3"><span class="icon" />禁用</div>
  9. </div>
  10. <Search :is-slot="true" :is-title="false" @getSearchData="getSearchData" @clearSearchData="clearSearchData">
  11. <el-button v-is="['userlist_btn_add']" class="btnAdd" @click="addAccount">新增</el-button>
  12. </Search>
  13. </div>
  14. <div class="flex-wrap">
  15. <div class="content-group">
  16. <el-tree ref="tree" class="groupTree" highlight-current default-expand-all node-key="user_group_id" :data="groupData" @node-click="handleNodeClick">
  17. <span style="font-size: 14px;" class="custom-tree-node" slot-scope="{ data }">
  18. <span>{{ data.user_group_name }}</span>
  19. <span v-if="data.user_group_id != -1 && data.up_user_group_id != -2">({{ data.user_count }})</span>
  20. </span>
  21. </el-tree>
  22. </div>
  23. <div class="content-box scrollbar">
  24. <template v-if="accountArr.length">
  25. <el-row v-infinite-scroll="load" :infinite-scroll-disabled="disabled" :infinite-scroll-distance="20" :gutter="24">
  26. <el-col v-for="(account, index) in accountArr" :key="index" :xs="24" :sm="12" :md="8" :lg="6" class="account-box">
  27. <div class="account-box-wrap">
  28. <div :class="account.user_status == 1 ? 'headOnline' : account.user_status == 2 ? 'headOffline' : 'headDisabled'" />
  29. <div>
  30. <div class="nameBox flex">
  31. <div class="flex-wrap">
  32. <div class="name">{{ account.user_name }}</div>
  33. <div v-is="['userlist_btn_update']" class="loger" @click="toEdit(account.user_id)" />
  34. <div v-is="['account_authorization_button']" @click="authAccount(account)" class="loger cap-auth"></div>
  35. </div>
  36. <div v-is="['userlist_btn_del']" class="del" @click="deleteUser(account)">
  37. <i class="el-icon-close" />
  38. </div>
  39. </div>
  40. <!-- <el-row>
  41. <el-col :span="24">{{ account.group }}</el-col>
  42. </el-row>
  43. <el-row class="content">
  44. <el-col :span="12">登录次数:<span>{{ account.LoginCount }}</span></el-col>
  45. <el-col :span="12" class="flexLeft">异常登录:<span>{{ account.ExceptionCount }}</span></el-col>
  46. </el-row> -->
  47. <el-row class="content">
  48. <el-col :span="24">权限项数:<span>{{ account.AuthCount }}</span></el-col>
  49. </el-row>
  50. <el-row class="content">
  51. <el-col :span="12">
  52. 状态:<span v-if="account.user_status == 1 || account.user_status == 2" class="used">启用</span>
  53. <span v-else class="unUsed">停用</span>
  54. </el-col>
  55. <el-col v-is="['userlist_btn_status_change']" :span="12" class="flexLeft">
  56. <el-switch v-model="account.Flag" :active-value="true" :inactive-value="false" active-color="#2D67E3" inactive-color="#CFD6E2" @change="userActiveToggle(account)" />
  57. </el-col>
  58. </el-row>
  59. </div>
  60. </div>
  61. </el-col>
  62. </el-row>
  63. <template v-if="pages > 1">
  64. <p v-if="loading" class="center">加载中...</p>
  65. <p v-if="noMore" class="center">没有更多数据了~</p>
  66. </template>
  67. </template>
  68. <template v-else>
  69. <NoData />
  70. </template>
  71. </div>
  72. </div>
  73. <Dialog :flag="dialogVisible">
  74. <div class="del-dialog">
  75. <div class="title del-title">删除账号</div>
  76. <div class="content del-content">
  77. <i class="el-icon-error error r10" />你确定要删除<span class="error l10">{{ deleteUserName }}</span>?
  78. </div>
  79. <div class="foot Delfoot right t30">
  80. <el-button size="medium" type="danger" class="r24" @click="del()">删除</el-button>
  81. <el-button size="medium" @click="dialogVisible = false">取消</el-button>
  82. </div>
  83. </div>
  84. </Dialog>
  85. <!--新增/编辑-->
  86. <Dialog :flag="editDialogVisible" width="508px" :show-flag="true">
  87. <div class="airportInfoDialog dialog-public-background">
  88. <div class="title">{{ editDialogTitle }}</div>
  89. <div class="content">
  90. <!-- <div class="ruleZf">特殊字符:`、!、@、#、$、%、^、&、*、(、)、_、+、{、}、"、:、?、>、&lt;、`、,、.、/、'、;、[、]、=、-、\、|</div> -->
  91. <el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="130px" class="demo-ruleForm">
  92. <el-form-item label="账号名称" prop="user_name">
  93. <el-input v-model="ruleForm.user_name" size="medium" placeholder="请输入账号名称" />
  94. </el-form-item>
  95. <el-form-item label="账号密码" prop="user_pwd">
  96. <el-input v-model="ruleForm.user_pwd" show-password class="r25" size="medium" placeholder="请输入密码" />
  97. <!-- <div class="flex-wrap">
  98. <el-input v-model="ruleForm.PassWord" class="r25" size="medium" placeholder="请输入密码" />
  99. <el-button size="medium" @click="resetPwd" style="position: relative;top: 4px;" class="r26" type="primary">重置密码</el-button>
  100. </div> -->
  101. </el-form-item>
  102. <el-form-item label="账号组关联" prop="user_gropu_id">
  103. <el-select style="width: 100%" v-model="ruleForm.user_group_id" placeholder="请选择">
  104. <el-option v-for="item in options" :key="item.v" :label="item.k" :value="item.v"> </el-option>
  105. </el-select>
  106. </el-form-item>
  107. <el-form-item label="账号描述" prop="user_comment">
  108. <el-input v-model="ruleForm.user_comment" size="medium" type="textarea" :rows="3" placeholder="请输入角色描述" />
  109. </el-form-item>
  110. <el-form-item label="是否启用" prop="user_status">
  111. <el-radio v-model="ruleForm.user_status" :label="2">是</el-radio>
  112. <el-radio v-model="ruleForm.user_status" :label="0">否</el-radio>
  113. </el-form-item>
  114. </el-form>
  115. </div>
  116. <div class="foot center t30">
  117. <el-button size="medium" type="primary" class="r25 r26" @click="submitClickHandler()">提交</el-button>
  118. <el-button size="medium" class="r26" @click="resetForm('ruleForm')">取消</el-button>
  119. </div>
  120. </div>
  121. </Dialog>
  122. </div>
  123. </template>
  124. <script>
  125. import Search from "@/layout/components/Search";
  126. import Dialog from "@/layout/components/Dialog";
  127. import NoData from "@/components/nodata";
  128. import { GetAccountList, ChangeUserStatus, delAccount, getAccountDetails, editAccount, addAccount } from "@/api/Account";
  129. import { pwdProduce, translateDataToTreeAll } from "@/utils/validate";
  130. import { mapGetters } from "vuex";
  131. import { GeneralDataReception, Query } from "@/api/dataIntegration";
  132. import MD5 from "blueimp-md5";
  133. export default {
  134. components: { Search, Dialog, NoData },
  135. data () {
  136. return {
  137. pwdStruc: "",
  138. pwdLengthBegin: 0,
  139. pwdLengthEnd: 0,
  140. dialogVisible: false,
  141. accountArr: [],
  142. deleteUserId: "",
  143. deleteUserName: "",
  144. userId: "",
  145. GroupId: "",
  146. GroupUpid: "",
  147. searchInfo: "", // 搜索内容
  148. PageIndex: 1,
  149. PageSize: 20,
  150. pages: null,
  151. loading: false,
  152. editDialogVisible: false,
  153. editDialogTitle: "新增账号",
  154. editType: "add",
  155. ruleForm: {
  156. // 协议信息表单
  157. user_name: "",
  158. user_status: "",
  159. user_comment: "",
  160. user_pwd: "",
  161. user_group_id: "",
  162. },
  163. rules: {
  164. // 协议信息表单验证
  165. user_name: [{ required: true, message: "请输入账号名称", trigger: "blur" }],
  166. },
  167. ruleFormObj: {},
  168. roleId: "",
  169. msgIndex: null,
  170. oldPwd: "",
  171. groupData: [],
  172. defaultProps: {
  173. children: "children",
  174. label: "user_group_name",
  175. },
  176. options: [],
  177. msgType: "all",
  178. msgId: null,
  179. };
  180. },
  181. computed: {
  182. ...mapGetters(["systemSet"]),
  183. noMore () {
  184. return this.PageIndex >= this.pages;
  185. },
  186. disabled () {
  187. return this.loading || this.noMore;
  188. },
  189. },
  190. watch: {
  191. searchInfo (val) {
  192. val.length === 0 && this.pageInit();
  193. },
  194. },
  195. created () {
  196. // 获取系统配置
  197. // if (this.systemSet) {
  198. // let obj
  199. // if (typeof this.systemSet === 'string') {
  200. // obj = JSON.parse(this.systemSet)
  201. // } else {
  202. // obj = this.systemSet
  203. // }
  204. // //
  205. // const { PwdStruc, PwdLengthBegin, PwdLengthEnd } = obj
  206. // this.pwdStruc = PwdStruc
  207. // this.pwdLengthBegin = PwdLengthBegin
  208. // this.pwdLengthEnd = PwdLengthEnd
  209. // }
  210. if (!this.searchInfo) {
  211. this.accountList();
  212. } else {
  213. this.accountList();
  214. }
  215. this.getGroup();
  216. this.getGroupSelect();
  217. },
  218. methods: {
  219. // 随机生成密码
  220. resetPwd () {
  221. this.ruleForm.PassWord = pwdProduce(this.pwdLengthBegin, this.pwdLengthEnd, this.pwdStruc);
  222. },
  223. //
  224. async getGroupSelect () {
  225. const res = await Query({
  226. id: DATACONTENT_ID.accountGroupSelId,
  227. dataContent: [],
  228. });
  229. if (res.code == 0) {
  230. const { listValues } = res.returnData;
  231. this.options = listValues;
  232. } else {
  233. this.$message.error(res.message);
  234. }
  235. },
  236. //获取用户组
  237. async getGroup () {
  238. const res = await Query({
  239. id: DATACONTENT_ID.accountGroupTableId,
  240. dataContent: [""],
  241. });
  242. if (res.code == 0) {
  243. const { listValues } = res.returnData;
  244. if (listValues && listValues.length) {
  245. const dataObj = {
  246. user_group_id: -1,
  247. up_user_group_id: -2,
  248. user_group_name: "全部用户组",
  249. children: translateDataToTreeAll(listValues, "up_user_group_id", "user_group_id"),
  250. };
  251. this.groupData.push(dataObj);
  252. } else {
  253. }
  254. } else {
  255. this.$message.error(res.message);
  256. }
  257. },
  258. //用户组点击
  259. handleNodeClick (data) {
  260. this.accountArr = [];
  261. if (data.user_group_id != -1 && data.up_user_group_id != -2) {
  262. this.PageIndex = 1;
  263. // this.pages = 1;
  264. this.msgType = "cld";
  265. this.msgId = data.user_group_id;
  266. this.accountList();
  267. //this.getAccountData(data.user_group_id);
  268. } else {
  269. this.msgType = "all";
  270. this.clearSearchData();
  271. }
  272. },
  273. async getAccountData (id) {
  274. const res = await Query({
  275. id: DATACONTENT_ID.accountGroupDetailsId,
  276. dataContent: [id],
  277. needPage: this.PageIndex,
  278. });
  279. if (res.code == 0) {
  280. const { listValues } = res.returnData;
  281. listValues.forEach((element) => {
  282. element.Flag = element.user_status == 1 || element.user_status == 2 ? true : false;
  283. });
  284. this.accountArr = _.unionBy(listValues, "user_id");
  285. } else {
  286. this.$message.error(res.message);
  287. }
  288. },
  289. // 编辑账号
  290. async saveEditAccount () {
  291. try {
  292. if (this.oldPwd !== this.ruleForm.user_pwd) {
  293. this.ruleForm.user_pwd = MD5(this.ruleForm.user_pwd);
  294. }
  295. const res = await GeneralDataReception({
  296. serviceId: SERVICE_ID.accountScId,
  297. dataContent: JSON.stringify(this.ruleForm),
  298. });
  299. if (res.code == 0) {
  300. this.$message.success(res.message);
  301. this.resetForm("ruleForm");
  302. this.pageInit();
  303. } else {
  304. this.$message.error(res.message);
  305. }
  306. } catch (error) {
  307. }
  308. },
  309. // 新增账号
  310. async saveAddAccount () {
  311. try {
  312. this.ruleForm.user_pwd = MD5(this.ruleForm.user_pwd);
  313. const res = await GeneralDataReception({
  314. serviceId: SERVICE_ID.accountScId,
  315. dataContent: JSON.stringify(this.ruleForm),
  316. });
  317. if (res.code == 0) {
  318. this.$message.success(res.message);
  319. this.resetForm("ruleForm");
  320. this.pageInit();
  321. } else {
  322. this.$message.error(res.message);
  323. }
  324. } catch (error) {
  325. }
  326. },
  327. // 获取当前账号信息
  328. async getAccountInfo () {
  329. const res = await Query({
  330. id: DATACONTENT_ID.accountDetailsId,
  331. dataContent: [this.roleId],
  332. });
  333. if (res.code == 0) {
  334. const { listValues } = res.returnData;
  335. const obj = listValues[0];
  336. this.ruleForm = obj;
  337. this.oldPwd = obj.user_pwd;
  338. this.ruleForm.event = 2;
  339. } else {
  340. this.$message.error(res.message);
  341. }
  342. },
  343. // 新增/编辑-确认
  344. submitClickHandler () {
  345. this.$refs["ruleForm"].validate((valid) => {
  346. if (valid) {
  347. if (this.editType == "add") {
  348. this.saveAddAccount();
  349. } else {
  350. this.saveEditAccount();
  351. }
  352. this.editDialogVisible = false;
  353. } else {
  354. return false;
  355. }
  356. });
  357. },
  358. // 滚动加载
  359. load () {
  360. this.PageIndex += 1;
  361. this.accountList();
  362. },
  363. // 回到第一页
  364. pageInit () {
  365. this.PageIndex = 1;
  366. this.accountArr = [];
  367. this.accountList();
  368. },
  369. // 查询
  370. getSearchData (val) {
  371. this.searchInfo = val;
  372. this.pageInit();
  373. },
  374. // 清除查询
  375. clearSearchData () {
  376. this.searchInfo = "";
  377. this.pageInit();
  378. },
  379. // 修改状态
  380. async userActiveToggle (item) {
  381. item.event = 2;
  382. item.user_status = item.Flag ? 2 : 0;
  383. try {
  384. const result = await GeneralDataReception({
  385. serviceId: SERVICE_ID.accountScId,
  386. dataContent: JSON.stringify(item),
  387. });
  388. if (result.code == 0) {
  389. this.pageInit();
  390. this.$message.success(result.message);
  391. } else {
  392. this.$message.error(result.$message);
  393. }
  394. } catch (error) {
  395. }
  396. },
  397. deleteUser (user) {
  398. this.dialogVisible = true;
  399. this.deleteUserName = user.user_name;
  400. this.ruleFormObj = user;
  401. },
  402. toEdit (userId) {
  403. this.editDialogVisible = true;
  404. this.editType = "edit";
  405. this.editDialogTitle = "编辑账号";
  406. this.roleId = userId;
  407. this.getAccountInfo();
  408. },
  409. addAccount () {
  410. this.editDialogTitle = "新增账号";
  411. this.editDialogVisible = true;
  412. this.editType = "add";
  413. this.ruleForm = {};
  414. this.ruleForm.event = 1;
  415. // this.$router.push({
  416. // path: '/account/accountAdd'
  417. // })
  418. },
  419. // 重置
  420. resetForm (formName) {
  421. this.$refs[formName].resetFields();
  422. this.editDialogVisible = false;
  423. },
  424. // 获取列表
  425. async accountList () {
  426. try {
  427. this.loading = true;
  428. let result = null;
  429. if (this.msgType == "all") {
  430. result = await Query({
  431. id: DATACONTENT_ID.accountTableId,
  432. needPage: this.PageIndex,
  433. dataContent: [this.searchInfo],
  434. });
  435. } else {
  436. result = await Query({
  437. id: DATACONTENT_ID.accountGroupDetailsId,
  438. dataContent: [this.msgId],
  439. needPage: this.PageIndex,
  440. });
  441. }
  442. if (result.code == 0) {
  443. this.loading = false;
  444. const newDatas = result.returnData.listValues;
  445. if (newDatas && newDatas.length) {
  446. this.pages = result.returnData.pages;
  447. newDatas.forEach((element) => {
  448. element.Flag = element.user_status == 1 || element.user_status == 2 ? true : false;
  449. this.accountArr.push(element);
  450. });
  451. this.accountArr = _.unionBy(this.accountArr, "user_id");
  452. this.msgIndex = this.PageIndex;
  453. } else {
  454. this.pages = this.msgIndex;
  455. this.PageIndex = this.msgIndex;
  456. }
  457. } else {
  458. this.$message.error(result.message);
  459. }
  460. } catch (error) {
  461. }
  462. },
  463. // 删除接口
  464. async del () {
  465. this.ruleFormObj.event = 3;
  466. const result = await GeneralDataReception({
  467. serviceId: SERVICE_ID.accountScId,
  468. dataContent: JSON.stringify(this.ruleFormObj),
  469. });
  470. if (result.code == 0) {
  471. this.dialogVisible = false;
  472. this.$message.success(result.message);
  473. this.pageInit();
  474. } else if (result.code == -1) {
  475. this.$message.error("后端错误,稍后请重试");
  476. } else {
  477. this.$message.success(result.message);
  478. }
  479. },
  480. // 账号权限
  481. authAccount (item) {
  482. this.roleId = item.user_id;
  483. this.$router.push({
  484. path: "/account/accountAuth",
  485. query: { userId: this.roleId },
  486. });
  487. },
  488. },
  489. };
  490. </script>
  491. <style lang="scss" scoped>
  492. .account-home {
  493. padding: 16px 32px 32px 32px;
  494. .account-header {
  495. margin-bottom: 30px;
  496. line-height: 32px;
  497. width: 100%;
  498. display: flex;
  499. justify-content: space-between;
  500. .btn-add {
  501. width: 120px;
  502. height: 48px;
  503. background: #f5f7fa;
  504. border: 1px solid #b4b7cb;
  505. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  506. border-radius: 6px;
  507. font-size: 16px;
  508. font-weight: bold;
  509. color: #6f81bc;
  510. }
  511. .status {
  512. align-items: center;
  513. .icon {
  514. width: 14px;
  515. height: 14px;
  516. background: #2d67e3;
  517. border-radius: 2px;
  518. display: inline-block;
  519. vertical-align: middle;
  520. margin-right: 10px;
  521. position: relative;
  522. top: -2px;
  523. }
  524. &:last-child {
  525. margin-right: 0;
  526. }
  527. .status2 {
  528. margin: 0 28px;
  529. .icon {
  530. background: #eb2f3b;
  531. }
  532. }
  533. .status3 {
  534. .icon {
  535. background: #afb4bf;
  536. }
  537. }
  538. }
  539. }
  540. .content-box {
  541. flex: 1;
  542. height: calc(100vh - 256px);
  543. overflow-y: auto;
  544. overflow-x: hidden;
  545. @media only screen and (min-width: 1920px) {
  546. .el-col-xl-4-8 {
  547. width: 20%;
  548. }
  549. }
  550. .account-box {
  551. min-height: 140px;
  552. margin-bottom: 24px;
  553. .account-box-wrap {
  554. position: relative;
  555. padding: 24px;
  556. background: #ffffff;
  557. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  558. border-radius: 4px;
  559. overflow: hidden;
  560. }
  561. .headOffline {
  562. width: 100%;
  563. height: 4px;
  564. background: #f25555;
  565. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  566. border-radius: 4px;
  567. position: absolute;
  568. left: 0;
  569. top: 0;
  570. }
  571. .headOnline {
  572. background: #2d67e3;
  573. width: 100%;
  574. height: 4px;
  575. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  576. border-radius: 4px;
  577. position: absolute;
  578. left: 0;
  579. top: 0;
  580. }
  581. .headDisabled {
  582. background: #cfd6e2;
  583. width: 100%;
  584. height: 4px;
  585. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  586. border-radius: 4px;
  587. position: absolute;
  588. left: 0;
  589. top: 0;
  590. }
  591. .el-row {
  592. margin: 8px 0;
  593. }
  594. .flexLeft {
  595. display: flex;
  596. justify-content: flex-end;
  597. flex-direction: row;
  598. }
  599. .del {
  600. cursor: pointer;
  601. i {
  602. font-size: 14px;
  603. font-weight: 600;
  604. color: #606266;
  605. }
  606. }
  607. .nameBox {
  608. display: flex;
  609. .name {
  610. font-size: 16px;
  611. font-weight: bold;
  612. color: #303133;
  613. max-width: 120px;
  614. white-space: nowrap;
  615. overflow: hidden;
  616. text-overflow: ellipsis;
  617. }
  618. .loger {
  619. width: 14px;
  620. height: 14px;
  621. margin-left: 24px;
  622. background: url("../../../assets/status/ic_edit_default.png")
  623. no-repeat;
  624. background-size: 100% 100%;
  625. cursor: pointer;
  626. }
  627. .loger:hover {
  628. background: url("../../../assets/status/ic_edit_hovar.png") no-repeat;
  629. background-size: 100% 100%;
  630. }
  631. .cap-auth {
  632. margin-left: 12px;
  633. background-image: url("../../../assets/status/ic_edit_authorization.png");
  634. &:hover {
  635. background-image: url("../../../assets/status/ic_edit_authorization_hover.png");
  636. }
  637. }
  638. }
  639. .content {
  640. margin-top: 14px;
  641. font-size: 14px;
  642. }
  643. .used {
  644. font-size: 14px;
  645. font-weight: 400;
  646. color: #2d67e3;
  647. }
  648. span {
  649. font-size: 16px;
  650. font-weight: 400;
  651. color: #909399;
  652. }
  653. }
  654. }
  655. .content-group {
  656. width: 488px;
  657. background: #ffffff;
  658. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  659. border-radius: 4px;
  660. margin-right: 24px;
  661. padding: 24px;
  662. ::v-deep .groupTree {
  663. .el-tree-node__children {
  664. display: block;
  665. }
  666. }
  667. }
  668. .del-dialog {
  669. .del-content {
  670. font-size: 16px;
  671. font-family: Microsoft YaHei;
  672. font-weight: 400;
  673. color: #101611;
  674. .el-icon-error {
  675. vertical-align: sub;
  676. font-size: 26px;
  677. }
  678. }
  679. }
  680. .ruleZf {
  681. padding-left: 60px;
  682. line-height: 2;
  683. margin-bottom: 22px;
  684. color: #101611;
  685. }
  686. }
  687. </style>