questionnaire.vue 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <template>
  2. <div class="page">
  3. <div class="top adfacjb">
  4. <div class="t_l">
  5. <p>问卷调研</p>
  6. <p class="tip">创建和管理PERILL评估问卷</p>
  7. </div>
  8. <div class="t_r">
  9. <!-- <el-button type="primary" icon="el-icon-plus">发送问卷</el-button> -->
  10. </div>
  11. </div>
  12. <div class="query adfacjb">
  13. <el-select v-model="queryParams.questionnaireId" placeholder="问卷" style="width: calc(100% - 324px);" @change="getList" clearable>
  14. <el-option v-for="item in useAgentStore().questionnaireList" :key="item.id" :label="item.title" :value="item.id"/>
  15. </el-select>
  16. <el-select v-model="queryParams.status" placeholder="全部状态" style="width: 300px;" @change="getList" clearable>
  17. <el-option label="待发布" :value="-1"></el-option>
  18. <el-option label="进行中" :value="0"></el-option>
  19. <el-option label="已完成" :value="1"></el-option>
  20. </el-select>
  21. </div>
  22. <div class="list">
  23. <div class="l_item" v-for="(item, index) in dataList" :key="index">
  24. <div class="li_top adfacjb">
  25. <div class="lt_l">项目名称:{{ item.programName }}</div>
  26. <div class="lt_r adfac" v-if="item.status===-1">
  27. <div class="lr_pre adfac" @click="handleUpdate(item)">
  28. <img src="@/assets/images/agent/send_mini.png">
  29. <span>修改问卷</span>
  30. </div>
  31. <div class="lr_pre adfac" @click="handlePublish(item)">
  32. <img src="@/assets/images/agent/send_mini.png">
  33. <span>发布问卷</span>
  34. </div>
  35. <div class="lr_pre adfac" @click="handleDelete(item)">
  36. <img src="@/assets/images/agent/report_mini.png">
  37. <span>删除问卷</span>
  38. </div>
  39. <div class="lr_status dfb">待发布</div>
  40. </div>
  41. <div class="lt_r adfac" v-else>
  42. <div class="lr_pre adfac" v-hasPermi="['core:questionnaire:info']" @click="handleSchedule(item)">
  43. <img src="@/assets/images/agent/send_mini.png">
  44. <span>查看进度</span>
  45. </div>
  46. <div class="lr_pre adfac" v-hasPermi="['core:questionnaire:info']" @click="handleSchedule(item)">
  47. <img src="@/assets/images/agent/report_mini.png">
  48. <span>生成报告</span>
  49. </div>
  50. <div class="lr_status" :class="{'jxz':item.status===0,'ywc':item.status===1}">{{ item.status===0?'进行中':(item.status===1?'已完成':'未知') }}</div>
  51. </div>
  52. </div>
  53. <div class="li_team">公司名称:{{ item.enterpriseName }}</div>
  54. <div class="li_team">团队名称:{{ item.teamName }}</div>
  55. <div class="li_wj">问卷名称:{{ item.title }}</div>
  56. <div class="li_time_person adf">
  57. <div class="ltp">发布时间:{{ item.startTime }}</div>
  58. <div class="ltp">截止时间:{{ item.endTime }}</div>
  59. <div class="ltp">作答成员:<span>{{ item.finishNum||0 }}/{{item.userNum||0}}</span>完成</div>
  60. <div class="ltp">发送人:{{ item.creatorName }}</div>
  61. </div>
  62. <div class="li_jd">
  63. <div class="lj" :style="{'width':(item.finishNum/item.userNum*100)+'%'}"></div>
  64. </div>
  65. <div class="li_text adfacjb">
  66. <span>完成情况</span>
  67. <span>{{ item.userNum?((item.finishNum/item.userNum)*100).toFixed(0):0 }}%</span>
  68. </div>
  69. </div>
  70. <el-row style="display: flex;justify-content: center;">
  71. <el-pagination
  72. @size-change="handleSizeChange"
  73. @current-change="handleCurrentChange"
  74. :current-page="queryParams.page"
  75. :page-sizes="[2, 5, 10]"
  76. :page-size="2"
  77. layout="total, sizes, prev, pager, next, jumper"
  78. :total="total"
  79. v-show="total > 0">
  80. </el-pagination>
  81. </el-row>
  82. </div>
  83. <el-dialog width="40%" :visible.sync="show" title="修改问卷" @close="cancel">
  84. <div class="content">
  85. <div class="c_set">
  86. <div class="cs_title" style="margin-top: 0;">选择项目成员</div>
  87. <div class="cs_users adf">
  88. <div class="cu_l adfacjb">
  89. <img src="@/assets/images/agent/users_mini.png">
  90. <div class="cul_add" @click="handleAddUser">+ 添加</div>
  91. </div>
  92. <div class="cu_r adfac">
  93. <div class="cr_item adfacjb" v-for="(item,index) in params.persons" :key="index">
  94. <span>{{ item.name }}</span>
  95. <img src="@/assets/images/agent/remove_mini.png" @click="handleRemoveUser(item,index)">
  96. </div>
  97. </div>
  98. </div>
  99. <div class="cs_title">问卷回答设置</div>
  100. <div class="cs_zd adfac">
  101. <span>只允许作答</span>
  102. <el-input-number v-model="params.answerSetting" :min="1" controls-position="right" style="margin: 0 9px;"></el-input-number>
  103. <span>次</span>
  104. </div>
  105. <div class="cs_title">问卷作答时间设置</div>
  106. <div class="cs_time">
  107. <div class="ct_pre adfac">
  108. <span>开始时间</span>
  109. <el-date-picker v-model="params.startTime" type="datetime" placeholder="选择开始时间" style="width:311px;" @change="e=>handleChangeDatetime(e,'startTime')"></el-date-picker>
  110. </div>
  111. <div class="ct_pre adfac">
  112. <span>截止时间</span>
  113. <el-date-picker v-model="params.endTime" type="datetime" placeholder="选择截止时间" style="width:311px;" @change="e=>handleChangeDatetime(e,'endTime')"></el-date-picker>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="demo-drawer__footer" style="display: flex;justify-content: end;">
  119. <el-button :loading="buttonLoading" type="primary" @click="submitForm">确 认</el-button>
  120. <el-button @click="cancel" style="margin-right: 5%;">取 消</el-button>
  121. </div>
  122. </el-dialog>
  123. <el-dialog width="790px" :visible.sync="userShow" title="选择成员" @close="userShow=false">
  124. <div class="ed_coach adf">
  125. <div class="ec_l">
  126. <el-input placeholder="请输入成员名搜索" suffix-icon="el-icon-search" v-model="userName" style="width: 100%;"></el-input>
  127. <template v-if="!checkShow">
  128. <div class="ecl_gs">
  129. <div class="eg_title">按项目选</div>
  130. <div class="egt_item adfacjb" v-for="(item,index) in companyList" :key="index">
  131. <div class="ei_l adffc" style="cursor: pointer;">
  132. <div class="adfac">
  133. <span @click="handleChooseUser(item)">{{ item.programName }}</span>
  134. <span></span>
  135. </div>
  136. <div><span style="margin-left: 0;">{{ item.enterpriseName }}-{{ item.teamName }}</span></div>
  137. </div>
  138. <div class="ei_r" @click="handleChooseUser(item)">
  139. <span>成员</span>
  140. </div>
  141. </div>
  142. </div>
  143. </template>
  144. <template v-else>
  145. <div class="ecl_company">
  146. <i class="el-icon-arrow-left" @click="handleUserBack"></i>
  147. {{ companyName }}
  148. </div>
  149. <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange" style="margin-top: 33px;">全选</el-checkbox>
  150. <div class="ecl_cbs">
  151. <el-checkbox v-model="user.checked" v-for="(user,index) in userList" :key="index" @change="handleChangeUser" style="margin-top: 24px;display: block;">{{ user.name }}</el-checkbox>
  152. </div>
  153. </template>
  154. </div>
  155. <div class="ec_r">
  156. <div class="ecr_text">已选择({{ selectedUsers.length }}/<span>{{ userList.length }}</span>)</div>
  157. <div class="ecr_names">
  158. <div class="en_pre adfacjc" v-for="(item,index) in selectedUsers" :key="index">
  159. <span>{{ item.name }}</span>
  160. <img src="@/assets/images/agent/delete_mini.png" @click="handleDeleteUser(item,index)">
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. <div class="demo-drawer__footer" style="display: flex;justify-content: end;margin-top: 20px;">
  166. <el-button type="primary" @click="submitForm2">确 认</el-button>
  167. <el-button @click="cancel2" style="margin-right: 5%;">取 消</el-button>
  168. </div>
  169. </el-dialog>
  170. </div>
  171. </template>
  172. <script setup name="">
  173. import { ref, getCurrentInstance, onMounted } from 'vue'
  174. import {useAgentStore} from "@/store_v3/modules/agent";
  175. import {
  176. getTeamQuestionnaireList,
  177. deleteQuestionnaireOne,
  178. getQuestionnairePublishInfo,
  179. getProgramList,
  180. getCoachList,
  181. publishQuestionnaireConfirm,
  182. updateQuestionnairePublish
  183. } from "@/api/agent/index.js";
  184. const { proxy } = getCurrentInstance();
  185. useAgentStore().getQuestionnaireData();
  186. const queryParams = ref({
  187. page:1,
  188. limit:2,
  189. questionnaireId: '',
  190. status: '',
  191. })
  192. const total = ref(0)
  193. const dataList = ref([])
  194. const show = ref(false)
  195. const params = ref({
  196. questionnaireId:'',
  197. programId:'',
  198. teamId:'',
  199. userIds:[],
  200. persons:[],
  201. memberInfos:[],
  202. answerSetting:1,
  203. startTime:'',
  204. endTime:''
  205. })
  206. const userShow = ref(false)
  207. const checkShow = ref(false)
  208. const companyName = ref('')
  209. const userName = ref('')
  210. const companyList = ref([])
  211. const userList = ref([])
  212. const selectedUsers = ref([])
  213. const checkAll = ref(false)
  214. const isIndeterminate = ref(false)
  215. const buttonLoading = ref(false)
  216. const handleAddUser = () => {
  217. userShow.value = true
  218. getProgramList({page:1,limit:-1}).then(res=>{
  219. if(res.code !==0) return proxy.$message({type:'warning',message:res.msg});
  220. companyList.value = res.data.list.map(l=>{
  221. return {
  222. id:l.id,
  223. programName:l.programName,
  224. enterpriseName:l.enterpriseName,
  225. teamName:l.teamName,
  226. teamId:l.teamId
  227. }
  228. });
  229. })
  230. }
  231. const handleChangeDatetime = (e,key) => {
  232. params.value[key] = proxy.parseTime(new Date(e), '{yy}-{mm}-{dd} {hh}:{ii}:{ss}');
  233. }
  234. const handleRemoveUser = (item,index) => {
  235. params.value.persons.splice(index,1);
  236. params.value.userIds = params.value.persons.map(l=>l.id);
  237. }
  238. const handleChooseUser = (item) => {
  239. params.value.programId = item.id;
  240. params.value.teamId = item.teamId;
  241. getCoachList({teamId:item.teamId,page:1,limit:-1}).then(res=>{
  242. if(res.code!==0) return proxy.$message({type:'warning',message:res.msg});
  243. userList.value = res.data.list.map(l=>{
  244. return {id:l.id,name:l.realName,checked:false}
  245. })
  246. })
  247. checkShow.value = true
  248. companyName.value = item.programName
  249. }
  250. const handleUserBack = () => {
  251. checkShow.value = false
  252. companyName.value = ''
  253. }
  254. const handleCheckAllChange = (val) => {
  255. selectedUsers.value = val ? JSON.parse(JSON.stringify(userList.value)) : [];
  256. isIndeterminate.value = false;
  257. userList.value.forEach(item => item.checked = val)
  258. }
  259. const handleChangeUser = () => {
  260. let trues = userList.value.filter(item => item.checked).length;
  261. if(trues>0&&trues<userList.value.length) isIndeterminate.value = true;
  262. else isIndeterminate.value = false;
  263. if(trues===userList.value.length) checkAll.value = true;
  264. else checkAll.value = false;
  265. selectedUsers.value = userList.value.filter(item => item.checked);
  266. }
  267. const handleDeleteUser = (item,index) => {
  268. let i = userList.value.findIndex(c => c.id === item.id);
  269. if(i>-1) userList.value[i].checked = false;
  270. selectedUsers.value.splice(index,1);
  271. let trues = userList.value.filter(item => item.checked).length;
  272. if(trues>0&&trues<userList.value.length) isIndeterminate.value = true;
  273. else isIndeterminate.value = false;
  274. if(trues===userList.value.length) checkAll.value = true;
  275. else checkAll.value = false;
  276. }
  277. const submitForm2 = () => {
  278. if(selectedUsers.value.length===0) return proxy.$message.warning('请至少选择一位成员')
  279. params.value.persons = JSON.parse(JSON.stringify(selectedUsers.value));
  280. params.value.userIds = params.value.persons.map(l=>l.id);
  281. checkAll.value = false;
  282. isIndeterminate.value = false;
  283. selectedUsers.value = [];
  284. userList.value = [];
  285. checkShow.value = false;
  286. userShow.value = false;
  287. }
  288. const cancel2 = () => {
  289. userShow.value = false;
  290. }
  291. const cancel = () => {
  292. show.value = false;
  293. }
  294. const submitForm = () => {
  295. if(buttonLoading.value) return
  296. buttonLoading.value = true;
  297. if(params.value.userIds.length === 0){
  298. proxy.$message({type:'warning',message:'请选择项目成员'});
  299. buttonLoading.value = false;
  300. return;
  301. }
  302. if(!params.value.startTime || !params.value.endTime){
  303. proxy.$message({type:'warning',message:'请设置问卷作答时间'});
  304. buttonLoading.value = false;
  305. return;
  306. }
  307. params.value.memberInfos = params.value.persons.map(l=>{
  308. return {
  309. userId:l.id,
  310. realName:l.name
  311. }
  312. })
  313. let { persons ,userIds ,...paras } = params.value;
  314. let data = {...paras};
  315. updateQuestionnairePublish(data).then(res=>{
  316. if(res.code!==0) return proxy.$message.error(res.msg)
  317. proxy.$message.success('修改成功')
  318. }).finally(()=>{buttonLoading.value = false;show.value = false;})
  319. }
  320. const handleUpdate = row => {
  321. getQuestionnairePublishInfo(row.id).then(res=>{
  322. if(res.code!==0) return proxy.$message({type:'warning',message:res.msg});
  323. params.value = {...res.data,persons:[],userIds:[]}
  324. params.value.persons = res.data.memberInfos.map(m=>({id:m.userId,name:m.realName}));
  325. params.value.userIds = res.data.memberInfos.map(m=>m.userId);
  326. show.value = true;
  327. })
  328. }
  329. const handlePublish = async row => {
  330. await proxy.$modal.confirm('是否确认发布该问卷?', '提示', {})
  331. let res = await publishQuestionnaireConfirm(row.id).finally(()=>{})
  332. if(res.code!==0) return proxy.$message.error(res.msg)
  333. proxy.$message.success('发布成功')
  334. getList()
  335. }
  336. const handleDelete = row => {
  337. proxy.$confirm('是否确认删除该问卷?', '警告', {
  338. confirmButtonText: '确定',
  339. cancelButtonText: '取消',
  340. type: 'warning'
  341. }).then(async () => {
  342. let res = await deleteQuestionnaireOne(row.id)
  343. if(res.code!==0) return proxy.$message.error(res.msg)
  344. proxy.$message.success('删除成功')
  345. return
  346. }).then(()=>{
  347. getList()
  348. })
  349. }
  350. const handleSchedule = (item) => {
  351. proxy.$router.push({
  352. path: '/agentQuestionnaireSchedule',
  353. query:{
  354. id: item.id,
  355. questionnaireName: item.title,
  356. enterpriseName: item.enterpriseName,
  357. programName: item.programName,
  358. teamName: item.teamName,
  359. startTime: item.startTime,
  360. endTime: item.endTime,
  361. userNum: item.userNum,
  362. finishNum: item.finishNum
  363. }
  364. })
  365. }
  366. const getList = () => {
  367. let query = {...queryParams.value};
  368. getTeamQuestionnaireList(query).then(res=>{
  369. if(res.code!==0) return proxy.$message.error(res.msg)
  370. dataList.value = res.data.list;
  371. total.value = res.data.total;
  372. })
  373. }
  374. const handleSizeChange = (e)=>{
  375. queryParams.value.limit = e;
  376. getList();
  377. }
  378. const handleCurrentChange = (e)=>{
  379. queryParams.value.page = e;
  380. getList();
  381. }
  382. onMounted(()=>{
  383. getList()
  384. })
  385. </script>
  386. <style scoped lang="scss">
  387. .page{
  388. padding: 28px 20px;
  389. background: #FAFAFA;
  390. .top{
  391. .t_l{
  392. p{
  393. font-family: PingFang-SC, PingFang-SC;
  394. font-weight: bold;
  395. font-size: 16px;
  396. color: #252525;
  397. line-height: 16px;
  398. &.tip{
  399. font-family: PingFangSC, PingFang SC;
  400. font-weight: 400;
  401. font-size: 14px;
  402. color: #6B7280;
  403. line-height: 14px;
  404. margin-top: 16px;
  405. }
  406. }
  407. }
  408. }
  409. .query{
  410. width: 100%;
  411. padding: 16px 20px;
  412. box-sizing: border-box;
  413. background: #FFFFFF;
  414. border-radius: 6px;
  415. border: 1px solid #F3F4F6;
  416. margin-top: 16px;
  417. }
  418. .list{
  419. width: 100%;
  420. height: calc(100vh - 196px);
  421. overflow-y: auto;
  422. margin-top: 4px;
  423. .l_item{
  424. width: 100%;
  425. padding: 20px 24px;
  426. box-sizing: border-box;
  427. margin-top: 16px;
  428. background: #FFFFFF;
  429. border-radius: 6px;
  430. border: 1px solid #F3F4F6;
  431. .li_top{
  432. .lt_l{
  433. font-family: PingFang-SC, PingFang-SC;
  434. font-weight: bold;
  435. font-size: 14px;
  436. color: #252525;
  437. line-height: 14px;
  438. overflow: hidden;
  439. text-overflow: ellipsis;
  440. white-space: nowrap;
  441. }
  442. .lt_r{
  443. .lr_pre{
  444. cursor: pointer;
  445. margin-right: 36px;
  446. img{
  447. width: 20px;
  448. height: 20px;
  449. }
  450. span{
  451. font-family: PingFangSC, PingFang SC;
  452. font-weight: 400;
  453. font-size: 14px;
  454. color: #6B7280;
  455. line-height: 20px;
  456. margin-left: 8px;
  457. }
  458. }
  459. .lr_status{
  460. width: 76px;
  461. height: 24px;
  462. border-radius: 12px;
  463. font-family: PingFangSC, PingFang SC;
  464. font-weight: 400;
  465. font-size: 14px;
  466. line-height: 24px;
  467. text-align: center;
  468. &.dfb{
  469. background: #e7e7e7;
  470. color: #414040;
  471. }
  472. &.jxz{
  473. background: #FCECB6;
  474. color: #864F10;
  475. }
  476. &.ywc{
  477. background: rgba(0,145,145,0.1);
  478. color: #009191;
  479. }
  480. }
  481. }
  482. }
  483. .li_team{
  484. font-family: PingFangSC, PingFang SC;
  485. font-weight: 400;
  486. font-size: 14px;
  487. color: #6B7280;
  488. line-height: 14px;
  489. margin-top: 16px;
  490. }
  491. .li_wj{
  492. font-family: PingFang-SC, PingFang-SC;
  493. font-weight: bold;
  494. font-size: 14px;
  495. color: #252525;
  496. line-height: 16px;
  497. margin-top: 24px;
  498. }
  499. .li_time_person{
  500. margin-top: 16px;
  501. .ltp{
  502. font-family: PingFangSC, PingFang SC;
  503. font-weight: 400;
  504. font-size: 14px;
  505. color: #6B7280;
  506. line-height: 14px;
  507. margin-right: 142px;
  508. span{
  509. font-weight: bold;
  510. font-size: 16px;
  511. color: #761E6A;
  512. }
  513. }
  514. }
  515. .li_jd{
  516. width: 100%;
  517. height: 8px;
  518. background: #F3F4F6;
  519. border-radius: 4px;
  520. position: relative;
  521. margin-top: 20px;
  522. .lj{
  523. height: 100%;
  524. background: linear-gradient( 270deg, #9D5F94 0%, #761E6A 100%);
  525. border-radius: 4px;
  526. position: absolute;
  527. left: 0;
  528. top: 0;
  529. }
  530. }
  531. .li_text{
  532. margin-top: 10px;
  533. span{
  534. font-family: PingFangSC, PingFang SC;
  535. font-weight: 400;
  536. font-size: 14px;
  537. color: #646464;
  538. line-height: 14px;
  539. }
  540. }
  541. }
  542. }
  543. }
  544. .content{
  545. .c_set{
  546. width: 100%;
  547. background: #FFFFFF;
  548. border-radius: 6px;
  549. margin-top: 8px;
  550. padding: 0 21px 28px 21px;
  551. box-sizing: border-box;
  552. .cs_title{
  553. font-family: PingFang-SC, PingFang-SC;
  554. font-weight: bold;
  555. font-size: 14px;
  556. color: #252525;
  557. line-height: 20px;
  558. margin-top: 30px;
  559. }
  560. .cs_users{
  561. width: 100%;
  562. height: 36px;
  563. border-radius: 6px;
  564. border: 1px solid #E5E7EB;
  565. margin-top: 20px;
  566. padding: 7px 12px;
  567. box-sizing: border-box;
  568. .cu_l{
  569. width: 104px;
  570. padding-right: 15px;
  571. box-sizing: border-box;
  572. &>img{
  573. width: 18px;
  574. height: 18px;
  575. margin-top: -5px;
  576. }
  577. .cul_add{
  578. width: 54px;
  579. height: 24px;
  580. border-radius: 4px;
  581. border: 1px solid #761E6A;
  582. font-family: PingFangSC, PingFang SC;
  583. font-weight: 400;
  584. font-size: 12px;
  585. color: #761E6A;
  586. line-height: 22px;
  587. text-align: center;
  588. margin-top: -2px;
  589. cursor: pointer;
  590. }
  591. }
  592. .cu_r{
  593. width: calc(100% - 104px);
  594. margin-left: -16px;
  595. .cr_item{
  596. padding: 4px 10px;
  597. background: #F9FAFB;
  598. border-radius: 6px;
  599. margin-left: 16px;
  600. span{
  601. font-family: PingFangSC, PingFang SC;
  602. font-weight: 400;
  603. font-size: 14px;
  604. color: #252525;
  605. line-height: 14px;
  606. }
  607. img{
  608. width: 16px;
  609. height: 16px;
  610. margin-left: 10px;
  611. cursor: pointer;
  612. }
  613. }
  614. }
  615. }
  616. .cs_zd{
  617. margin-top: 12px;
  618. span{
  619. font-family: PingFangSC, PingFang SC;
  620. font-weight: 400;
  621. font-size: 14px;
  622. color: #6B7280;
  623. line-height: 20px;
  624. }
  625. }
  626. .cs_time{
  627. margin-top: 6px;
  628. .ct_pre{
  629. margin-top: 30px;
  630. span{
  631. font-family: PingFangSC, PingFang SC;
  632. font-weight: 400;
  633. font-size: 14px;
  634. color: #6B7280;
  635. line-height: 20px;
  636. margin-right: 23px;
  637. }
  638. }
  639. }
  640. .cs_btn{
  641. margin-top: 70px;
  642. padding-left: 79px;
  643. }
  644. }
  645. }
  646. .ed_coach{
  647. margin-top: -20px;
  648. .ec_l{
  649. width: calc(50% - 1px);
  650. height: 100%;
  651. padding-right: 30px;
  652. box-sizing: border-box;
  653. border-right: 1px solid #ECEEF5;
  654. .ecl_gs{
  655. margin-top: 19px;
  656. .eg_title{
  657. font-family: PingFangSC, PingFang SC;
  658. font-weight: 400;
  659. font-size: 14px;
  660. color: #6B7280;
  661. line-height: 20px;
  662. }
  663. .egt_item{
  664. margin-top: 24px;
  665. .ei_l{
  666. span{
  667. font-family: PingFang-SC, PingFang-SC;
  668. font-weight: bold;
  669. font-size: 14px;
  670. color: #252525;
  671. line-height: 20px;
  672. &:last-child{
  673. font-weight: 400;
  674. color: #6B7280;
  675. margin-left: 20px;
  676. }
  677. }
  678. }
  679. .ei_r{
  680. span{
  681. font-family: PingFangSC, PingFang SC;
  682. font-weight: 400;
  683. font-size: 14px;
  684. color: #761E6A;
  685. line-height: 20px;
  686. position: relative;
  687. padding-left: 8px;
  688. cursor: pointer;
  689. &::before{
  690. content: '';
  691. width: 1px;
  692. height: 16px;
  693. background: #DDE0E6;
  694. position: absolute;
  695. left: 0;
  696. top: 50%;
  697. margin-top: -8px;
  698. }
  699. }
  700. }
  701. }
  702. }
  703. .ecl_company{
  704. margin-top: 19px;
  705. position: relative;
  706. font-family: PingFang-SC, PingFang-SC;
  707. font-weight: bold;
  708. font-size: 14px;
  709. color: #252525;
  710. line-height: 20px;
  711. text-align: center;
  712. i{
  713. position: absolute;
  714. left: 0;
  715. font-size: 14px;
  716. color: #252525;
  717. cursor: pointer;
  718. }
  719. }
  720. .ecl_cbs{
  721. width: 100%;
  722. // height: calc(100% - 143px);
  723. max-height: 376px;
  724. overflow-y: auto;
  725. }
  726. }
  727. .ec_r{
  728. width: 50%;
  729. padding-left: 30px;
  730. box-sizing: border-box;
  731. .ecr_text{
  732. font-family: PingFang-SC, PingFang-SC;
  733. font-weight: bold;
  734. font-size: 16px;
  735. color: #252525;
  736. line-height: 22px;
  737. span{
  738. color: #B9B9B9;
  739. }
  740. }
  741. .ecr_names{
  742. margin-left: -16px;
  743. overflow: hidden;
  744. .en_pre{
  745. float: left;
  746. padding: 10px;
  747. background: #F9FAFB;
  748. border-radius: 6px;
  749. margin: 19px 0 0 16px;
  750. span{
  751. font-family: PingFangSC, PingFang SC;
  752. font-weight: 400;
  753. font-size: 14px;
  754. color: #252525;
  755. line-height: 14px;
  756. }
  757. img{
  758. width: 16px;
  759. height: 16px;
  760. margin-left: 10px;
  761. cursor: pointer;
  762. }
  763. }
  764. }
  765. }
  766. }
  767. </style>