PersonList.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <template>
  2. <div class="manage-root organize-manage person-list">
  3. <Header />
  4. <div class="manage-root-contain">
  5. <nav-menu class="manage-root-contain-left" :activeMenuIndex="activeMenuIndex"></nav-menu>
  6. <div class="manage-root-contain-right personnel-manage-right">
  7. <breadcrumb :breadcrumbList="breadcrumbList" class="breadcrumb-box"></breadcrumb>
  8. <div class="personal-inner" v-if="info">
  9. <div class="common-title-box">
  10. <h3>{{info.name}}<span class="total-number">共{{info.person_count_audited}}人</span></h3>
  11. <div class="btn-box">
  12. <el-button type="primary" size="small" @click="handleBatchImport">批量导入</el-button>
  13. </div>
  14. </div>
  15. <div class="tabs">
  16. <a :class="[tabsIndex===0?'active':'']" @click="handleChangeTabs(0)">人员列表</a>
  17. <a :class="[tabsIndex===1?'active':'']" @click="handleChangeTabs(1)">人员审核 {{info.person_count_wait_audit}}</a>
  18. </div>
  19. <div class="search">
  20. <div class="search-box">
  21. <div class="search-item">
  22. <label>搜索</label>
  23. <el-input
  24. placeholder="输入搜索内容"
  25. v-model="searchInput">
  26. <i slot="suffix" class="el-input__icon el-icon-search" @click="getList(1)" style="cursor: pointer;"></i>
  27. </el-input>
  28. </div>
  29. <div class="search-item">
  30. <label>权限</label>
  31. <el-select v-model="searchType" @change="getList(1)" placeholder="请选择">
  32. <el-option
  33. v-for="item in typeList"
  34. :key="item.account_type"
  35. :label="item.account_type_name"
  36. :value="item.account_type">
  37. </el-option>
  38. </el-select>
  39. </div>
  40. <div class="search-item" v-if="tabsIndex===0">
  41. <label>状态</label>
  42. <el-select v-model="searchStatus" @change="getList(1)" placeholder="请选择">
  43. <el-option
  44. v-for="item in searchStatusList"
  45. :key="item.value"
  46. :label="item.label"
  47. :value="item.value">
  48. </el-option>
  49. </el-select>
  50. </div>
  51. <div class="search-item" v-if="tabsIndex===1">
  52. <label>状态</label>
  53. <el-select v-model="searchAuditStatus" @change="getList(1)" placeholder="请选择">
  54. <el-option
  55. v-for="item in searchAuditStatusList"
  56. :key="item.value"
  57. :label="item.label"
  58. :value="item.value">
  59. </el-option>
  60. </el-select>
  61. </div>
  62. </div>
  63. <div class="search-right" v-if="tabsIndex===0">
  64. <el-button class="gray-btn" size="small" @click="handleUp('','up',multipleSelection)">开启选中用户</el-button>
  65. <el-button class="pink-btn" size="small" @click="handleUp('','down',multipleSelection)">停用选中用户</el-button>
  66. <el-button class="red-btn" size="small" @click="handleDelete('',multipleSelection)">删除选中用户</el-button>
  67. </div>
  68. <div class="search-right" v-if="tabsIndex===1">
  69. <el-button class="gray-btn" size="small" @click="handleAudit('','up',multipleSelection)">同意选中用户</el-button>
  70. <el-button class="pink-btn" size="small" @click="handleAudit('','down',multipleSelection)">拒绝选中用户</el-button>
  71. </div>
  72. </div>
  73. <template v-if="tabsIndex===0">
  74. <el-table
  75. class="search-table"
  76. :data="tableData"
  77. style="width: 100%"
  78. key="table"
  79. :max-height="tableHeight"
  80. @selection-change="handleSelectionChange">
  81. <el-table-column
  82. type="selection"
  83. width="40">
  84. </el-table-column>
  85. <el-table-column
  86. prop="name"
  87. label="用户名"
  88. sortable
  89. min-width="132"
  90. class-name="user-info">
  91. <template slot-scope="scope">
  92. <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" />
  93. <span class="name">{{scope.row.user_name}}</span>
  94. </template>
  95. </el-table-column>
  96. <el-table-column
  97. prop="real_name"
  98. label="真实姓名"
  99. width="103">
  100. </el-table-column>
  101. <el-table-column
  102. prop="sex_name"
  103. label="性别"
  104. width="56">
  105. </el-table-column>
  106. <el-table-column
  107. prop="type"
  108. label="权限"
  109. width="88" >
  110. <template slot-scope="scope">
  111. {{scope.row.is_manager==='true'?'管理员':'普通用户'}}
  112. </template>
  113. </el-table-column>
  114. <el-table-column
  115. prop="email"
  116. label="邮箱"
  117. sortable
  118. min-width="223">
  119. </el-table-column>
  120. <el-table-column
  121. prop="phone"
  122. label="手机号"
  123. sortable
  124. width="160">
  125. </el-table-column>
  126. <el-table-column
  127. prop="register_time"
  128. label="注册时间"
  129. sortable
  130. width="144">
  131. <template slot-scope="scope">
  132. {{scope.row.register_time?scope.row.register_time.substring(0,16):'-'}}
  133. </template>
  134. </el-table-column>
  135. <el-table-column
  136. prop="status"
  137. label="状态"
  138. width="116" >
  139. <template slot-scope="scope">
  140. <div class="status-box">
  141. <span :style="{background:statusList[scope.row.status].bg}"></span>
  142. <b :style="{color:statusList[scope.row.status].color}">{{statusList[scope.row.status].text}}</b>
  143. </div>
  144. </template>
  145. </el-table-column>
  146. <el-table-column
  147. fixed="right"
  148. label="操作"
  149. width="147">
  150. <template slot-scope="scope">
  151. <el-button
  152. @click.native.prevent="handleEdit(scope.row)"
  153. type="text"
  154. size="small"
  155. class="primary-btn">
  156. 编辑
  157. </el-button>
  158. <el-button
  159. @click.native.prevent="handleUp(scope.row, 'up')"
  160. type="text"
  161. size="small"
  162. class="primary-btn"
  163. v-if="scope.row.status===0">
  164. 开启
  165. </el-button>
  166. <el-button
  167. @click.native.prevent="handleUp(scope.row, 'down')"
  168. type="text"
  169. size="small"
  170. class="red-btn"
  171. v-else-if="scope.row.status===1">
  172. 停用
  173. </el-button>
  174. <el-button
  175. @click.native.prevent="handleDelete(scope.row)"
  176. type="text"
  177. size="small"
  178. class="red-btn"
  179. v-if="scope.row.status===0">
  180. 删除
  181. </el-button>
  182. </template>
  183. </el-table-column>
  184. </el-table>
  185. <el-pagination
  186. background
  187. @size-change="(val)=>handleSizeChange(val,'pageSize','pageNumber')"
  188. @current-change="(val)=>handleCurrentChange(val,'pageNumber')"
  189. :current-page="pageNumber"
  190. :page-sizes="[10, 20, 30, 40]"
  191. :page-size="pageSize"
  192. layout="total, prev, pager, next, sizes, jumper"
  193. :total="total_count">
  194. </el-pagination>
  195. </template>
  196. <template v-if="tabsIndex===1">
  197. <el-table
  198. class="search-table"
  199. :data="tableData"
  200. style="width: 100%"
  201. :max-height="tableHeight"
  202. key="auditTable"
  203. @selection-change="handleSelectionChange">
  204. <el-table-column
  205. type="selection"
  206. width="40">
  207. </el-table-column>
  208. <el-table-column
  209. prop="name"
  210. label="用户名"
  211. sortable
  212. min-width="132"
  213. class-name="user-info">
  214. <template slot-scope="scope">
  215. <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" />
  216. <span class="name">{{scope.row.user_name}}</span>
  217. </template>
  218. </el-table-column>
  219. <el-table-column
  220. prop="real_name"
  221. label="真实姓名"
  222. width="103">
  223. </el-table-column>
  224. <el-table-column
  225. prop="sex_name"
  226. label="性别"
  227. width="56">
  228. </el-table-column>
  229. <el-table-column
  230. prop="email"
  231. label="邮箱"
  232. sortable
  233. min-width="223">
  234. </el-table-column>
  235. <el-table-column
  236. prop="phone"
  237. label="手机号"
  238. sortable
  239. width="160">
  240. </el-table-column>
  241. <el-table-column
  242. prop="apply_time"
  243. label="申请时间"
  244. sortable
  245. width="144">
  246. <template slot-scope="scope">
  247. {{scope.row.apply_time?scope.row.apply_time.substring(0,16):'-'}}
  248. </template>
  249. </el-table-column>
  250. <el-table-column
  251. prop="audit_time"
  252. label="审核时间"
  253. sortable
  254. width="144">
  255. <template slot-scope="scope">
  256. {{scope.row.audit_time?scope.row.audit_time.substring(0,16):'-'}}
  257. </template>
  258. </el-table-column>
  259. <el-table-column
  260. prop="status"
  261. label="状态"
  262. width="116" >
  263. <template slot-scope="scope">
  264. <div class="status-box" v-if="auditStatusList[scope.row.audit_status]">
  265. <span :style="{background:auditStatusList[scope.row.audit_status].bg}"></span>
  266. <b :style="{color:auditStatusList[scope.row.audit_status].color}">{{auditStatusList[scope.row.audit_status].text}}</b>
  267. </div>
  268. </template>
  269. </el-table-column>
  270. <el-table-column
  271. fixed="right"
  272. label="操作"
  273. width="147">
  274. <template slot-scope="scope">
  275. <el-button
  276. @click.native.prevent="handleLook(scope.row)"
  277. type="text"
  278. size="small"
  279. class="primary-btn">
  280. 查看
  281. </el-button>
  282. <el-button
  283. @click.native.prevent="handleAudit(scope.row,'up')"
  284. type="text"
  285. size="small"
  286. class="primary-btn">
  287. 同意
  288. </el-button>
  289. <el-button
  290. @click.native.prevent="handleAudit(scope.row,'down')"
  291. type="text"
  292. size="small"
  293. class="red-btn"
  294. v-if="scope.row.audit_status===0">
  295. 拒绝
  296. </el-button>
  297. </template>
  298. </el-table-column>
  299. </el-table>
  300. <el-pagination
  301. background
  302. @size-change="(val)=>handleSizeChange(val,'pageSizes','pageNumbers')"
  303. @current-change="(val)=>handleCurrentChange(val,'pageNumbers')"
  304. :current-page="pageNumbers"
  305. :page-sizes="[10, 20, 30, 40]"
  306. :page-size="pageSizes"
  307. layout="total, prev, pager, next, sizes, jumper"
  308. :total="total_count">
  309. </el-pagination>
  310. </template>
  311. </div>
  312. </div>
  313. </div>
  314. <el-dialog
  315. :visible.sync="importFlag"
  316. :show-close="false"
  317. :close-on-click-modal="false"
  318. :modal-append-to-body="false"
  319. width="398px"
  320. class="login-dialog person-dialog"
  321. v-if="importFlag">
  322. <batch-import @closeDialog="closeDialog"></batch-import>
  323. </el-dialog>
  324. </div>
  325. </template>
  326. <script>
  327. //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  328. //例如:import 《组件名称》from ‘《组件路径》';
  329. import Header from "../../components/Header.vue";
  330. import NavMenu from "../../components/NavMenu.vue"
  331. import Breadcrumb from '../../components/Breadcrumb.vue';
  332. import BatchImport from './BatchImport.vue'
  333. import {
  334. provinceAndCityData
  335. } from "element-china-area-data";
  336. import { getLogin } from "@/api/ajax";
  337. export default {
  338. //import引入的组件需要注入到对象中才能使用
  339. components: { Header, NavMenu, Breadcrumb, BatchImport },
  340. props: {},
  341. data() {
  342. //这里存放数据
  343. return {
  344. provinceAndCityData,
  345. activeMenuIndex: "organize_manage",
  346. breadcrumbList:[
  347. {
  348. icon:'school-line',
  349. url:'',
  350. text:''
  351. },
  352. {
  353. icon:'',
  354. url:'',
  355. text:'机构管理'
  356. }
  357. ],
  358. searchInput: '',
  359. searchType: -1,
  360. searchStatus: -1,
  361. searchAuditStatus: -1,
  362. typeList:[
  363. {
  364. account_type:-1,
  365. account_type_name:'全部'
  366. },
  367. {
  368. account_type:1,
  369. account_type_name:'管理员'
  370. },
  371. {
  372. account_type:0,
  373. account_type_name:'普通用户'
  374. }
  375. ],
  376. searchAuditStatusList:[
  377. {
  378. value:-1,
  379. label:'全部'
  380. },
  381. {
  382. value:0,
  383. label:'待审核'
  384. },
  385. {
  386. value:2,
  387. label:'已拒绝'
  388. }
  389. ], // 审核状态列表
  390. searchStatusList:[
  391. {
  392. value:-1,
  393. label:'全部'
  394. },
  395. {
  396. value:1,
  397. label:'正常'
  398. },
  399. {
  400. value:0,
  401. label:'停用'
  402. }
  403. ],
  404. statusList:{
  405. 1:{
  406. text:'正常',
  407. bg:'#165DFF',
  408. color:''
  409. },
  410. 0:{
  411. text:'停用',
  412. bg:'#F53F3F',
  413. color:'#F53F3F'
  414. }
  415. },
  416. auditStatusList:{
  417. 0:{
  418. text:'待审核',
  419. bg:'#165DFF',
  420. color:''
  421. },
  422. 2:{
  423. text:'已拒绝',
  424. bg:'#F53F3F',
  425. color:'#F53F3F'
  426. }
  427. },
  428. tableData:[],
  429. pageSize: window.localStorage.getItem('pageSizec')?Number(window.localStorage.getItem('pageSize-people')):10,
  430. pageNumber: window.localStorage.getItem('pageNumber-people')?Number(window.localStorage.getItem('pageNumber-people')):1,
  431. tableHeight: "", // 表格高度
  432. orgName:'', // 机构名称
  433. id:this.$route.query.id?this.$route.query.id:'',
  434. multipleSelection:[],
  435. tabsIndex:0,
  436. pageSizes: window.localStorage.getItem('pageSize-check')?Number(window.localStorage.getItem('pageSize-check')):10,
  437. pageNumbers: window.localStorage.getItem('pageNumber-check')?Number(window.localStorage.getItem('pageNumber-check')):1,
  438. importFlag: false, // 批量导入flag
  439. info: null,
  440. total_count: 0
  441. }
  442. },
  443. //计算属性 类似于data概念
  444. computed: {
  445. },
  446. //监控data中数据变化
  447. watch: {},
  448. //方法集合
  449. methods: {
  450. // 查询列表
  451. getList(page){
  452. if(page){
  453. this.pageNumber = page
  454. }
  455. let MethodName = "/OrgServer/Manager/PageQuery/PageQueryPersonList";
  456. let data = {
  457. org_id: this.id,
  458. search_content:this.searchInput.trim(),
  459. role_type:this.searchType,
  460. status:this.tabsIndex===0?this.searchStatus:-1,
  461. audit_status:this.tabsIndex===1?this.searchAuditStatus:-1,
  462. page_capacity:this.tabsIndex===0?this.pageSize:this.pageSizes,
  463. cur_page:this.tabsIndex===0?this.pageNumber:this.pageNumbers,
  464. list_type: this.tabsIndex*1
  465. }
  466. getLogin(MethodName, data)
  467. .then((res) => {
  468. if(res.status===1){
  469. this.tableData = res.person_list
  470. this.total_count = res.total_count
  471. }
  472. })
  473. .catch(() => {
  474. this.loading = false
  475. });
  476. },
  477. // 创建机构或者编辑信息
  478. handleEdit(row){
  479. // 根据登录用户判断当前用户是不是超管 在table里加上disabled
  480. // 点击时记录页码和每页条数
  481. window.localStorage.setItem('pageSize',this.pageSize)
  482. window.localStorage.setItem('pageNumber',this.pageNumber)
  483. this.$router.push({
  484. path: "/editOrgPerson",
  485. query: {
  486. id: row?row.id:''
  487. },
  488. });
  489. },
  490. // 人员管理
  491. handleLook(row){
  492. window.localStorage.setItem('pageSize-check',this.pageSizes)
  493. window.localStorage.setItem('pageNumber-check',this.pageNumbers)
  494. this.$router.push({
  495. path: "/editOrgPerson",
  496. query: {
  497. id: row?row.id:'',
  498. page: 'personCheck'
  499. },
  500. });
  501. },
  502. // 停用 启用
  503. handleUp(row,type,arr) {
  504. if(!row&&arr.length===0){
  505. return false
  506. }
  507. let Mname = "/OrgServer/Manager/PersonManager/EnablePerson";
  508. let data = {
  509. id_list: arr?arr:[row.id]
  510. };
  511. if (type==='up') {
  512. // 下架状态
  513. data.is_enable = "true";
  514. } else if (type==='down') {
  515. data.is_enable = "false";
  516. }
  517. getLogin(Mname, data).then(res => {
  518. this.$message.success("操作成功");
  519. this.getList()
  520. });
  521. },
  522. // 通过 拒绝
  523. handleAudit(row,type,arr) {
  524. if(!row&&arr.length===0){
  525. return false
  526. }
  527. let Mname = "/OrgServer/Manager/PersonManager/AuditPerson";
  528. let data = {
  529. id_list: arr?arr:[row.id]
  530. };
  531. if (type==='up') {
  532. // 下架状态
  533. data.is_pass = "true";
  534. } else if (type==='down') {
  535. data.is_pass = "false";
  536. }
  537. getLogin(Mname, data).then(res => {
  538. this.$message.success("操作成功");
  539. this.getList()
  540. });
  541. },
  542. handleSizeChange(val,type,page) {
  543. this[type] = val
  544. this[page] = 1
  545. this.getList()
  546. },
  547. handleCurrentChange(val,type) {
  548. this[type] = val
  549. this.getList()
  550. },
  551. //计算table高度(动态设置table高度)
  552. getTableHeight() {
  553. let tableH = 434; //距离页面下方的高度
  554. let tableHeightDetil = window.innerHeight - tableH;
  555. if (tableHeightDetil <= 300) {
  556. this.tableHeight = 300;
  557. } else {
  558. this.tableHeight = window.innerHeight - tableH;
  559. }
  560. },
  561. // 删除
  562. handleDelete(row,arr){
  563. this.$confirm('确定删除吗?', '提示', {
  564. confirmButtonText: '确定',
  565. cancelButtonText: '取消',
  566. type: 'warning'
  567. }).then(() => {
  568. if(!row&&arr.length===0){
  569. return false
  570. }
  571. let Mname = "/OrgServer/Manager/PersonManager/DeletePerson";
  572. let data = {
  573. id_list: arr?arr:[row.id]
  574. };
  575. getLogin(Mname, data).then(res => {
  576. this.$message.success("删除成功");
  577. this.getList()
  578. });
  579. }).catch(() => {
  580. this.$message({
  581. type: 'info',
  582. message: '已取消删除'
  583. });
  584. });
  585. },
  586. // 复选框
  587. handleSelectionChange(val) {
  588. this.multipleSelection = []
  589. val.forEach(item => {
  590. this.multipleSelection.push(item.id)
  591. });
  592. },
  593. handleChangeTabs(value){
  594. this.tabsIndex = value
  595. this.pageNumber = 1
  596. this.getList()
  597. },
  598. // 批量导入
  599. handleBatchImport(){
  600. this.importFlag = true
  601. },
  602. // 关闭批量导入
  603. closeDialog(){
  604. this.importFlag = false
  605. this.getList()
  606. this.getInfo()
  607. },
  608. // 获取机构信息
  609. getInfo(){
  610. let MethodName = "/OrgServer/Manager/OrgManager/GetOrgTitleInfo";
  611. let data = {
  612. id: this.id,
  613. }
  614. getLogin(MethodName, data)
  615. .then((res) => {
  616. if(res.status===1){
  617. this.info = res
  618. let obj = {
  619. icon:'',
  620. url:'',
  621. text:res.name
  622. }
  623. this.breadcrumbList=[
  624. {
  625. icon:'school-line',
  626. url:'',
  627. text:''
  628. },
  629. {
  630. icon:'',
  631. url:'',
  632. text:'机构管理'
  633. }
  634. ]
  635. this.breadcrumbList.push(obj)
  636. }
  637. })
  638. .catch(() => {
  639. });
  640. },
  641. },
  642. //生命周期 - 创建完成(可以访问当前this实例)
  643. created() {
  644. this.getList()
  645. this.getTableHeight();
  646. if(this.id){
  647. this.getInfo()
  648. }else{
  649. this.breadcrumbList=[
  650. {
  651. icon:'school-line',
  652. url:'',
  653. text:''
  654. },
  655. {
  656. icon:'',
  657. url:'',
  658. text:'机构管理'
  659. }
  660. ]
  661. let obj = {
  662. icon:'',
  663. url:'',
  664. text:'青岛科技大学'
  665. }
  666. this.breadcrumbList.push(obj)
  667. }
  668. },
  669. //生命周期 - 挂载完成(可以访问DOM元素)
  670. mounted() {
  671. },
  672. //生命周期-创建之前
  673. beforeCreated() { },
  674. //生命周期-挂载之前
  675. beforeMount() { },
  676. //生命周期-更新之前
  677. beforUpdate() { },
  678. //生命周期-更新之后
  679. updated() { },
  680. //生命周期-销毁之前
  681. beforeDestory() { },
  682. //生命周期-销毁完成
  683. destoryed() { },
  684. //如果页面有keep-alive缓存功能,这个函数会触发
  685. activated() { }
  686. }
  687. </script>
  688. <style lang="scss" scoped>
  689. /* @import url(); 引入css类 */
  690. .total-number{
  691. color: #86909C;
  692. font-weight: 400;
  693. font-size: 14px;
  694. line-height: 22px;
  695. margin-left: 4px;
  696. }
  697. .tabs{
  698. display: flex;
  699. padding: 16px 0;
  700. a{
  701. font-size: 14px;
  702. line-height: 22px;
  703. color: #4E5969;
  704. border-radius: 100px;
  705. padding: 5px 16px;
  706. margin-right: 12px;
  707. &:hover{
  708. background: #F2F3F5;
  709. }
  710. &.active{
  711. background: #F2F3F5;
  712. font-weight: 500;
  713. color: #165DFF;
  714. }
  715. }
  716. }
  717. .search{
  718. display: flex;
  719. justify-content: space-between;
  720. align-items: flex-end;
  721. }
  722. .search-box{
  723. padding-top: 0;
  724. }
  725. .search-right{
  726. height: 34px;
  727. button{
  728. font-size: 14px;
  729. }
  730. .pink-btn{
  731. background: #FFECE8;
  732. color: #F53F3F;
  733. border-color: #FFECE8;
  734. &:hover{
  735. background: #fde0da;
  736. border-color: #fde0da;
  737. }
  738. &:focus{
  739. background: #f8cfc6;
  740. border-color: #f8cfc6;
  741. }
  742. }
  743. .red-btn{
  744. background: #F53F3F;
  745. color: #fff;
  746. border-color: #F53F3F;
  747. &:hover{
  748. background: #ed3b3b;
  749. }
  750. &:focus{
  751. background: #ec1111;
  752. }
  753. }
  754. }
  755. </style>
  756. <style lang="scss">
  757. .organize-manage{
  758. .el-cascader{
  759. width: 160px;
  760. height: 32px;
  761. line-height: 32px;
  762. .el-input{
  763. width: 100%;
  764. height: 32px;
  765. }
  766. }
  767. }
  768. .person-dialog{
  769. .el-dialog{
  770. border-radius: 8px;
  771. }
  772. }
  773. .person-list{
  774. .user-info{
  775. .cell{
  776. display: flex;
  777. align-items: center;
  778. .touxiang{
  779. width: 24px;
  780. height: 24px;
  781. border-radius: 50%;
  782. margin-right: 8px;
  783. }
  784. }
  785. }
  786. }
  787. </style>