AdminManage.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. <template>
  2. <div class="context">
  3. <div class="panel">
  4. <h5>管理员管理</h5>
  5. <div class="panel-body">
  6. <div class="panel_control">
  7. <el-row :gutter="20">
  8. <el-col :span="4">
  9. <em>姓名:</em>
  10. <el-input v-model="panel.name" placeholder="请输入用户名"></el-input>
  11. </el-col>
  12. <el-col :span="4">
  13. <em>手机号:</em>
  14. <el-input v-model="panel.phone" placeholder="请输入手机号" type="number" ></el-input>
  15. </el-col>
  16. <el-col :span="4">
  17. <em>店面:</em>
  18. <el-select v-model="panel.shopId">
  19. <el-option
  20. v-for="item in panel.options"
  21. :key="item.value"
  22. :label="item.label"
  23. :value="item.value">
  24. </el-option>
  25. </el-select>
  26. </el-col>
  27. <el-col :span="4">
  28. <em>类型:</em>
  29. <el-select v-model="panel.adminType">
  30. <el-option
  31. v-for="item in panel.typeList"
  32. :key="item.value"
  33. :label="item.label"
  34. :value="item.value">
  35. </el-option>
  36. </el-select>
  37. </el-col>
  38. <el-col :span="4">
  39. <el-button size="" type="primary" @click="query" plain :disabled="serachBtnStatus">查询</el-button>
  40. </el-col>
  41. </el-row>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="change">
  46. <el-button @click="addAdmin"type="primary">新增</el-button>
  47. <el-button @click="editList">编辑</el-button>
  48. <el-button @click="delList" type="danger">删除</el-button>
  49. </div>
  50. <div class="table">
  51. <el-table
  52. :data="tableData"
  53. border
  54. is-horizontal-resize
  55. :default-sort="{prop: 'date', order: 'descending'}"
  56. element-loading-background="rgba(0, 0, 0, 0.8)"
  57. class=""
  58. @selection-change="handleSelectionChange" @current-change="clickChange"
  59. >
  60. <el-table-column label="选择" width="55">
  61. <template slot-scope="scope">
  62. <el-radio v-model="tableRadio" :label="scope.row"><i></i></el-radio>
  63. </template>
  64. </el-table-column>
  65. <el-table-column
  66. type="index"
  67. label="序号"
  68. align="center"
  69. width="50">
  70. </el-table-column>
  71. <el-table-column
  72. prop="Usercode"
  73. label="用户名"
  74. sortable
  75. >
  76. </el-table-column>
  77. <el-table-column
  78. prop="Name"
  79. label="姓名"
  80. sortable
  81. >
  82. </el-table-column>
  83. <el-table-column
  84. prop="Phone"
  85. label="手机号"
  86. sortable
  87. >
  88. </el-table-column>
  89. <el-table-column
  90. prop="AdminType"
  91. label="角色"
  92. sortable
  93. >
  94. <template slot-scope="scope">
  95. <!-- // 1 会员 2 系统 3 店铺 4 教练-->
  96. <span v-if="scope.row.AdminType == 1" style="color: #005EA2">会员</span>
  97. <span v-if="scope.row.AdminType == 2" style="color: green">系统管理员</span>
  98. <span v-if="scope.row.AdminType == 3" style="color: #8c939d">店铺管理员</span>
  99. <span v-if="scope.row.AdminType == 4">教练</span>
  100. </template>
  101. </el-table-column>
  102. <el-table-column
  103. prop="ShopName"
  104. label="所属门店"
  105. sortable
  106. >
  107. </el-table-column>
  108. <el-table-column
  109. prop="LastLoginTime"
  110. label="上次登陆时间"
  111. :formatter="filterFmtDate"
  112. sortable
  113. >
  114. </el-table-column>
  115. <el-table-column
  116. prop="Memo"
  117. label="备注"
  118. sortable
  119. >
  120. <template slot-scope="scope">
  121. <el-popover
  122. placement="top"
  123. title="备注"
  124. width="200"
  125. trigger="hover"
  126. :content="scope.row.Memo">
  127. <span slot="reference"
  128. v-if="scope.row.Memo.length > 10">{{ scope.row.Memo.substr(0, 10) }} ....</span>
  129. </el-popover>
  130. <span v-if="scope.row.Memo.length <= 10">{{ scope.row.Memo }}</span>
  131. </template>
  132. </el-table-column>
  133. <el-table-column
  134. prop="Status"
  135. label="操作"
  136. >
  137. <template slot-scope="scope">
  138. <el-button type="danger" size="mini" v-if="scope.row.Status == 1"
  139. @click="runAndPause(scope.row,8)">禁用
  140. </el-button>
  141. <el-button type="success" size="mini" v-if="scope.row.Status == 8"
  142. @click="runAndPause(scope.row,1)">启用
  143. </el-button>
  144. </template>
  145. </el-table-column>
  146. </el-table>
  147. <br>
  148. <el-pagination
  149. background
  150. :total="pageination.total"
  151. :page-size="pageination.pageItem"
  152. @current-change="pageChange"
  153. ></el-pagination>
  154. </div>
  155. <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="650px">
  156. <div>
  157. <el-form ref="form" :model="form" label-width="80px">
  158. <el-form-item label="登陆账号">
  159. <el-input v-model="form.userCode"></el-input>
  160. </el-form-item>
  161. <el-form-item label="密码">
  162. <el-input v-model="form.password" type="password"></el-input>
  163. </el-form-item>
  164. <el-form-item label="姓名">
  165. <el-input v-model="form.name"></el-input>
  166. </el-form-item>
  167. <el-form-item label="手机号">
  168. <el-input v-model="form.phone"></el-input>
  169. </el-form-item>
  170. <el-form-item label="所属门店">
  171. <el-select v-model="form.shopId" placeholder="请选择所属门店">
  172. <el-option
  173. v-for="item in shops"
  174. :key="item.value"
  175. :label="item.label"
  176. :value="item.value"
  177. ></el-option>
  178. </el-select>
  179. </el-form-item>
  180. <el-form-item label="用户角色">
  181. <el-select v-model="form.adminType " placeholder="请选择用户角色">
  182. <el-option
  183. v-for="item in form.adminTypeList"
  184. :key="item.value"
  185. :label="item.label"
  186. :value="item.value"
  187. ></el-option>
  188. </el-select>
  189. </el-form-item>
  190. <el-form-item label="备注">
  191. <el-input v-model="form.memo"></el-input>
  192. </el-form-item>
  193. </el-form>
  194. </div>
  195. <div class="dialogFooter">
  196. <el-button type="primary" size="small" @click="confirmAdmin" v-if="form.btnState == 0">确定</el-button>
  197. <el-button type="primary" size="small" @click="confirmEdit" v-if="form.btnState == 1">确定</el-button>
  198. <el-button @click="dialogVisible = false" size="small">取消</el-button>
  199. </div>
  200. </el-dialog>
  201. </div>
  202. </template>
  203. <script>
  204. import Global from '../Global.js'
  205. import {
  206. ShopManagerListQuery,
  207. ShopListQuery,
  208. ShopManagerAdd,
  209. ShopManagerEdit,
  210. ShopManagerStatusEdit,
  211. testTable,
  212. testSelect
  213. } from "../api/getApiRes";
  214. let qs = require('qs');
  215. export default {
  216. data() {
  217. return {
  218. dialogVisible: false,
  219. dialogTitle: '新增',
  220. // panel 配置项目
  221. panel: {
  222. userCode: '',
  223. name: '',
  224. phone: '',
  225. shopId: '',
  226. options: [],
  227. draw: 1,
  228. start: 0,
  229. recordsTotal: 0,
  230. tableData: [],
  231. allTableData: [],
  232. limit: '10',
  233. multipleSort: false,
  234. loading: false,
  235. fileList: [],
  236. multipleSelection: [],
  237. detectedmac: '',
  238. time1: globalBt(),
  239. type: ' ',
  240. adminType: '',
  241. typeList: [
  242. {value: '', label: '全部'},
  243. {value: 3, label: '店铺管理员'},
  244. {value: 4, label: '教练'},
  245. ],
  246. },
  247. multipleSelection: [],
  248. pageination: {
  249. pageItem: 100,
  250. pageoptions: pageOptions(),
  251. total: 100,
  252. pageIndex: 1,
  253. },
  254. form: {
  255. shopId: '',
  256. userId: '',
  257. userCode: '',
  258. password: '',
  259. name: '',
  260. phone: '',
  261. memo: '',
  262. btnState: 0,
  263. adminType: 3,
  264. adminTypeList: [
  265. {value: 3, label: '店铺管理员'},
  266. {value: 4, label: '教练'},
  267. ],
  268. },
  269. shops: [],
  270. tableData: [],
  271. tableRadio: [],
  272. serachBtnStatus: false,
  273. }
  274. },
  275. mounted() {
  276. this.getShopListSelect();
  277. this.getTableQuery();
  278. },
  279. methods: {
  280. // 获取店面列表
  281. getShopListSelect(){
  282. let that = this;
  283. let param = {
  284. token: localStorage.token,
  285. };
  286. let postdata = qs.stringify(param);
  287. ShopListQuery(postdata).then(res => {
  288. let json = res;
  289. if (json.Code == 0) {
  290. if (json.Rs == '') {
  291. that.$message.error('当前没有可选的店铺,请先在店面管理中添加店铺!');
  292. return false
  293. }
  294. that.panel.options = turnShopResToOption(json.Rs);
  295. that.panel.options.unshift({value: '', label: "全部"});
  296. } else {
  297. that.$message.error(json.Memo + '错误码:' + json.Code);
  298. }
  299. })
  300. },
  301. clickChange(item) {
  302. this.tableRadio = item
  303. },
  304. // 新增 确认提交
  305. confirmAdmin() {
  306. let that = this;
  307. // checkNum
  308. if (!that.form.userCode) {
  309. this.$message.error('错了哦,登陆账号不能为空');
  310. return false
  311. }
  312. if (that.form.name.length > 20) {
  313. this.$message.error('错了哦,登陆账号字数超过20个字');
  314. return false
  315. }
  316. if (!that.form.password) {
  317. this.$message.error('错了哦,密码不能为空');
  318. return false
  319. }
  320. if (that.form.password.length < 6) {
  321. this.$message.error('错了哦,密码字数小于6个字');
  322. return false
  323. }
  324. if (that.form.password.length > 8) {
  325. this.$message.error('错了哦,密码字数超过8个字');
  326. return false
  327. }
  328. if (!that.form.name) {
  329. this.$message.error('错了哦,姓名不能为空');
  330. return false
  331. }
  332. if (that.form.name.length > 8) {
  333. this.$message.error('错了哦,姓名字数超过8个字');
  334. return false
  335. }
  336. if (!that.form.phone) {
  337. this.$message.error('错了哦,手机号码不能为空');
  338. return false
  339. }
  340. if (!globalCheckPhone(that.form.phone)) {
  341. this.$message.error('错了哦,手机号格式不正确');
  342. return false
  343. }
  344. if (that.form.memo) {
  345. if (that.form.name.memo > 200) {
  346. this.$message.error('错了哦,备注字数超过200个字');
  347. return false
  348. }
  349. }
  350. let param = {
  351. token: localStorage.token,
  352. shopId: that.form.shopId,
  353. usercode: that.form.userCode,
  354. password: that.form.password,
  355. name: that.form.name,
  356. phone: that.form.phone,
  357. adminType: that.form.adminType,
  358. memo: that.form.memo,
  359. };
  360. let postdata = qs.stringify(param);
  361. ShopManagerAdd(postdata).then(res => {
  362. let json = res;
  363. if (json.Code == 0) {
  364. // 关闭弹窗
  365. that.dialogVisible = false;
  366. that.$message({
  367. showClose: true,
  368. message: '管理员添加成功!',
  369. type: 'success'
  370. });
  371. // 重载列表
  372. that.getTableQuery();
  373. } else {
  374. that.$message.error(json.Memo + '错误码:' + json.Code);
  375. }
  376. })
  377. },
  378. confirmEdit() {
  379. // ShopManagerEdit
  380. let that = this;
  381. // checkNum
  382. if (!that.form.userCode) {
  383. this.$message.error('错了哦,登陆账号不能为空');
  384. return false
  385. }
  386. if (that.form.name.length > 20) {
  387. this.$message.error('错了哦,登陆账号字数超过20个字');
  388. return false
  389. }
  390. // 密码有输入才检测,没输入默认传空不修改
  391. if (that.form.password) {
  392. if (that.form.password.length < 6) {
  393. this.$message.error('错了哦,密码字数小于6个字');
  394. return false
  395. }
  396. if (that.form.password.length > 8) {
  397. this.$message.error('错了哦,密码字数超过8个字');
  398. return false
  399. }
  400. }
  401. if (!that.form.name) {
  402. this.$message.error('错了哦,姓名不能为空');
  403. return false
  404. }
  405. if (that.form.name.length > 8) {
  406. this.$message.error('错了哦,姓名字数超过8个字');
  407. return false
  408. }
  409. if (!that.form.phone) {
  410. this.$message.error('错了哦,手机号码不能为空');
  411. return false
  412. }
  413. if (!globalCheckPhone(that.form.phone)) {
  414. this.$message.error('错了哦,手机号格式不正确');
  415. return false
  416. }
  417. if (that.form.memo) {
  418. if (that.form.name.memo > 200) {
  419. this.$message.error('错了哦,备注字数超过200个字');
  420. return false
  421. }
  422. }
  423. let param = {
  424. token: localStorage.token,
  425. userId: that.form.userId,
  426. shopId: that.form.shopId,
  427. usercode: that.form.userCode,
  428. password: that.form.password,
  429. name: that.form.name,
  430. phone: that.form.phone,
  431. memo: that.form.memo,
  432. };
  433. let postdata = qs.stringify(param);
  434. ShopManagerEdit(postdata).then(res => {
  435. let json = res;
  436. if (json.Code == 0) {
  437. // 关闭弹窗
  438. that.dialogVisible = false;
  439. that.$message({
  440. showClose: true,
  441. message: '管理员信息修改成功!',
  442. type: 'success'
  443. });
  444. // 重载列表
  445. that.getTableQuery();
  446. } else {
  447. that.$message.error(json.Memo + '错误码:' + json.Code);
  448. }
  449. })
  450. },
  451. // 加载选项
  452. panelSelect() {
  453. let that = this;
  454. let param = {
  455. token: localStorage.token,
  456. };
  457. let postdata = qs.stringify(param);
  458. ShopListQuery(postdata).then(res => {
  459. let json = res;
  460. if (json.Code == 0) {
  461. if (json.Rs == '') {
  462. that.$message.error('当前没有可选的店铺,请先在店面管理中添加店铺!');
  463. return false
  464. }
  465. that.panel.options = turnShopResToOption(json.Rs);
  466. that.shops = turnShopResToOption(json.Rs);
  467. that.form.shopId = json.Rs[0].ShopID;
  468. that.panel.options.unshift({value: '', label: "全部"});
  469. } else {
  470. that.$message.error(json.Memo + '错误码:' + json.Code);
  471. }
  472. })
  473. },
  474. // 删除
  475. delList() {
  476. let that = this;
  477. if (this.tableRadio.length == 0) {
  478. this.$message.error("请先选中一条记录");
  479. return false
  480. }
  481. let userId = this.tableRadio.Id;
  482. let param = {
  483. token: localStorage.token,
  484. userId: userId,
  485. status: 9,//0禁用1启用9删除
  486. };
  487. let postdata = qs.stringify(param);
  488. this.$confirm('此操作将永久删除该管理员, 是否继续?', '提示', {
  489. confirmButtonText: '确定',
  490. cancelButtonText: '取消',
  491. type: 'warning'
  492. }).then(() => {
  493. ShopManagerStatusEdit(postdata).then(res => {
  494. let json = res;
  495. if (json.Code == 0) {
  496. that.$message({
  497. showClose: true,
  498. message: '选中的管理员已删除!',
  499. type: 'success'
  500. });
  501. // 重载列表
  502. that.getTableQuery();
  503. } else {
  504. that.$message.error(json.Memo + '错误码:' + json.Code);
  505. }
  506. });
  507. }).catch(() => {
  508. this.$message({
  509. type: 'info',
  510. message: '已取消删除'
  511. });
  512. });
  513. },
  514. runAndPause(row, status) {
  515. let that = this;
  516. let param = {
  517. token: localStorage.token,
  518. userId: row.Id,
  519. status: status,
  520. };
  521. let postdata = qs.stringify(param);
  522. ShopManagerStatusEdit(postdata).then(res => {
  523. let json = res;
  524. if (json.Code == 0) {
  525. that.$message({
  526. showClose: true,
  527. message: '管理员状态已修改成功!',
  528. type: 'success'
  529. });
  530. // 重载列表
  531. that.getTableQuery();
  532. } else {
  533. that.$message.error(json.Memo + '错误码:' + json.Code);
  534. }
  535. })
  536. },
  537. clearForm() {
  538. // clear
  539. this.form.shopId = 0;
  540. this.form.name = '';
  541. this.form.userCode = '';
  542. this.form.password = '';
  543. this.form.phone = '';
  544. this.form.memo = '';
  545. },
  546. // 新增管理员
  547. addAdmin() {
  548. this.clearForm();
  549. // 重载店面列表
  550. this.panelSelect();
  551. this.dialogVisible = true;
  552. this.dialogTitle = '新增';
  553. this.form.btnState = 0;
  554. },
  555. // 编辑管理员
  556. editList() {
  557. let that = this;
  558. this.clearForm();
  559. // 重载门店列表
  560. this.panelSelect();
  561. console.log(this.tableRadio);
  562. if (this.tableRadio.length == 0) {
  563. this.$message.error("请先选中一条记录");
  564. return false
  565. }
  566. let row = this.tableRadio;
  567. this.form.shopid = row.ShopId;
  568. this.form.userId = row.Id;
  569. this.form.name = row.Name;
  570. this.form.userCode = row.Usercode;
  571. this.form.password = '';
  572. this.form.phone = row.Phone;
  573. this.form.memo = row.Memo;
  574. this.form.adminType = row.AdminType;
  575. this.dialogVisible = true;
  576. this.dialogTitle = '编辑';
  577. this.form.btnState = 1;
  578. },
  579. handleSelectionChange(val) {
  580. this.multipleSelection = val;
  581. },
  582. // 查询按钮
  583. query() {
  584. // 按钮倒计时
  585. let that = this;
  586. that.serachBtnStatus = true;
  587. let totalTime = 2
  588. let clock = window.setInterval(() => {
  589. totalTime--
  590. if (totalTime < 0) {
  591. totalTime = 2;
  592. that.serachBtnStatus = false;
  593. }
  594. }, 1000)
  595. this.getTableQuery();
  596. this.$message.success('查询完毕');
  597. },
  598. // 页面数据查询
  599. getTableQuery() {
  600. let that = this;
  601. that.loading = true;
  602. let param = {
  603. token: localStorage.token,
  604. shopId: this.panel.shopId,
  605. name: this.panel.name,
  606. phone: this.panel.phone,
  607. adminType: this.panel.adminType,
  608. start: 1,//
  609. tableMax: 9999,//
  610. };
  611. let postdata = qs.stringify(param);
  612. ShopManagerListQuery(postdata).then(res => {
  613. let json = res;
  614. if (json.Code == 0) {
  615. that.loading = false;
  616. if (json.Rs) {
  617. that.allTableData = json.Rs;
  618. that.recordsTotal = json.Rs.length;
  619. } else {
  620. that.allTableData = [];
  621. that.recordsTotal = 0;
  622. }
  623. // 设置分页数据
  624. that.setPaginations();
  625. } else {
  626. that.$message.error(json.Memo + '错误码:' + json.Code);
  627. }
  628. })
  629. },
  630. // 设置分页数据
  631. setPaginations() {
  632. // 分页属性
  633. let that = this;
  634. that.pageination.total = that.recordsTotal;
  635. // 默认分页
  636. that.tableData = that.allTableData.filter((item, index) => {
  637. return index < that.pageination.pageItem;
  638. });
  639. },
  640. // 每页显示数量
  641. handleSizeChange() {
  642. let that = this;
  643. that.tableData = that.allTableData.filter((item, index) => {
  644. return index < that.pageination.pageItem;
  645. });
  646. that.draw = that.pageination.pageItem;
  647. that.getTableQuery();
  648. },
  649. // 翻页
  650. pageChange(pageIndex) {
  651. let that = this;
  652. // 获取当前页
  653. let index = that.pageination.pageItem * (pageIndex - 1);
  654. // 数据总数
  655. let nums = that.pageination.pageItem * pageIndex;
  656. // 容器
  657. let tables = [];
  658. for (var i = index; i < nums; i++) {
  659. if (that.allTableData[i]) {
  660. tables.push(that.allTableData[i])
  661. }
  662. this.tableData = tables;
  663. }
  664. that.start = index * that.draw;
  665. // that.getTableQuery();
  666. },
  667. // 自动排序
  668. sortChange(params) {
  669. console.log(params)
  670. },
  671. // 过滤时间
  672. filterFmtDate(value, row, column) {
  673. let that = this;
  674. return nonTfmtDate(column, 11);
  675. },
  676. // 过滤金额
  677. filterMoney(value, row, column) {
  678. let that = this;
  679. return parseFloat(column).toFixed(2);
  680. },
  681. },
  682. watch: {
  683. $route(to) {
  684. if (to.name == 'AdminManage') {
  685. this.getShopListSelect();
  686. this.getTableQuery();
  687. }
  688. },
  689. },
  690. }
  691. </script>
  692. <style scoped>
  693. @import "../assets/css/panel.css";
  694. .context {
  695. height: 770px;
  696. overflow-y: scroll;
  697. display: block;
  698. margin: 0 auto;
  699. background-color: #fff !important;
  700. padding: 30px;
  701. padding-bottom: 60px;
  702. }
  703. .panel-body {
  704. padding: 20px;
  705. background: #F0F2F5;
  706. }
  707. .change {
  708. width: 100%;
  709. overflow: hidden;
  710. display: block;
  711. margin: 0 auto;
  712. padding-top: 10px;
  713. padding-bottom: 10px;
  714. }
  715. .change button {
  716. float: left;
  717. }
  718. .change button.pull-right {
  719. float: right;
  720. }
  721. .dialogTitle {
  722. width: 100%;
  723. overflow: hidden;
  724. display: block;
  725. margin: 0 auto;
  726. color: #000000;
  727. font-size: 18px;
  728. text-align: center;
  729. }
  730. .dialogTitle em {
  731. float: none;
  732. font-style: normal;
  733. color: #3799FF;
  734. margin: 0;
  735. }
  736. /deep/ .el-transfer-panel__item .el-checkbox__input {
  737. left: 40px;
  738. }
  739. .dialogFooter {
  740. width: 90%;
  741. overflow: hidden;
  742. display: block;
  743. margin: 0 auto;
  744. margin-top: 10px;
  745. }
  746. .dialogFooter button {
  747. float: right;
  748. margin-left: 10px;
  749. }
  750. /deep/ .el-dialog .el-select .el-input__inner {
  751. width: 240px;
  752. }
  753. /deep/ .el-dialog .el-select {
  754. width: 530px;
  755. }
  756. /deep/ .el-dialog .el-select .el-input__inner {
  757. width: 530px;
  758. }
  759. </style>