teamResetSound.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. <template>
  2. <div>
  3. <div class="listWrap">
  4. <el-table :data='activeSoundList'
  5. ref="multipleTable"
  6. @selection-change="handleSelectionChange"
  7. :header-cell-style="{background:'#EDEEF0',color:'#444'}"
  8. highlight-current-row>
  9. <el-table-column type="selection"
  10. width="55">
  11. </el-table-column>
  12. <el-table-column label="声部"
  13. width="150"
  14. prop="sound">
  15. </el-table-column>
  16. <el-table-column label="课程费用"
  17. width="150"
  18. prop="yuji">
  19. <template slot-scope="scope">
  20. <div>
  21. <el-input type="number"
  22. @mousewheel.native.prevent
  23. v-model="scope.row.yuji"></el-input>
  24. </div>
  25. </template>
  26. </el-table-column>
  27. <el-table-column label="声部学员">
  28. <template slot-scope="scope">
  29. <div>
  30. <el-button type="text"
  31. @click="resetStudent(scope.row)">添加</el-button>
  32. <!-- <el-button type="text">删除</el-button> -->
  33. </div>
  34. </template>
  35. </el-table-column>
  36. </el-table>
  37. <div class="floor">
  38. <div class="remove"
  39. @click="removeListItem">删除</div>
  40. <div class='add'
  41. @click="addListItem">添加</div>
  42. </div>
  43. </div>
  44. <el-dialog title="声部选择"
  45. :visible.sync="dialogTableVisible"
  46. :modal-append-to-body="false">
  47. <div class="soundWrap">
  48. <div class="itemList">
  49. <div class="categroy"
  50. v-for="(item,index) in soundList"
  51. :key="index">
  52. <p>{{item.name }}</p>
  53. <el-checkbox-group v-model="soundLists[index]"
  54. @change='changeList'>
  55. <!-- sound: this.activeSoundList[item].name, // id
  56. jihua: '10', //计划招生人数
  57. yuji: '10', // 预计收费
  58. zhonglei: [], // 可选乐器种类
  59. fangshi: 2, // 乐器提供方式
  60. jiaopu: 'jiaopu1', // 教辅组合
  61. type: 1, // 操作
  62. id: this.activeSoundList[item].id, //声部id
  63. visible: false, // 当前乐器提供方式的pop提示框显示隐藏 -->
  64. <el-checkbox :label="sound.id"
  65. @change="checkinlist({'id':sound.id,'sound':sound.name,'yuji':0,studentList:[]})"
  66. v-for="(sound,indexs) in item.subjects"
  67. :key="indexs">{{sound.name }}</el-checkbox>
  68. </el-checkbox-group>
  69. </div>
  70. </div>
  71. </div>
  72. <p class='soundSubP'>当前选择声部数:{{chioseSoundNum}}</p>
  73. <div class="btnWraps">
  74. <div class="dialogBtn"
  75. @click="generates">确定</div>
  76. </div>
  77. </el-dialog>
  78. <el-dialog title="学员选择"
  79. width="800px"
  80. :visible.sync="studentVisible"
  81. :modal-append-to-body="false">
  82. <div class="studentMask">
  83. <div class="left">
  84. <h4>当前已选学员</h4>
  85. <div class="chioseStudentList">
  86. <div class="studentItem"
  87. v-for="(item,index) in activeListStudent"
  88. :key="index">
  89. {{ item.name }}
  90. <el-button type="text"
  91. @click="removeStudent(item)">删除</el-button>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="right">
  96. <el-select v-model="activeTeam"
  97. filterable
  98. style="width:180px"
  99. clearable
  100. @change="chioseTeam"
  101. placeholder="乐团选择">
  102. <el-option v-for='(item,index) in teamList'
  103. :key="index"
  104. :label="item.name"
  105. :value="item.id"></el-option>
  106. </el-select>
  107. <!-- multiple
  108. collapse-tags -->
  109. <el-select v-model="activeChioseSound"
  110. style="width:180px"
  111. :disabled="!activeTeam"
  112. filterable
  113. clearable
  114. placeholder="声部选择">
  115. <el-option v-for='(item,index) in chioseSoundList'
  116. :key='index'
  117. :label="item.name"
  118. :value="item.id"></el-option>
  119. </el-select>
  120. <el-button type="danger"
  121. style="margin-left:20px;"
  122. @click="searchStudent">搜索</el-button>
  123. <!-- 列表开始 -->
  124. <div class="tableList">
  125. <el-table tooltip-effect="dark"
  126. style="width: 100%; margin-top:10px;"
  127. :data='studentList'
  128. ref='studentList'
  129. @selection-change="SelectionStudent">
  130. <el-table-column type="selection"
  131. align='center'
  132. width="55">
  133. </el-table-column>
  134. <el-table-column prop="name"
  135. align='center'
  136. width="80"
  137. label="姓名">
  138. </el-table-column>
  139. <el-table-column prop="gender"
  140. align='center'
  141. width="55"
  142. label="性别">
  143. </el-table-column>
  144. <el-table-column prop="musicGroupName"
  145. align='center'
  146. label="所在乐团">
  147. </el-table-column>
  148. <el-table-column prop="soundName"
  149. align='center'
  150. label="学员声部">
  151. </el-table-column>
  152. </el-table>
  153. </div>
  154. </div>
  155. </div>
  156. <div slot="footer"
  157. class="dialog-footer">
  158. <el-button @click="studentVisible = false">取 消</el-button>
  159. <el-button type="primary"
  160. @click="studentVisible = false">确 定</el-button>
  161. </div>
  162. </el-dialog>
  163. <!-- @click="goback1" @click="submitInfo1" -->
  164. <div class="btnWrap">
  165. <div class="PrevBtn"
  166. @click="goback">上一步</div>
  167. <div class="submitBtn"
  168. @click="submitInfo">提交</div>
  169. </div>
  170. </div>
  171. </template>
  172. <script>
  173. import store from '@/store'
  174. import { getSubject, getDefaultSubject, getGoods, createTeam, getSoundTree, findSound, teamSoundStudent } from '@/api/buildTeam'
  175. export default {
  176. name: 'teamResetSound',
  177. props: ['getTeamList'],
  178. data () {
  179. return {
  180. dialogTableVisible: false,
  181. studentVisible: false,
  182. checkList: [],
  183. isLoop: '',
  184. activeSoundList: [],
  185. soundList: [],
  186. soundLists: [],
  187. changeList: [],
  188. multipleSelection: [], // 列表选择的集合 声部
  189. teamList: [], // 选择的乐团集合
  190. activeTeam: '', // 选中的乐团
  191. chioseSoundList: [],//根据选中的乐团id获取的声部集合
  192. activeChioseSound: '', // 选中声部的集合
  193. studentList: [], // 选择列表中的学生 展示中的列表
  194. activeListStudent: [], // 列表中选中的学生,
  195. allActiveStudent: [], // 所有选中的学生 全局
  196. activeSoundId: '', //
  197. Fsearch: null,
  198. Frules: null
  199. }
  200. },
  201. created () {
  202. this.init();
  203. },
  204. activated () {
  205. this.init();
  206. },
  207. mounted () {
  208. },
  209. methods: {
  210. init () {
  211. // 判断是否带缓存参数
  212. if (this.$route.query.search) {
  213. this.Fsearch = this.$route.query.search;
  214. }
  215. if (this.$route.query.rules) {
  216. this.Frules = this.$route.query.rules
  217. }
  218. this.teamList = this.getTeamList;
  219. this.payfor = this.$store.getters.payList;
  220. getSoundTree().then(res => {
  221. if (res.code == 200) {
  222. this.soundList = res.data.rows;
  223. // // 生成动态的checkList
  224. for (let key in this.soundList) {
  225. this.$set(this.soundLists, key, [])
  226. }
  227. }
  228. })
  229. this.payfor = this.$store.getters.payList;
  230. this.topfor = this.$store.getters.topinfo;
  231. this.checkfor = this.$store.getters.checkinfo;
  232. let type = this.topfor.type;
  233. },
  234. // 删除声部
  235. removeListItem () {
  236. this.$confirm(`是否删除该声部?`, '提示', {
  237. confirmButtonText: '确定',
  238. cancelButtonText: '取消',
  239. type: 'warning'
  240. }).then(() => {
  241. // 先获取选择的声部 从全局把 this.allActiveStudent
  242. for (let i = 0; i < this.activeSoundList.length; i++) {
  243. for (let j = 0; j < this.multipleSelection.length; j++) {
  244. if (this.activeSoundList[i].id == this.multipleSelection[j].id) {
  245. // 在这里把(this.activeSoundList[i]的学生释放出来
  246. // console.log(this.activeSoundList[i].studentList)
  247. for (let x in this.allActiveStudent) {
  248. for (let y in this.activeSoundList[i].studentList) {
  249. if (this.allActiveStudent[x].userId == this.activeSoundList[i].studentList[y].userId) {
  250. this.allActiveStudent.splice(x, 1);
  251. }
  252. }
  253. }
  254. console.log('删除');
  255. this.activeSoundList.splice(i, 1);
  256. // 遍历循环所有的group 删除所选id
  257. for (let key in this.soundLists) {
  258. if (this.soundLists[key].indexOf(this.multipleSelection[j].id) != -1) {
  259. // console.log(this.soundLists[key], this.multipleSelection[j].id, this.soundLists[key].indexOf(this.multipleSelection[j].id));
  260. this.soundLists[key].splice(this.soundLists[key].indexOf(this.multipleSelection[j].id), 1)
  261. }
  262. }
  263. }
  264. }
  265. }
  266. }).catch(() => { })
  267. },
  268. addListItem () {
  269. this.dialogTableVisible = true;
  270. },
  271. // 点击确认按钮生成表单
  272. generates () {
  273. this.dialogTableVisible = false;
  274. },
  275. checkinlist (obj) {
  276. let flag = false;
  277. this.activeSoundList.map(item => {
  278. if (item.id == obj.id) {
  279. flag = true
  280. }
  281. })
  282. if (!flag) {
  283. this.activeSoundList.push(obj)
  284. } else {
  285. for (let i = 0; i < this.activeSoundList.length; i++) {
  286. if (this.activeSoundList[i].id == obj.id) {
  287. this.activeSoundList.splice(i, 1);
  288. }
  289. }
  290. }
  291. },
  292. handleSelectionChange (e) {
  293. console.log(e);
  294. // 点击改变勾选
  295. this.multipleSelection = e;
  296. },
  297. // 点击添加学生
  298. resetStudent (row) {
  299. // 乐团id 声部id
  300. this.studentVisible = true;
  301. this.activeSoundId = row.id;
  302. for (let i in this.activeSoundList) {
  303. if (this.activeSoundList[i].id == row.id) {
  304. this.activeListStudent = this.activeSoundList[i].studentList;
  305. }
  306. }
  307. },
  308. chioseTeam () {
  309. // console.log(this.activeTeam)
  310. // 发请求 获取乐团下的所有声部
  311. findSound({ musicGroupId: this.activeTeam }).then(res => {
  312. if (res.code == 200) {
  313. this.chioseSoundList = res.data;
  314. }
  315. })
  316. },
  317. searchStudent () {
  318. // activeTeam activeChioseSound
  319. if (!this.activeTeam || !this.activeChioseSound) {
  320. this.$message.error('请先选择乐团以及声部进行搜索')
  321. return;
  322. }
  323. console.log('开始搜素学生')
  324. // activeSoundId 这个id里面的 studentList
  325. // 在这里要同步当前已选学员的的状态=> chioseStudentList里赋值
  326. // 筛选学生1
  327. for (let i in this.activeSoundList) {
  328. if (this.activeSoundList[i].id == this.activeSoundId) {
  329. // console.log(this.activeSoundList[i].id);
  330. // console.log(this.activeSoundList[i].studentList);
  331. this.activeListStudent = this.activeSoundList[i].studentList;
  332. }
  333. }
  334. teamSoundStudent({ musicGroupId: this.activeTeam, actualSubjectId: this.activeChioseSound }).then(res => {
  335. if (res.code == 200) {
  336. this.studentList = res.data.map(item => {
  337. let teamName;
  338. let soundName;
  339. this.teamList.map(team => {
  340. if (team.id == this.activeTeam) {
  341. teamName = team.name
  342. }
  343. })
  344. item.soundName = this.chioseSoundList.map(sound => {
  345. if (sound.id == this.activeChioseSound) {
  346. soundName = sound.name
  347. }
  348. })
  349. item.soundName = soundName;
  350. item.musicGroupName = teamName;
  351. return item;
  352. });
  353. // console.log(this.studentList)
  354. // 若学生在全局中被选中 则下次更新列表的时候不显示该学生
  355. for (let i in this.studentList) {
  356. for (let j in this.allActiveStudent) {
  357. if (this.allActiveStudent[j].id == this.studentList[i].id) {
  358. this.studentList.splice(i, 1);
  359. }
  360. }
  361. }
  362. }
  363. })
  364. },
  365. SelectionStudent (e) {
  366. // 先找到外面是哪一行的
  367. for (let i in this.activeSoundList) {
  368. if (this.activeSoundList[i].id == this.activeSoundId) {
  369. if (this.activeSoundList[i].studentList.length > 0) {
  370. this.activeSoundList[i].studentList = this.activeSoundList[i].studentList.concat(e);
  371. } else {
  372. this.activeSoundList[i].studentList = e;
  373. }
  374. // 去重
  375. let result = this.objArrayRemoval(this.activeSoundList[i].studentList, 'id')
  376. // console.log(result);
  377. // 不对
  378. this.activeSoundList[i].studentList = result;
  379. this.activeListStudent = result;
  380. // // 添加全局
  381. if (this.allActiveStudent.length <= 0) {
  382. // console.log('第一次添加数据')
  383. this.allActiveStudent = result;
  384. } else {
  385. this.allActiveStudent = this.allActiveStudent.concat(result);
  386. }
  387. this.allActiveStudent = this.objArrayRemoval(this.allActiveStudent, 'id');
  388. }
  389. }
  390. },
  391. // 点击删除按钮 重学生集合里删除
  392. removeStudent (item) {
  393. // 删除全局
  394. for (let i in this.allActiveStudent) {
  395. if (this.allActiveStudent[i].id == item.id) {
  396. this.allActiveStudent.splice(i, 1);
  397. }
  398. }
  399. // 删除当前
  400. for (let i in this.activeSoundList) {
  401. if (this.activeSoundList[i].id == this.activeSoundId) {
  402. for (let j in this.activeSoundList[i].studentList) {
  403. if (item.id == this.activeSoundList[i].studentList[j].id) {
  404. this.activeSoundList[i].studentList.splice(j, 1);
  405. // 这里做判断 this.studentList 里有没有这个学生(没有)=>判断学生的声部是不是和当前搜索的声部一样 添加
  406. // 有.. 则取消勾选
  407. let flag = false;
  408. for (let x in this.studentList) {
  409. if (this.studentList[x].id == item.id) {
  410. flag = true;
  411. }
  412. }
  413. if (flag) {
  414. // 表里有这个学生
  415. this.toggleSelection(item, this.studentList);
  416. } else {
  417. if (item.actualSubjectId == this.activeChioseSound) {
  418. this.studentList.unshift(item)
  419. }
  420. }
  421. this.activeListStudent = this.activeSoundList[i].studentList;
  422. }
  423. }
  424. }
  425. }
  426. },
  427. toggleSelection (item, table) {
  428. table.forEach(row => {
  429. if (row.id == item.id) {
  430. this.$refs['studentList'].toggleRowSelection(row, false);
  431. }
  432. })
  433. },
  434. // 对象数组去重
  435. objArrayRemoval (arr, attr) {
  436. let obj = {};
  437. let result = [];
  438. // console.log(this.allActiveStudent.length);
  439. for (let x in arr) {
  440. if (!obj[arr[x][attr]]) {
  441. result.push(arr[x]);
  442. obj[arr[x][attr]] = true;
  443. }
  444. }
  445. return result;
  446. },
  447. submitInfo () {
  448. let obj = {};
  449. this.payfor.student.chiose == 'loop' ? obj.months = this.payfor.chioseMonth : obj.months = [];
  450. obj.musicGroup = {
  451. status: 'DRAFT',
  452. settlementType: this.topfor.salary,
  453. applyExpireDate: this.topfor.time + ' 00:00:01',
  454. chargeTypeId: this.topfor.type,
  455. cooperationOrganId: this.topfor.school,
  456. teamTeacherId: this.topfor.boss,
  457. educationalTeacherId: this.topfor.teacher,
  458. enrollClasses: this.topfor.startClass.join(','),
  459. name: this.topfor.name,
  460. organId: this.topfor.section,
  461. // paymentMonths:obj.months 有待确认
  462. schoolId: this.topfor.address,
  463. courseForm: JSON.stringify(this.checkfor),
  464. ownershipType: this.topfor.ownershipType
  465. }
  466. obj.musicGroupPaymentEntities = []
  467. // 添加学校主体付费方式
  468. // console.log(this.payfor.company.ischeck)
  469. if (this.payfor.school.ischeck) {
  470. obj.musicGroupPaymentEntities.push({
  471. 'amount': this.payfor.school.price,
  472. 'memo': this.payfor.school.value,
  473. 'paymentMethod': this.payfor.school.chiose,
  474. 'name': '学校'
  475. })
  476. }
  477. // 添加公司主体付费方式
  478. if (this.payfor.company.ischeck) {
  479. obj.musicGroupPaymentEntities.push({
  480. 'amount': this.payfor.company.price,
  481. 'memo': this.payfor.company.value,
  482. 'paymentMethod': this.payfor.company.chiose,
  483. 'name': '公司'
  484. })
  485. }
  486. // 添加商品以及教辅
  487. // 添加声部
  488. obj.musicGroupSubjectPlans = [];
  489. if (this.activeSoundList.length <= 0) {
  490. this.$message.error('乐团至少有一个声部')
  491. return
  492. }
  493. for (let i in this.activeSoundList) {
  494. let item = {};
  495. // expectedStudentNum
  496. item.subName = this.activeSoundList[i].sound;
  497. item.subjectId = this.activeSoundList[i].id;
  498. item.fee = this.activeSoundList[i].yuji;
  499. obj.musicGroupSubjectPlans.push(item);
  500. }
  501. // 添加学员
  502. obj.subjectRegisters = [];
  503. for (let i in this.activeSoundList) {
  504. let item = {};
  505. // expectedStudentNum
  506. item.subjectId = this.activeSoundList[i].id;
  507. item.registerIdList = []
  508. if (this.activeSoundList[i].studentList.length <= 0) {
  509. this.$message.error(`${this.activeSoundList[i].sound}声部至少有一个学生`)
  510. return
  511. }
  512. for (let j in this.activeSoundList[i].studentList) {
  513. item.registerIdList.push(this.activeSoundList[i].studentList[j].id)
  514. }
  515. obj.subjectRegisters.push(item);
  516. }
  517. // 发请求修改
  518. createTeam(obj).then(res => {
  519. if (res.code == 200) {
  520. // 成功 跳转到筹备中
  521. let id = res.data;
  522. this.$router.push({ path: '/business/teamDetail', query: { search: this.Fsearch, rules: this.Frules } })
  523. }
  524. })
  525. },
  526. goback () {
  527. this.$emit('chiosetab', 0);
  528. }
  529. },
  530. computed: {
  531. // 返回当前选中声部数量
  532. chioseSoundNum () {
  533. let num = 0;
  534. for (let key in this.soundList) {
  535. // console.log(this.soundLists[key])
  536. num += this.soundLists[key].length;
  537. }
  538. return num;
  539. },
  540. },
  541. watch: {
  542. studentVisible (val) {
  543. if (!val) {
  544. // 1.选择的团
  545. this.activeTeam = ''
  546. // 2.选择的声部
  547. this.activeChioseSound = ''
  548. // 3.选择的选中的列表
  549. this.studentList = [];
  550. }
  551. }
  552. }
  553. }
  554. </script>
  555. <style lang="scss" scoped>
  556. .chioseWrap {
  557. margin-bottom: 30px;
  558. display: flex;
  559. flex-direction: row;
  560. padding: 0 25px;
  561. p {
  562. font-size: 14px;
  563. margin-right: 30px;
  564. }
  565. }
  566. .subTitle {
  567. // width: 1203px;
  568. height: 40px;
  569. line-height: 40px;
  570. background-color: #fefceb;
  571. padding: 0 25px;
  572. box-sizing: border-box;
  573. font-size: 16px;
  574. color: #474747;
  575. margin-bottom: 20px;
  576. }
  577. .floor {
  578. display: flex;
  579. flex-direction: row;
  580. justify-content: flex-start;
  581. width: 100%;
  582. height: 48px;
  583. line-height: 48px;
  584. background: rgba(237, 238, 240, 1);
  585. font-size: 14px;
  586. color: #444;
  587. align-items: center;
  588. position: relative;
  589. z-index: 1;
  590. .remove {
  591. width: 98px;
  592. height: 32px;
  593. background: rgba(248, 80, 67, 1);
  594. border-radius: 3px;
  595. color: #fff;
  596. line-height: 32px;
  597. text-align: center;
  598. margin-left: 164px;
  599. cursor: pointer;
  600. }
  601. .add {
  602. width: 98px;
  603. height: 32px;
  604. background: rgba(20, 146, 138, 1);
  605. border-radius: 3px;
  606. color: #fff;
  607. line-height: 32px;
  608. text-align: center;
  609. margin-left: 20px;
  610. cursor: pointer;
  611. }
  612. }
  613. .studentMask {
  614. display: flex;
  615. flex-direction: row;
  616. justify-content: flex-start;
  617. .left {
  618. width: 200px;
  619. margin-right: 20px;
  620. h4 {
  621. font-size: 16px;
  622. color: #444;
  623. line-height: 38px;
  624. margin-bottom: 10px;
  625. }
  626. .chioseStudentList {
  627. height: 500px;
  628. overflow-y: auto;
  629. border: 1px solid #ccc;
  630. .studentItem {
  631. padding-left: 10px;
  632. line-height: 25px;
  633. }
  634. }
  635. }
  636. .right {
  637. .tableList {
  638. max-height: 500px;
  639. overflow-y: auto;
  640. }
  641. }
  642. }
  643. .soundWrap {
  644. width: 100%;
  645. overflow: auto;
  646. .itemList {
  647. display: flex;
  648. flex-direction: row;
  649. justify-content: flex-start;
  650. flex-wrap: nowrap;
  651. flex-grow: 1;
  652. height: 300px;
  653. max-height: 300px;
  654. overflow: auto;
  655. .categroy {
  656. width: 150px;
  657. min-width: 150px;
  658. .el-checkbox {
  659. height: 30px;
  660. line-height: 30px;
  661. display: block;
  662. padding-left: 20px;
  663. }
  664. p {
  665. height: 40px;
  666. line-height: 40px;
  667. background-color: #edeef0;
  668. margin-bottom: 15px;
  669. text-align: center;
  670. }
  671. }
  672. }
  673. }
  674. .soundSubP {
  675. height: 40px;
  676. line-height: 40px;
  677. background-color: #edeef0;
  678. padding-left: 25px;
  679. }
  680. .btnWraps {
  681. display: flex;
  682. flex-direction: column;
  683. align-items: center;
  684. margin-top: 150px;
  685. .dialogBtn {
  686. width: 188px;
  687. height: 40px;
  688. background: rgba(249, 114, 21, 1);
  689. border-radius: 4px;
  690. line-height: 40px;
  691. color: #fff;
  692. text-align: center;
  693. cursor: pointer;
  694. }
  695. }
  696. .btnWrap {
  697. margin-top: 40px;
  698. .PrevBtn {
  699. background-color: #444444;
  700. width: 120px;
  701. }
  702. .submitBtn {
  703. background-color: #f85043;
  704. width: 120px;
  705. }
  706. }
  707. </style>