customerComPanyDetail.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <template>
  2. <div class="system-user">
  3. <!-- 头部细节部分 -->
  4. <div class="title">
  5. <el-row>
  6. <el-col :span="24">
  7. <div class="top">
  8. <el-input placeholder="企业名称" class="input-demo" v-model="companyName"></el-input>
  9. <el-input placeholder="经办人姓名" class="input-demo" v-model="operatorName"></el-input>
  10. <el-button type="success" style="margin-left: 1%;" @click="firstLoadData">查询</el-button>
  11. <el-button type="success" style="margin-left: 1%;" @click="addOperatorList = true">添加经办人</el-button>
  12. <el-button type="info" style="margin-left: 1%;" @click="addEditEmailList = true">更新备案邮箱</el-button>
  13. <el-button type="primary" style="margin-left: 1%;" @click="exportExcel">导出报表</el-button>
  14. </div>
  15. </el-col>
  16. </el-row>
  17. </div>
  18. <!-- 头部细节部分结束 -->
  19. <!-- 表格部分 -->
  20. <template>
  21. <el-table
  22. class="table"
  23. v-loading="loading"
  24. ref="multipleTable"
  25. :data="customerCompanytable"
  26. :height="heightt"
  27. border
  28. tooltip-effect="dark">
  29. <el-table-column
  30. label="企业名称"
  31. prop="companyName"
  32. show-overflow-tooltip>
  33. </el-table-column>
  34. <el-table-column
  35. label="企业编码"
  36. prop="companyNum"
  37. show-overflow-tooltip>
  38. </el-table-column>
  39. <el-table-column
  40. label="经办人姓名"
  41. prop="operatorName"
  42. show-overflow-tooltip>
  43. </el-table-column>
  44. <el-table-column
  45. label="经办人手机号"
  46. prop="operatorMobile"
  47. show-overflow-tooltip>
  48. </el-table-column>
  49. <el-table-column
  50. label="经办人身份证"
  51. prop="identificationId"
  52. show-overflow-tooltip>
  53. </el-table-column>
  54. <el-table-column
  55. label="经办人附件名称"
  56. prop="contractFileName"
  57. show-overflow-tooltip>
  58. </el-table-column>
  59. <el-table-column
  60. label="证明附件名称"
  61. prop="operatorEvidenceContractFileName"
  62. show-overflow-tooltip>
  63. </el-table-column>
  64. <el-table-column
  65. label="状态"
  66. show-overflow-tooltip>
  67. <template slot-scope="scope">
  68. <span v-if="scope.row.status == 1" style="color:green">变更经办人短信确认成功</span>
  69. <span v-else-if="scope.row.status == 2" style="color: red">变更经办人发送短信</span>
  70. <span v-else-if="scope.row.status == 3" style="color: blue">经办人提交成功</span>
  71. <span v-else-if="scope.row.status == 4" style="color: cyan">证明附件上传成功</span>
  72. <span v-else-if="scope.row.status == 5" style="color: cyan">开票经办人短信发送</span>
  73. <span v-else-if="scope.row.status == 6" style="color: cyan">开票经办人认证成功</span>
  74. </template>
  75. </el-table-column>
  76. <el-table-column
  77. label="操作"
  78. width="100">
  79. <template slot-scope="scope" show-overflow-tooltip>
  80. <el-link style="cursor:pointer;color: blue;" @click="openChange(scope.row)">证明附件</el-link>
  81. </template>
  82. </el-table-column>
  83. <el-table-column
  84. label="开票短信确认时间"
  85. prop="lastTime"
  86. width="180"
  87. show-overflow-tooltip>
  88. </el-table-column>
  89. </el-table>
  90. </template>
  91. <!-- 分页 -->
  92. <div class="block">
  93. <el-pagination
  94. @size-change="handleSizeChange"
  95. @current-change="handleCurrentChange"
  96. :current-page="current"
  97. :page-sizes="[6, 8, 10, 20, 50 ,100]"
  98. :page-size="pagesize"
  99. layout="total, sizes, prev, pager, next, jumper"
  100. :total="total">
  101. </el-pagination>
  102. </div>
  103. <!-- 新增企业开票经办人 -->
  104. <el-dialog
  105. @close="handleEditDialogClose"
  106. :visible.sync="addOperatorList"
  107. style="font-size: 0px;">
  108. <div class="tou">企业开票经办人--添加</div>
  109. <div class="line"></div>
  110. <el-form
  111. label-position="right"
  112. label-width="120px"
  113. :rules="rules"
  114. ref="ruleForm"
  115. :model="formOperatorList">
  116. <el-form-item label="企业名称" prop="companyName">
  117. <el-select v-model="formOperatorList.companyName" @change="changeRow" filterable placeholder="请选择企业名称" style="width: 100%">
  118. <el-option
  119. v-for="item in comPanyNumList"
  120. :key="item.companyName"
  121. :label="item.companyName"
  122. :value="item.companyName">
  123. </el-option>
  124. </el-select>
  125. </el-form-item>
  126. <el-form-item label="企业编码" prop="companyNum">
  127. <el-input v-model="formOperatorList.companyNum" placeholder="企业编码" auto-complete="off" :disabled="true" ></el-input>
  128. </el-form-item>
  129. <el-form-item label="经办人姓名" prop="operatorName">
  130. <el-input v-model="formOperatorList.operatorName" auto-complete="off" placeholder="请输入经办人姓名"></el-input>
  131. </el-form-item>
  132. <el-form-item label="经办人手机号" prop="operatorMobile">
  133. <el-input v-model="formOperatorList.operatorMobile" auto-complete="off" placeholder="请输入经办人手机号"></el-input>
  134. </el-form-item>
  135. <el-form-item label="经办人身份证" prop="identificationId">
  136. <el-input v-model="formOperatorList.identificationId" auto-complete="off" placeholder="请输入经办人身份证"></el-input>
  137. </el-form-item>
  138. <el-form-item label-width=120px label="协议文件名" v-show= false>
  139. <el-input v-model="formOperatorList.contractFileName" auto-complete="off" :disabled=disable ></el-input>
  140. </el-form-item>
  141. <el-form-item label-width=120px label="上传营业执照" prop="contractFileName">
  142. <el-upload
  143. class="avatar-uploader"
  144. style="width: 100%"
  145. action="#"
  146. :show-file-list="false"
  147. :http-request="httpRequest">
  148. <el-input label-width=120px v-model="formOperatorList.contractFileName" auto-complete="off" style="width: 100%"></el-input>
  149. <!-- <el-button type="primary" @click="getFile(index)">选取文件</el-button> -->
  150. </el-upload>
  151. <el-input label-width=120px v-model="formOperatorList.base64Str" v-show="false" auto-complete="off"></el-input>
  152. </el-form-item>
  153. </el-form>
  154. <div slot="footer" class="dialog-footer">
  155. <el-button @click="addOperatorList = false" type="info">取 消</el-button>
  156. <el-button type="primary" @click="addData('ruleForm')">新 增</el-button>
  157. </div>
  158. </el-dialog>
  159. <!-- 更新邮箱 -->
  160. <el-dialog
  161. @close="handleEditDialogClose"
  162. :visible.sync="addEditEmailList"
  163. style="font-size: 0px;">
  164. <div class="tou">更新备案邮箱--添加</div>
  165. <div class="line"></div>
  166. <el-form
  167. label-position="right"
  168. label-width="120px"
  169. :rules="ruleEmails"
  170. ref="ruleEmailForm"
  171. :model="formEditEmailList">
  172. <el-form-item label="企业名称" prop="companyName">
  173. <el-select v-model="formEditEmailList.companyName" @change="changeRowEditEmail" filterable placeholder="请选择企业名称" style="width: 100%">
  174. <el-option
  175. v-for="item in comPanyNumList"
  176. :key="item.companyName"
  177. :label="item.companyName"
  178. :value="item.companyName">
  179. </el-option>
  180. </el-select>
  181. </el-form-item>
  182. <el-form-item label="客户号" prop="customerName">
  183. <el-input v-model="formEditEmailList.customerName" placeholder="客户号" auto-complete="off" :disabled="true"></el-input>
  184. </el-form-item>
  185. <el-form-item label="企业编码" prop="companyNum">
  186. <el-input v-model="formEditEmailList.companyNum" placeholder="企业编码" auto-complete="off" :disabled="true" ></el-input>
  187. </el-form-item>
  188. <el-form-item label="邮箱" prop="invoiceMail">
  189. <el-input v-model="formEditEmailList.invoiceMail" auto-complete="off" placeholder="请输入邮箱"></el-input>
  190. </el-form-item>
  191. </el-form>
  192. <div slot="footer" class="dialog-footer">
  193. <el-button @click="addEditEmailList = false" type="info">取 消</el-button>
  194. <el-button type="primary" @click="editEmail('ruleEmailForm')">更 新</el-button>
  195. </div>
  196. </el-dialog>
  197. <el-dialog
  198. @close="handleEditDialogClose"
  199. :visible.sync="operatorEvidence"
  200. style="font-size: 0px;">
  201. <div class="tou">经办人-证明附件</div>
  202. <div class="line"></div>
  203. <el-form
  204. label-position="right"
  205. label-width="80px"
  206. :model="formUserList">
  207. <el-row :span="24">
  208. <el-col :span="12" v-show= false>
  209. <el-form-item label-width=120px label="证明文件名">
  210. <el-input v-model="formOperatorList.operatorEvidenceContractFileName" auto-complete="off" :disabled=disable ></el-input>
  211. </el-form-item>
  212. </el-col>
  213. <el-col :span="12" v-show= true>
  214. <el-form-item label-width=120px label="证明文件" prop="operatorEvidenceContractFileName">
  215. <el-upload
  216. class="avatar-uploader"
  217. style="width: 100%"
  218. action="#"
  219. :show-file-list="false"
  220. :http-request="httpRequestPre">
  221. <el-input label-width=120px v-model="formOperatorList.operatorEvidenceContractFileName" auto-complete="off" style="width: 100%"></el-input>
  222. <!-- <el-button type="primary" @click="getFile(index)">选取文件</el-button> -->
  223. </el-upload>
  224. <el-input label-width=120px v-model="formOperatorList.operatorEvidenceBase64Str" v-show="false" auto-complete="off"></el-input>
  225. </el-form-item>
  226. </el-col>
  227. </el-row>
  228. </el-form>
  229. <div slot="footer" class="dialog-footer">
  230. <el-button @click="operatorEvidenceAdd" type="primary">证明文件上传</el-button>
  231. </div>
  232. </el-dialog>
  233. </div>
  234. </template>
  235. <script type="text/javascript">
  236. import axios from 'axios'
  237. import FileSaver from 'file-saver'
  238. import XLSX from 'xlsx'
  239. export default{
  240. data() {
  241. return {
  242. loading: true,
  243. rules: {
  244. companyName: [
  245. { required: true, message: `请输入企业名称`, trigger: `blur` }
  246. ],
  247. operatorName: [
  248. { required: true, message: `请输入经办人姓名`, trigger: `blur` },
  249. { min: 2, max: 15, message: `长度在 2 到 15 个字符`, trigger: `blur` }
  250. ],
  251. operatorMobile: [
  252. { required: true, message: `请输入经办人手机号`, trigger: `blur` },
  253. { min: 11, max: 11, message: `长度在 11 个字符`, trigger: `blur` }
  254. ],
  255. contractFileName: [
  256. { required: true, message: `请输入协议文件`, trigger: `blur` }
  257. ]
  258. },
  259. ruleEmails: {
  260. companyName: [
  261. { required: true, message: `请输入企业名称`, trigger: `blur` }
  262. ],
  263. invoiceMail: [
  264. { required: true, message: `请输入公司邮箱`, trigger: `blur` }
  265. ]
  266. },
  267. companyName: ``,
  268. operatorName: ``,
  269. comPanyNumList: [],
  270. customerCompanytable: [],
  271. hightt: `0px`,
  272. formOperatorList: {
  273. 'custId': ``,
  274. 'companyName': ``,
  275. 'companyNum': ``,
  276. 'operatorName': ``,
  277. 'operatorMobile': ``,
  278. 'identificationId': ``,
  279. 'contractFileName': ``,
  280. 'base64Str': ``
  281. },
  282. formEditEmailList: {
  283. 'companyName': ``,
  284. 'companyNum': ``,
  285. 'customerName': ``,
  286. 'invoiceMail': ``
  287. },
  288. current: 1,
  289. pagesize: 8,
  290. // 总共有多少条数据
  291. total: 0,
  292. addOperatorList: false,
  293. addEditEmailList: false,
  294. operatorEvidence: false
  295. }
  296. },
  297. created() {
  298. this.heightt = tableHeight // eslint-disable-line
  299. this.loadCompanyNumList()
  300. this.loadData()
  301. },
  302. methods: {
  303. // 获取有效的企业编号列表
  304. async loadCompanyNumList() {
  305. const response = await this.$http.post(`customer/customeRecQueryList`)
  306. if (response.data.code == 0) {
  307. this.comPanyNumList = response.data.data
  308. }
  309. },
  310. httpRequestPre(data) {
  311. const isPFX = data.file.type == 'application/pdf';
  312. const isLt2M = data.file.size / 1024 / 1024 < 10;
  313. if (!isPFX) {
  314. this.$message.error('上传文件只能是pdf格式!');
  315. }else if (!isLt2M) {
  316. this.$message.error('上传文件大小不能超过 10MB!');
  317. } else {
  318. // 转base64
  319. this.getBase64Pre(data.file).then((resBase64) => {
  320. this.fileBase64 = resBase64.split(',')[1]//直接拿到base64信息
  321. this.formOperatorList.operatorEvidenceBase64Str = resBase64.split(',')[1];
  322. })
  323. this.$message.success('文件上传成功');
  324. }
  325. },
  326. getBase64Pre(file) {
  327. this.formOperatorList.operatorEvidenceContractFileName = file.name;
  328. this.$forceUpdate()
  329. return new Promise((resolve, reject) => {
  330. let reader = new FileReader();
  331. let fileResult = '';
  332. reader.readAsDataURL(file);
  333. reader.onload = function() {
  334. fileResult = reader.result;
  335. };
  336. reader.onerror = function(error) {
  337. reject(error);
  338. };
  339. reader.onloadend = function() {
  340. resolve(fileResult);
  341. };
  342. });
  343. },
  344. async operatorEvidenceAdd(){
  345. const response = await this.$http.post(`customerCompany/operatorEvidenceAdd`, this.formOperatorList);
  346. if(response.data.code == 0) {
  347. this.loadData();
  348. this.$message({
  349. type: 'success',
  350. message: '证明文件上传成功'
  351. });
  352. }else {
  353. this.$message({
  354. type: 'error',
  355. message: '证明文件上传失败:'+response.data.msg
  356. });
  357. }
  358. },
  359. httpRequest(data) {
  360. const isPFX = data.file.type == 'application/pdf';
  361. const isLt2M = data.file.size / 1024 / 1024 < 10;
  362. if (!isPFX) {
  363. this.$message.error('上传文件只能是pdf格式!');
  364. }else if (!isLt2M) {
  365. this.$message.error('上传文件大小不能超过 10MB!');
  366. } else {
  367. // 转base64
  368. this.getBase64(data.file).then((resBase64) => {
  369. this.fileBase64 = resBase64.split(',')[1]//直接拿到base64信息
  370. this.formOperatorList.base64Str = resBase64.split(',')[1];
  371. })
  372. this.$message.success('文件上传成功');
  373. }
  374. },
  375. getBase64(file) {
  376. this.formOperatorList.contractFileName = file.name;
  377. this.$forceUpdate()
  378. return new Promise((resolve, reject) => {
  379. let reader = new FileReader();
  380. let fileResult = '';
  381. reader.readAsDataURL(file);
  382. reader.onload = function() {
  383. fileResult = reader.result;
  384. };
  385. reader.onerror = function(error) {
  386. reject(error);
  387. };
  388. reader.onloadend = function() {
  389. resolve(fileResult);
  390. };
  391. });
  392. },
  393. changeRow() {
  394. //debugger
  395. // 根据选择的企业名称查找对应的对象,并获取企业编码值
  396. const selectedOption = this.comPanyNumList.find(function(item) {
  397. return item.companyName === this.formOperatorList.companyName;
  398. }.bind(this));
  399. if (selectedOption) {
  400. this.formOperatorList.companyNum = selectedOption.companyNum;
  401. this.formOperatorList.custId = selectedOption.customerName;
  402. // console.log(this.formOperatorList)
  403. } else {
  404. this.formOperatorList.companyNum = '';
  405. }
  406. },
  407. changeRowEditEmail() {
  408. // 根据选择的企业名称查找对应的对象,并获取企业编码值
  409. const selectedOption = this.comPanyNumList.find(function(item) {
  410. return item.companyName === this.formEditEmailList.companyName;
  411. }.bind(this));
  412. if (selectedOption) {
  413. this.formEditEmailList.companyNum = selectedOption.companyNum;
  414. this.formEditEmailList.customerName = selectedOption.customerName;
  415. } else {
  416. this.formEditEmailList.companyNum = '';
  417. }
  418. },
  419. firstLoadData() {
  420. this.current = 1
  421. this.pagesize = 8
  422. this.queryLook()
  423. },
  424. // 列表展示
  425. async loadData() {
  426. const formData = new FormData()
  427. formData.append(`current`, this.current)
  428. formData.append(`size`, this.pagesize)
  429. const response = await this.$http.post(`customerCompany/page`, formData)
  430. if (response.data.code == 0) {
  431. this.loading = false
  432. this.customerCompanytable = response.data.data.records
  433. this.total = response.data.data.total
  434. }
  435. },
  436. // 查询
  437. async queryLook() {
  438. const formData = new FormData()
  439. formData.append(`current`, this.current)
  440. formData.append(`size`, this.pagesize)
  441. formData.append(`companyName`, this.companyName)
  442. formData.append(`operatorName`, this.operatorName)
  443. const response = await this.$http.post(`customerCompany/page`, formData)
  444. if (response.data.code == 0) {
  445. this.loading = false
  446. this.customerCompanytable = response.data.data.records
  447. this.total = response.data.data.total
  448. }
  449. },
  450. // 新增用户
  451. addData(formName) {
  452. this.$refs[formName].validate(async(valid) => {
  453. if (valid) {
  454. const loading = this.$loading({
  455. lock: true,
  456. text: '保存中,请稍后...',
  457. spinner: 'el-icon-loading',
  458. background: 'rgba(0, 0, 0, 0.7)'
  459. });
  460. const response = await this.$http.post(`customerCompany/detailAdd`, this.formOperatorList)
  461. if (response.data.code == 0) {
  462. this.loadData()
  463. this.addOperatorList = false
  464. loading.close();
  465. this.$message({
  466. type: `success`,
  467. message: `添加成功`
  468. })
  469. } else {
  470. loading.close();
  471. this.$message({
  472. type: `error`,
  473. message: response.data.msg
  474. })
  475. }
  476. } else {
  477. this.$message.error(`请查看是否有选项未填写或填错项`)
  478. return false
  479. }
  480. })
  481. },
  482. // 修改邮箱
  483. editEmail(formName) {
  484. this.$refs[formName].validate(async(valid) => {
  485. if (valid) {
  486. const loading = this.$loading({
  487. lock: true,
  488. text: '保存中,请稍后...',
  489. spinner: 'el-icon-loading',
  490. background: 'rgba(0, 0, 0, 0.7)'
  491. });
  492. const response = await this.$http.post(`customer/customerRecEditMail`, this.formEditEmailList)
  493. if (response.data.code == 0) {
  494. this.loadData()
  495. this.addEditEmailList = false
  496. loading.close();
  497. this.$message({
  498. type: `success`,
  499. message: `更新成功`
  500. })
  501. } else {
  502. loading.close();
  503. this.$message({
  504. type: `error`,
  505. message: response.data.msg
  506. })
  507. }
  508. } else {
  509. this.$message.error(`请查看是否有选项未填写或填错项`)
  510. return false
  511. }
  512. })
  513. },
  514. // 证明材料
  515. async openChange(recoder) {
  516. this.operatorEvidence = true;
  517. const response = await this.$http.post(`customerCompany/noCarCompanyMangerQuery`, {'companyNum': recoder.companyNum, 'contractFileName': recoder.contractFileName});
  518. if (response.data.code == 0) {
  519. this.formOperatorList = response.data.data;
  520. // this.disable = !((this.formOperatorList.interType == 1) && (this.formOperatorList.recStatus == 2));
  521. }
  522. },
  523. // 清空表单数据
  524. handleEditDialogClose() {
  525. for (var key in this.formOperatorList) {
  526. this.formOperatorList[key] = ``
  527. };
  528. for (var key1 in this.formEditEmailList) {
  529. this.formEditEmailList[key1] = ``
  530. };
  531. this.operatorEvidence = false;
  532. this.current = 1
  533. this.pagesize = 8
  534. },
  535. // 分页方法
  536. handleSizeChange(val) {
  537. this.pagesize = val
  538. if (this.companyName != `` || this.operatorName != ``) {
  539. this.queryLook()
  540. } else {
  541. this.loadData()
  542. };
  543. },
  544. handleCurrentChange(val) {
  545. this.current = val
  546. if (this.companyName != `` || this.operatorName != ``) {
  547. this.queryLook()
  548. } else {
  549. this.loadData()
  550. };
  551. },
  552. // 导出表格所用
  553. async exportExcel() {
  554. const loading = this.$loading({
  555. lock: true,
  556. text: `系统正在努力接收中,过程大概需要几分钟的时间,请您耐心等待...`,
  557. spinner: `el-icon-loading`,
  558. background: `rgba(0, 0, 0, 0.7)`
  559. })
  560. let curr = this.current
  561. let pagesize1 = this.pagesize
  562. this.current = 1
  563. this.pagesize = this.total
  564. await this.loadData()
  565. // 设置当前日期
  566. let time = new Date()
  567. let year = time.getFullYear()
  568. let month = time.getMonth() + 1
  569. let day = time.getDate()
  570. let name = `企业经办人信息列表_` + year + `` + month + `` + day
  571. /* generate workbook object from table */
  572. // .table要导出的是哪一个表格
  573. var wb = XLSX.utils.table_to_book(document.querySelector(`.table`), { raw: true })
  574. /* get binary string as output */
  575. var wbout = XLSX.write(wb, {
  576. bookType: `xlsx`,
  577. bookSST: true,
  578. type: `array`
  579. })
  580. try {
  581. // name+'.xlsx'表示导出的excel表格名字
  582. FileSaver.saveAs(
  583. new Blob([wbout], { type: `application/octet-stream` }),
  584. name + `.xlsx`
  585. )
  586. } catch (e) {
  587. }
  588. this.current = curr
  589. this.pagesize = pagesize1
  590. this.loadData()
  591. loading.close()
  592. return wbout
  593. }
  594. }
  595. }
  596. </script>
  597. <style>
  598. .system-user {
  599. border: 1px solid #d9d9d9;
  600. border-radius: 10px;
  601. }
  602. .system-user .title {
  603. font-size: 5px;
  604. margin-bottom: 20px;
  605. }
  606. .system-user .top {
  607. padding-top: 20px;
  608. padding-left: 20px;
  609. }
  610. .system-user .text {
  611. display: inline-block;
  612. color: #000;
  613. font-size: 16px ;
  614. margin-left: 1%;
  615. }
  616. .system-user .input-demo {
  617. display: inline-block;
  618. width: 20%;
  619. margin-left: 1%;
  620. }
  621. .system-user .block {
  622. font-size: 5px;
  623. text-align: center;
  624. margin-top: 25px;
  625. margin-bottom: 25px;
  626. }
  627. .system-user .el-dialog {
  628. width: 60%;
  629. }
  630. .system-user .el-dialog__header, .el-dialog__body {
  631. padding: 0 20px;
  632. }
  633. .system-user .tou {
  634. font-size: 20px;
  635. height: 30px;
  636. line-height: 30px;
  637. padding-top: 15px;
  638. }
  639. .system-user .line {
  640. margin-top: 15px;
  641. margin-bottom: 15px;
  642. width: 100%;
  643. height: 2px;
  644. background-color: #d9d9d9;
  645. }
  646. .system-user .xinxi {
  647. text-align: center;
  648. margin: 15px auto;
  649. font-size: 18px;
  650. }
  651. </style>