signupList.vue 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382
  1. <template>
  2. <div class="sigup-container">
  3. <div class="topWrap">
  4. <div>
  5. <h2>
  6. <el-page-header @back="onCancel"
  7. :content="teamName + '报名详情'">
  8. </el-page-header>
  9. </h2>
  10. <p style="margin-bottom:15px; font-size:18px;
  11. font-weight:400">报名缴费截止时间:{{ applyExpireDate | formatTimer }}</p>
  12. <div class="btnList">
  13. <div class='newBand close'
  14. v-permission="'musicGroup/cancelMusicGroup'"
  15. @click="onClose">停止乐团</div>
  16. <div class='newBand'
  17. @click="payStart"
  18. v-permission="'musicGroup/openPay'"
  19. v-if="status=='APPLY'">开始缴费</div>
  20. <!-- v-if="status=='PAY'" -->
  21. <div class='newBand'
  22. v-permission="'musicGroup/found'"
  23. @click="onGoHome">确认开团</div>
  24. <div class='newBand'
  25. v-permission="'musicGroup/extensionPayment'"
  26. @click="extendPaymentStatus = true"
  27. v-if="status=='PAY'">延长缴费</div>
  28. <div class='newBand'
  29. @click="onCreateQRCode">报名链接</div>
  30. <div class='newBand'
  31. @click="onCreateQRCode2">缴费详情</div>
  32. <div class='newBand'
  33. v-if="rightList.length > 0"
  34. v-permission="'studentRegistration/queryStudentApplyDetailExport'"
  35. @click='onDownLoadExecl'>报表导出</div>
  36. </div>
  37. </div>
  38. <!-- stepImgs: {
  39. APPLY: require('@/assets/images/base/clock.png'),
  40. PAY: require('@/assets/images/base/pay.png')
  41. }, -->
  42. <p class='msg'
  43. :class="status=='PAY'? 'pay' : '' "> <img :src="status=='APPLY'?stepImgs.APPLY:stepImgs.PAY"
  44. alt="">
  45. {{ status=='APPLY'?'报名中':'缴费中' }}</p>
  46. </div>
  47. <div class="searchList">
  48. <el-form :inline="true"
  49. :model="searchFrom">
  50. <el-form-item label="专业">
  51. <el-select v-model.trim="searchFrom.subject"
  52. filterable
  53. clearable>
  54. <el-option v-for="(item,index) in soundList"
  55. :key='index'
  56. :label="item.name"
  57. :value="item.id"></el-option>
  58. </el-select>
  59. </el-form-item>
  60. <el-form-item label="是否允许调剂">
  61. <el-select v-model.trim="searchFrom.isAllowAdjust"
  62. filterable
  63. clearable>
  64. <el-option label="是"
  65. value="1"></el-option>
  66. <el-option label="否"
  67. value="0"></el-option>
  68. </el-select>
  69. </el-form-item>
  70. <el-form-item label="用户名或手机号">
  71. <el-input v-model.trim="searchFrom.name"></el-input>
  72. </el-form-item>
  73. <!-- 专业actualSubjectId 调剂isAllowAdjust 手机号name -->
  74. <el-form-item>
  75. <el-button type='danger'
  76. @click='search'>搜索</el-button>
  77. <el-button type='primary'
  78. @click="onReset">重置</el-button>
  79. </el-form-item>
  80. </el-form>
  81. </div>
  82. <div class="sigup-core">
  83. <div class="left">
  84. <el-table :data='leftList'
  85. :header-cell-style="{background:'#EDEEF0',color:'#444'}">
  86. <el-table-column label="乐团声部"
  87. prop="subjectName"
  88. align='center'>
  89. </el-table-column>
  90. <el-table-column label="计划招生"
  91. prop="expectedStudentNum"
  92. align='center'>
  93. <template slot-scope="scope">
  94. <div>
  95. <p v-if="!isEdit">{{ scope.row.expectedStudentNum }}</p>
  96. <el-input v-if="isEdit"
  97. v-model.trim="scope.row.expectedStudentNum"></el-input>
  98. </div>
  99. </template>
  100. </el-table-column>
  101. <el-table-column label="已报名"
  102. prop='applyStudentNum'
  103. align='center'>
  104. </el-table-column>
  105. <el-table-column label="已缴费"
  106. prop='payNum'
  107. align='center'>
  108. </el-table-column>
  109. </el-table>
  110. <div class="btnWrap"
  111. v-permission="'musicGroup/updateExpectedStudentNum'"
  112. style="margin-right:20px; margin-top:20px;">
  113. <el-button v-if="!isEdit"
  114. @click="isEdit = true">编辑</el-button>
  115. <el-button v-if="isEdit"
  116. @click="saveIsEdit">保存</el-button>
  117. </div>
  118. </div>
  119. <div class="right">
  120. <el-table :data='rightList'
  121. ref="multipleTable"
  122. :header-cell-style="{background:'#EDEEF0',color:'#444'}"
  123. @selection-change="handleSelectionChange">
  124. <el-table-column type="selection"
  125. width="55">
  126. </el-table-column>
  127. <el-table-column label="学员姓名"
  128. prop="studentName"
  129. align='center'>
  130. </el-table-column>
  131. <el-table-column label="家长姓名"
  132. prop="parentsName"
  133. align='center'>
  134. </el-table-column>
  135. <el-table-column label="年级班级"
  136. align='center'>
  137. <template slot-scope="scope">
  138. <div>
  139. {{scope.row.currentGrade+scope.row.currentClass}}
  140. </div>
  141. </template>
  142. </el-table-column>
  143. <el-table-column label="性别"
  144. prop="gender"
  145. align='center'>
  146. <template slot-scope="scope">
  147. <div>
  148. {{scope.row.gender | sex}}
  149. </div>
  150. </template>
  151. </el-table-column>
  152. <el-table-column label="服从调剂"
  153. prop="isAllowAdjust"
  154. align='center'>
  155. <template slot-scope="scope">
  156. <div>
  157. {{ scope.row.isAllowAdjust | isAllowAdjust}}
  158. </div>
  159. </template>
  160. </el-table-column>
  161. <el-table-column label="报名专业"
  162. prop="subjectName"
  163. align='center'>
  164. </el-table-column>
  165. <el-table-column label="调剂专业"
  166. prop="actualSubjectName"
  167. align='center'>
  168. </el-table-column>
  169. <el-table-column label="联系电话"
  170. prop="parentsPhone"
  171. align='center'>
  172. </el-table-column>
  173. <!-- v-if='status == "PAY"' -->
  174. <el-table-column label="学员状态"
  175. fixed='right'
  176. prop="paymentStatus"
  177. align='center'>
  178. <template slot-scope="scope">
  179. <div>
  180. {{ scope.row.paymentStatus | paymentStatus }}
  181. </div>
  182. </template>
  183. </el-table-column>
  184. <el-table-column label="操作"
  185. fixed='right'
  186. width="240"
  187. align='center'>
  188. <template slot-scope="scope">
  189. <div>
  190. <el-button type='text'
  191. v-permission="'studentRegistration/batchUpdateSubject'"
  192. v-if="scope.row.paymentStatus != 2"
  193. @click='resetSubject(scope.row)'>修改专业</el-button>
  194. <!-- APPLY status == "APPLY" || s-->
  195. <el-popover v-if='scope.row.remark'
  196. placement="top-start"
  197. title="备注"
  198. width="200"
  199. trigger="hover"
  200. :content="scope.row.remark">
  201. <el-button type="text"
  202. slot="reference">备注</el-button>
  203. </el-popover>
  204. <!-- PAY -->
  205. <!-- && status == "PAY"-->
  206. <el-button type='text'
  207. v-permission="'studentRegistration/queryFeeDetail'"
  208. v-if='scope.row.paymentStatus==2'
  209. @click='lookdetail(scope.row)'>查看</el-button>
  210. <el-button type='text'
  211. v-permission="'musicGroupQuit/directQuitMusicGroup2'"
  212. v-if='scope.row.paymentStatus==2'
  213. @click='quitTeam(scope.row)'>退团</el-button>
  214. <el-button type="text"
  215. v-if="permission('musicGroupQuit/directQuitMusicGroup3')&&scope.row.paymentStatus==2"
  216. @click="quieTeams(scope.row)">退团不退费</el-button>
  217. <el-button type="text"
  218. v-if="permission('visit/add')"
  219. @click="addVisit(scope.row)">新增回访</el-button>
  220. <el-button type="text"
  221. v-if="scope.row.paymentStatus==2"
  222. v-permission="'subjectChange/getStudentOriginal'"
  223. @click="openChangeVoice(scope.row)">更改声部</el-button>
  224. </div>
  225. </template>
  226. </el-table-column>
  227. </el-table>
  228. <div style="margin-top: 10px; margin-bottom: 10px;"
  229. v-if="status=='APPLY'">
  230. <el-button @click="onSelectAll">全选/取消</el-button>
  231. <el-button style="background-color: #14928a;border: 1px solid #14928a;"
  232. @click="onPartPayment"
  233. v-permission="'studentRegistration/openPayment'"
  234. type="primary">提前缴费</el-button>
  235. <!-- <div class='newBand' v-if="status=='APPLY'">允许缴费</div> -->
  236. </div>
  237. <pagination :total="rules.total"
  238. :page.sync="rules.page"
  239. :limit.sync="rules.limit"
  240. :page-sizes="rules.page_size"
  241. @pagination="getList" />
  242. </div>
  243. </div>
  244. <el-dialog title="修改专业"
  245. :visible.sync="subjectVisible"
  246. width="400px">
  247. <el-form :model="maskForm">
  248. <el-form-item label="选择专业">
  249. <el-select v-model.trim="maskForm.subject"
  250. filterable
  251. clearable>
  252. <el-option v-for="(item,index) in soundList"
  253. :key='index'
  254. :label="item.name"
  255. :value="item.id"></el-option>
  256. </el-select>
  257. </el-form-item>
  258. </el-form>
  259. <div slot="footer"
  260. class="dialog-footer">
  261. <el-button @click="subjectVisible = false">取 消</el-button>
  262. <el-button type="primary"
  263. @click="okReset">确 定</el-button>
  264. </div>
  265. </el-dialog>
  266. <el-dialog title="延长缴费"
  267. :visible.sync="extendPaymentStatus"
  268. width="400px">
  269. <el-form :model="extendForm"
  270. ref="extendForm"
  271. :rules="extendRule">
  272. <el-form-item label="延长时间"
  273. prop="expireDate">
  274. <el-date-picker v-model.trim="extendForm.expireDate"
  275. value-format="yyyy-MM-dd"
  276. type="date"
  277. :picker-options="{
  278. firstDayOfWeek:1
  279. }"
  280. placeholder="选择日期">
  281. </el-date-picker>
  282. </el-form-item>
  283. </el-form>
  284. <div slot="footer"
  285. class="dialog-footer">
  286. <el-button @click="extendPaymentStatus = false">取 消</el-button>
  287. <el-button type="primary"
  288. @click="onExtendPayment('extendForm')">确 定</el-button>
  289. </div>
  290. </el-dialog>
  291. <el-dialog title="订单详情"
  292. :visible.sync="orderVisible"
  293. width="600px">
  294. <el-form :model="orderForm"
  295. :inline="true">
  296. <!-- name: '',
  297. totalAmount: '',
  298. subject: '',
  299. subjectFee: '',
  300. axe: '',
  301. axePrice: '',
  302. others: '',
  303. othersPrice: '' -->
  304. <el-form-item label="学员姓名">
  305. <el-input v-model.trim="orderForm.name"
  306. disabled=""></el-input>
  307. </el-form-item>
  308. <el-form-item label="实缴金额">
  309. <el-input v-model.trim="orderForm.totalAmount"
  310. disabled=""></el-input>
  311. </el-form-item>
  312. <el-form-item label="实际专业">
  313. <el-input v-model.trim="orderForm.subject"
  314. disabled=""></el-input>
  315. </el-form-item>
  316. <el-form-item label="课程费用">
  317. <el-input v-model.trim="orderForm.subjectFee"
  318. disabled=""></el-input>
  319. </el-form-item>
  320. <el-form-item label="选择乐器">
  321. <el-input v-model.trim="orderForm.axe"
  322. disabled=""></el-input>
  323. </el-form-item>
  324. <el-form-item label="乐器价格">
  325. <el-input v-model.trim="orderForm.axePrice"
  326. disabled=""></el-input>
  327. </el-form-item>
  328. <el-form-item label="教辅组合">
  329. <el-input v-model.trim="orderForm.others"
  330. disabled=""></el-input>
  331. </el-form-item>
  332. <el-form-item label="组合价格">
  333. <el-input v-model.trim="orderForm.othersPrice"
  334. disabled=""></el-input>
  335. </el-form-item>
  336. </el-form>
  337. <div slot="footer"
  338. class="dialog-footer">
  339. <!-- <el-button>取 消</el-button> -->
  340. <el-button type="primary"
  341. @click="orderVisible = false">确 定</el-button>
  342. </div>
  343. </el-dialog>
  344. <el-dialog title="开始缴费"
  345. :visible.sync="paymentStatus"
  346. width="400px">
  347. <el-form ref="paymentForm"
  348. class="paymentForm"
  349. :model="paymentForm"
  350. label-position="top"
  351. :rules="paymentRules">
  352. <el-form-item label="请设置缴费截止日期"
  353. prop="paymentExpireDate">
  354. <el-date-picker v-model.trim="paymentForm.paymentExpireDate"
  355. type="date"
  356. value-format="yyyy-MM-dd"
  357. :picker-options="{
  358. firstDayOfWeek:1
  359. }"
  360. style="width: 100%"
  361. placeholder="选择日期">
  362. </el-date-picker>
  363. </el-form-item>
  364. <!-- <el-form-item label="是否排乐团网管课"
  365. :rules="[{ required: true, message: '请选择是否排乐团网管课'}]"
  366. prop="feeType">
  367. <el-select v-model="paymentForm.feeType"
  368. style="width: 100%!imoprtant">
  369. <el-option label="需要排线上课"
  370. value="ONLINE"></el-option>
  371. <el-option label="只排线下课"
  372. value="OFFLINE"></el-option>
  373. </el-select>
  374. </el-form-item> -->
  375. </el-form>
  376. <div slot="footer"
  377. class="dialog-footer">
  378. <el-button @click="paymentStatus = false">取 消</el-button>
  379. <el-button type="primary"
  380. @click="onStartPayment('paymentForm')">确 定</el-button>
  381. </div>
  382. </el-dialog>
  383. <el-dialog title="报名二维码"
  384. :visible.sync="qrcodeStatus"
  385. width="300px">
  386. <div class="left-code">
  387. <h2>学员报名连接</h2>
  388. <div id="qrcode"
  389. class="qrcode code"
  390. ref="qrCodeUrl"></div>
  391. <p class="code-url"
  392. v-if="codeUrl">{{ codeUrl }}</p>
  393. </div>
  394. </el-dialog>
  395. <el-dialog title="缴费详情二维码"
  396. :visible.sync="qrcodeStatus2"
  397. width="300px">
  398. <div class="right-code">
  399. <h2>报名缴费详情</h2>
  400. <div id="qrcode2"
  401. class="qrcode code"
  402. ref="qrCodeUrl"></div>
  403. <p class="code-url"
  404. v-if="codeUrl2">{{ codeUrl2 }}</p>
  405. </div>
  406. </el-dialog>
  407. <!-- 退团弹窗 -->
  408. <el-dialog title="退团信息确认"
  409. :destroy-on-close="true"
  410. width="640px"
  411. :visible.sync="quitVisible">
  412. <el-form :model="quitForm"
  413. ref="quitForm"
  414. :rules="quitRules">
  415. <el-form-item label="退还课程费用"
  416. prop="isRefundCourseFee">
  417. <el-radio v-model.trim="quitForm.isRefundCourseFee"
  418. :label="true">是</el-radio>
  419. <el-radio v-model.trim="quitForm.isRefundCourseFee"
  420. :label="false">否</el-radio>
  421. </el-form-item>
  422. <el-form-item label="退还乐器费用"
  423. prop="isRefundInstrumentFee">
  424. <el-radio v-model.trim="quitForm.isRefundInstrumentFee"
  425. :label="true">是</el-radio>
  426. <el-radio v-model.trim="quitForm.isRefundInstrumentFee"
  427. :label="false">否</el-radio>
  428. </el-form-item>
  429. <el-form-item label="退还教辅费用"
  430. prop="isRefundTeachingAssistantsFee">
  431. <el-radio v-model.trim="quitForm.isRefundTeachingAssistantsFee"
  432. :label="true">是</el-radio>
  433. <el-radio v-model.trim="quitForm.isRefundTeachingAssistantsFee"
  434. :label="false">否</el-radio>
  435. </el-form-item>
  436. <el-form-item label="退团原因">
  437. <el-input type="textarea"
  438. v-model.trim="quitForm.reason"></el-input>
  439. </el-form-item>
  440. </el-form>
  441. <span slot="footer"
  442. class="dialog-footer">
  443. <el-button @click="quitVisible = false">取 消</el-button>
  444. <el-button type="primary"
  445. @click="chioseType">确 定</el-button>
  446. </span>
  447. </el-dialog>
  448. <!-- 回访记录 -->
  449. <el-dialog title="新增回访"
  450. width="600px"
  451. destroy-on-close
  452. :close-on-click-modal='false'
  453. :visible.sync="visitVisiable">
  454. <el-form :model="visitForm"
  455. label-width="120px"
  456. label-position='right'
  457. ref='visitForm'
  458. :rules="visitRules">
  459. <el-form-item label="学生姓名">
  460. <p>{{visitForm.studentName}}</p>
  461. </el-form-item>
  462. <el-form-item label="回访类型"
  463. prop='visitType'>
  464. <el-cascader expand-trigger="hover"
  465. clearable
  466. placeholder="请选择回访类型"
  467. :options="visitChiose"
  468. @change="handleChange"
  469. style="width:220px!important;"
  470. v-model="visitForm.visitType">
  471. </el-cascader>
  472. </el-form-item>
  473. <el-form-item label="回访日期"
  474. prop='visitTime'>
  475. <el-date-picker v-model.trim="visitForm.visitTime"
  476. align="right"
  477. style="width:220px!important;"
  478. type="date"
  479. placeholder="选择日期"
  480. :picker-options="pickerOptions"
  481. value-format="yyyy-MM-dd"></el-date-picker>
  482. </el-form-item>
  483. <el-form-item label="学员情况"
  484. prop="overview">
  485. <el-input type="textarea"
  486. v-model="visitForm.overview"
  487. style="width:80%!important;"
  488. :rows="3"
  489. maxlength="50"
  490. show-word-limit></el-input>
  491. </el-form-item>
  492. <el-form-item label="家长反馈"
  493. prop='feedback'>
  494. <el-input type="textarea"
  495. v-model="visitForm.feedback"
  496. style="width:80%!important;"
  497. :rows="3"
  498. maxlength="50"
  499. show-word-limit></el-input>
  500. </el-form-item>
  501. </el-form>
  502. <span slot="footer"
  503. class="dialog-footer">
  504. <el-button @click="visitVisiable = false">取 消</el-button>
  505. <el-button type="primary"
  506. @click="submitAddVisit">确 定</el-button>
  507. </span>
  508. </el-dialog>
  509. <el-dialog title="更改声部"
  510. :visible.sync="changeVoiceVisible"
  511. @close="closeChangeVoice"
  512. :destroy-on-close="true"
  513. width="500px">
  514. <changeVoice @close="closeChangeVoice"
  515. @submited="getList"
  516. :detail.sync="rowDetail"
  517. :musicGroupId="id"
  518. :voiceList="leftList" />
  519. </el-dialog>
  520. </div>
  521. </template>
  522. <script>
  523. import pagination from '@/components/Pagination/index'
  524. import { getintoClass, getStudentList, findSound, musicGroupOpenPay, openPayment, musicGroupFound, extensionPayment, resetPlanNum, cancelMusicGroup, getTeamBaseInfo, studentApplyDetailExport, StudentQuit } from '@/api/buildTeam'
  525. import { resetStudentSubject, getStudentFeeDetail } from '@/api/studentManager'
  526. import { vaildStudentUrl, vaildTeacherUrl } from '@/utils/validate'
  527. import { addVisit } from "@/views/returnVisitManager/api.js"
  528. import QRCode from 'qrcodejs2'
  529. import { visitChiose } from '@/utils/searchArray'
  530. import axios from 'axios'
  531. import { getToken } from '@/utils/auth'
  532. import load from '@/utils/loading'
  533. import qs from 'qs'
  534. import { permission } from "@/utils/directivePage";
  535. import cleanDeep from 'clean-deep'
  536. import changeVoice from './modals/change-voice'
  537. export default {
  538. name: 'signupList',
  539. components: {
  540. pagination,
  541. changeVoice,
  542. },
  543. data () {
  544. return {
  545. multipleSelection: [], //
  546. isEdit: false,
  547. rowDetail: null,
  548. changeVoiceVisible: false,
  549. subjectVisible: false,
  550. orderVisible: false,
  551. quitVisible: false,
  552. leftList: [],
  553. rightList: [],
  554. searchFrom: {
  555. name: '',
  556. subject: '', // 专业
  557. isAllowAdjust: '' // 是否允许调剂
  558. },
  559. quitForm: {
  560. // 退团信息确认
  561. isRefundCourseFee: null,
  562. isRefundInstrumentFee: null,
  563. isRefundTeachingAssistantsFee: null,
  564. reason: ""
  565. },
  566. stepImgs: {
  567. APPLY: require('@/assets/images/base/clock.png'),
  568. PAY: require('@/assets/images/base/pay.png')
  569. },
  570. status: '',
  571. id: '',
  572. rules: {
  573. // 分页规则
  574. limit: 10, // 限制显示条数
  575. page: 1, // 当前页
  576. total: 0, // 总条数
  577. page_size: [10, 20, 30, 40] // 选择限制显示条数
  578. },
  579. teamName: '',
  580. maskForm: {
  581. subject: ''
  582. },
  583. activeId: '',
  584. soundList: [],
  585. orderForm: {
  586. name: '',
  587. totalAmount: '',
  588. subject: '',
  589. subjectFee: '',
  590. axe: '',
  591. axePrice: '',
  592. others: '',
  593. othersPrice: ''
  594. },
  595. paymentStatus: false,
  596. paymentForm: {
  597. paymentExpireDate: null,
  598. // feeType: null
  599. },
  600. paymentRules: {
  601. paymentExpireDate: [{ required: true, message: '请设置缴费截止日期', trigger: 'blur' }]
  602. },
  603. paymentNum: 0, // 缴费了多少人
  604. qrcodeStatus: false, // 生成二维码
  605. qrcodes: true,
  606. qrcode: null,
  607. codeUrl: null,
  608. qrcodeStatus2: false, // 生成二维码
  609. qrcodes2: true,
  610. qrcode2: null,
  611. codeUrl2: null,
  612. extendPaymentStatus: false,
  613. extendForm: {
  614. expireDate: null,
  615. },
  616. extendRule: {
  617. expireDate: [{ required: true, message: '请选择延长时间', trigger: 'change' }]
  618. },
  619. quitRules: {
  620. isRefundCourseFee: [
  621. { required: true, message: "请选择是否退还课程费用" }
  622. ],
  623. isRefundInstrumentFee: [
  624. { required: true, message: "选择是否退还乐器费用" }
  625. ],
  626. isRefundTeachingAssistantsFee: [
  627. { required: true, message: "选择是否退还教辅费用" }
  628. ]
  629. },
  630. Fsearch: null,
  631. Frules: null,
  632. applyExpireDate: '',
  633. activeRow: null,
  634. visitVisiable: false,
  635. visitForm: {
  636. musicGroupId: '',
  637. overview: '',
  638. purpose: '',
  639. studentId: '',
  640. type: '',
  641. visitTime: '',
  642. visitType: '',
  643. feedback: '',
  644. studentName: ''
  645. },
  646. visitChiose,
  647. visitRules: {
  648. overview: [{ required: true, message: "请输入学生近况" }],
  649. feedback: [{ required: true, message: "请输入家长反馈" }],
  650. visitTime: [{ required: true, message: "请输入回访时间" }],
  651. visitType: [{ required: true, message: "请选择回访类型" }]
  652. }
  653. }
  654. },
  655. created () {
  656. // 通过乐团状态判断显示隐藏的东西
  657. this.init()
  658. },
  659. activated () {
  660. this.init()
  661. },
  662. methods: {
  663. permission (str) {
  664. return permission(str);
  665. },
  666. init () {
  667. this.status = this.$route.query.status;
  668. // 通过乐团id 获取乐团招生状态
  669. this.id = this.$route.query.id;
  670. this.teamName = this.$route.query.name
  671. // 判断是否带缓存参数
  672. if (this.$route.query.search) {
  673. this.Fsearch = this.$route.query.search;
  674. }
  675. if (this.$route.query.rules) {
  676. this.Frules = this.$route.query.rules
  677. }
  678. this.pickerOptions = this.beginDate();
  679. getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
  680. if (res.code == 200) {
  681. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  682. }
  683. })
  684. // 根据乐团id获乐团声部
  685. findSound({ musicGroupId: this.id }).then(res => {
  686. if (res.code == 200) {
  687. this.soundList = res.data;
  688. }
  689. })
  690. // 通过乐团id获取乐团学生列表
  691. this.getList()
  692. },
  693. search () {
  694. this.rules.page = 1;
  695. this.getList();
  696. },
  697. onReset () {
  698. this.rules.page = 1
  699. this.rules.limit = 10
  700. this.searchFrom = {
  701. name: null,
  702. subject: null, // 专业
  703. isAllowAdjust: null // 是否允许调剂
  704. }
  705. this.getList()
  706. },
  707. onCancel () {
  708. this.$router.push({ path: '/business/teamDetail', query: { search: this.Fsearch, rules: this.Frules } })
  709. },
  710. payStart () {
  711. this.paymentStatus = true;
  712. getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
  713. if (res.code == 200) {
  714. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  715. }
  716. })
  717. },
  718. getList () {
  719. let obj = {
  720. musicGroupId: this.id,
  721. actualSubjectId: this.searchFrom.subject || null,
  722. isAllowAdjust: this.searchFrom.isAllowAdjust || null,
  723. name: this.searchFrom.name || null,
  724. page: this.rules.page,
  725. rows: this.rules.limit
  726. }
  727. // 根据乐团id获取学团情况
  728. getintoClass({ musicGroupId: this.id }).then(res => {
  729. if (res.code == 200) {
  730. this.leftList = res.data;
  731. }
  732. })
  733. return getStudentList(obj).then(res => {
  734. if (res.code == 200) {
  735. res.data.rows.forEach(item => {
  736. // '未开启缴费', '开启缴费', '已缴费'
  737. if (item.paymentStatus == 2) {
  738. this.paymentNum += 1
  739. }
  740. })
  741. this.rightList = res.data.rows
  742. this.rules.total = res.data.total
  743. return res
  744. }
  745. })
  746. },
  747. onStartPayment (formName) { // 开启缴费
  748. this.$refs[formName].validate((valid) => {
  749. if (valid) {
  750. musicGroupOpenPay({
  751. musicGroupId: this.id,
  752. expireDate: this.paymentForm.paymentExpireDate,
  753. // feeType: this.paymentForm.feeType
  754. }).then(res => {
  755. if (res.code == 200) {
  756. this.$message.success('开启成功')
  757. this.paymentStatus = false
  758. this.$router.push({
  759. path: '/business/signupList',
  760. query: {
  761. status: 'PAY',
  762. id: this.$route.query.id,
  763. name: this.$route.query.name
  764. }
  765. })
  766. this.status = 'PAY'
  767. this.getList();
  768. }
  769. })
  770. } else {
  771. return false;
  772. }
  773. })
  774. // this.id
  775. },
  776. onSelectAll () { // 选中全部
  777. this.$refs.multipleTable.toggleAllSelection()
  778. },
  779. onPartPayment () { // 部分缴费
  780. let selection = this.multipleSelection
  781. if (selection.length <= 0) {
  782. this.$message.success('您还没有选择学生')
  783. return false
  784. }
  785. let ids = []
  786. selection.forEach(item => {
  787. ids.push(item.id)
  788. })
  789. this.$confirm(`是否确认提前缴费?`, '提示', {
  790. confirmButtonText: '确定',
  791. cancelButtonText: '取消',
  792. type: 'warning'
  793. }).then(() => {
  794. openPayment({
  795. ids: ids.join(',')
  796. }).then(res => {
  797. if (res.code == 200) {
  798. this.$message.success('开启成功')
  799. this.getList()
  800. } else {
  801. this.$message.error(res.msg)
  802. }
  803. })
  804. }).catch(() => { })
  805. },
  806. onCreateQRCode () { // 生成报名二维码
  807. this.qrcodeStatus = true
  808. let id = this.id
  809. let teamName = this.$route.query.name
  810. setTimeout(() => {
  811. document.getElementById('qrcode').innerHTML = '';
  812. this.qrcode = new QRCode('qrcode', {
  813. width: 200,
  814. height: 200,
  815. colorDark: '#000000',
  816. colorLight: '#ffffff',
  817. correctLevel: QRCode.CorrectLevel.H
  818. })
  819. this.qrcode.makeCode(vaildStudentUrl() + '/#/login?musicGroupId=' + id)
  820. this.codeUrl = vaildStudentUrl() + '/#/login?musicGroupId=' + id
  821. }, 500)
  822. },
  823. onCreateQRCode2 () { // 生成报名二维码
  824. this.qrcodeStatus2 = true
  825. let id = this.id
  826. let teamName = this.$route.query.name
  827. setTimeout(() => {
  828. document.getElementById('qrcode2').innerHTML = '';
  829. this.qrcode2 = new QRCode('qrcode2', {
  830. width: 200,
  831. height: 200,
  832. colorDark: '#000000',
  833. colorLight: '#ffffff',
  834. correctLevel: QRCode.CorrectLevel.H
  835. })
  836. this.qrcode2.makeCode(vaildTeacherUrl() + '/#/order?musicGroupId=' + id + '&musicGroupName=' + teamName)
  837. this.codeUrl2 = vaildTeacherUrl() + '/#/order?musicGroupId=' + id + '&musicGroupName=' + teamName
  838. }, 500)
  839. },
  840. onDownLoadExecl () { // 报表导出
  841. let url = '/api-web/studentRegistration/queryStudentApplyDetailExport'
  842. let data = {
  843. musicGroupId: this.$route.query.id,
  844. page: 1,
  845. rows: 9999
  846. }
  847. const options = {
  848. method: 'POST',
  849. headers: {
  850. 'Authorization': getToken()
  851. },
  852. data: qs.stringify(data),
  853. url,
  854. responseType: 'blob'
  855. }
  856. this.$confirm('您确定导出吗?', '提示', {
  857. confirmButtonText: '确定',
  858. cancelButtonText: '取消',
  859. type: 'warning'
  860. }).then(() => {
  861. load.startLoading()
  862. axios(options).then(res => {
  863. let blob = new Blob([res.data], {
  864. // type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'
  865. type: 'application/vnd.ms-excel;charset=utf-8'
  866. //word文档为application/msword,pdf文档为application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8
  867. })
  868. let text = (new Response(blob)).text()
  869. text.then(res => {
  870. // 判断是否报错
  871. if (res.indexOf('code') != -1) {
  872. let json = JSON.parse(res)
  873. this.$message.error(json.msg)
  874. } else {
  875. let objectUrl = URL.createObjectURL(blob)
  876. let link = document.createElement("a")
  877. let nowTime = new Date()
  878. let ymd = nowTime.getFullYear() + '' + (nowTime.getMonth() + 1) + '' + nowTime.getDate() + '' + nowTime.getHours() + '' + nowTime.getMinutes()
  879. let fname = this.$route.query.id + '-' + ymd //下载文件的名字
  880. link.href = objectUrl
  881. link.setAttribute("download", fname)
  882. document.body.appendChild(link)
  883. link.click()
  884. }
  885. })
  886. load.endLoading();
  887. }).catch(error => {
  888. this.$message.error('导出数据失败,请联系管理员');
  889. load.endLoading();
  890. })
  891. }).catch(() => { })
  892. },
  893. onGoHome () { // 确认开团
  894. // 判断是否有学生缴费
  895. if (this.paymentNum <= 0) {
  896. this.$message.error('当前缴费人数为0,无法开团')
  897. return
  898. }
  899. this.$confirm(`是否确认开团?`, '提示', {
  900. confirmButtonText: '确定',
  901. cancelButtonText: '取消',
  902. type: 'warning'
  903. }).then(() => {
  904. musicGroupFound({
  905. musicGroupId: this.$route.query.id
  906. }).then(res => {
  907. if (res.code == 200) {
  908. this.$message.success('开启成功')
  909. this.$router.push({
  910. path: '/business/teamSeting',
  911. query: {
  912. status: 'PREPARE',
  913. id: this.$route.query.id,
  914. name: this.$route.query.name
  915. }
  916. })
  917. }
  918. })
  919. }).catch(() => {
  920. })
  921. },
  922. onClose () { // 停止乐团
  923. this.$confirm('您确定停止乐团吗?', '提示', {
  924. confirmButtonText: '确定',
  925. cancelButtonText: '取消',
  926. type: 'warning'
  927. }).then(() => {
  928. cancelMusicGroup({
  929. musicGroupId: this.$route.query.id
  930. }).then(res => {
  931. if (res.code == 200) {
  932. this.$message.success('停止成功')
  933. this.$router.push({
  934. path: '/business/teamDetail',
  935. query: { search: this.Fsearch, rules: this.Frules }
  936. })
  937. }
  938. })
  939. }).catch(() => {
  940. })
  941. },
  942. handleSelectionChange (val) {
  943. this.multipleSelection = val;
  944. },
  945. // 修改专业
  946. resetSubject (row) {
  947. this.activeId = row.studentId
  948. this.subjectVisible = true;
  949. // resetStudentSubject().then(res=>{]})
  950. },
  951. // 确认修改
  952. okReset () {
  953. if (!this.maskForm.subject) {
  954. this.$message.error('请选择调剂专业');
  955. return
  956. }
  957. resetStudentSubject({ musicGroupId: this.id, userId: this.activeId, subId: this.maskForm.subject }).then(res => {
  958. if (res.code == 200) {
  959. this.$message.success('修改成功');
  960. this.subjectVisible = false;
  961. this.maskForm.subject = '';
  962. getintoClass({ musicGroupId: this.id }).then(res => {
  963. if (res.code == 200) {
  964. this.leftList = res.data;
  965. }
  966. })
  967. this.getList();
  968. }
  969. })
  970. },
  971. onExtendPayment (formName) {
  972. this.$refs[formName].validate(valid => {
  973. if (valid) {
  974. extensionPayment({
  975. musicGroupId: this.id,
  976. expireDate: this.extendForm.expireDate
  977. }).then(res => {
  978. if (res.code == 200) {
  979. this.$message.success('延长缴费成功')
  980. this.extendPaymentStatus = false
  981. getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
  982. if (res.code == 200) {
  983. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  984. }
  985. })
  986. } else {
  987. this.$message.error(res.msg);
  988. }
  989. })
  990. }
  991. })
  992. },
  993. lookdetail (row) {
  994. this.orderVisible = true;
  995. this.activeId = row.studentId;
  996. this.orderForm.name = row.studentName;
  997. this.orderForm.subject = row.subjectName;
  998. getStudentFeeDetail({ musicGroupId: this.id, studentId: row.studentId }).then(res => {
  999. if (res.code == 200) {
  1000. if (res.data) {
  1001. this.orderForm.totalAmount = res.data.totalAmount;
  1002. // this.orderForm.subjectFee = res.data.courseFee;
  1003. let goodStr = '';
  1004. let goodPrice = 0;
  1005. let otherStr = '';
  1006. let othersPrice = 0;
  1007. for (let i in res.data.goods) {
  1008. if (res.data.goods[i].goodsType == 'INSTRUMENT') {
  1009. goodStr += res.data.goods[i].goodsName + ',';
  1010. goodPrice += parseFloat(res.data.goods[i].musicalFee);
  1011. // this.orderForm.axe = res.data.goods[i].goodsName;
  1012. // this.orderForm.axePrice = res.data.goods[i].musicalFee;
  1013. } else if (res.data.goods[i].goodsType == 'ACCESSORIES') {
  1014. otherStr += res.data.goods[i].goodsName + ',';
  1015. othersPrice += parseFloat(res.data.goods[i].musicalFee);
  1016. // this.orderForm.others = res.data.goods[i].goodsName;
  1017. // this.orderForm.othersPrice = res.data.goods[i].musicalFee;
  1018. } else if (res.data.goods[i].goodsType == 'COURSE') {
  1019. this.orderForm.subjectFee = res.data.goods[i].musicalFee
  1020. }
  1021. }
  1022. this.orderForm.others = otherStr.substring(0, otherStr.length - 1);
  1023. this.orderForm.othersPrice = othersPrice;
  1024. this.orderForm.axe = goodStr.substring(0, goodStr.length - 1);
  1025. this.orderForm.axePrice = goodPrice;
  1026. }
  1027. }
  1028. })
  1029. },
  1030. saveIsEdit () {
  1031. // 提交数据
  1032. this.isEdit = false;
  1033. resetPlanNum(this.leftList).then(res => {
  1034. })
  1035. },
  1036. quitTeam (row) {
  1037. this.activeRow = row;
  1038. this.quitVisible = true;
  1039. },
  1040. quieTeams (row) {
  1041. this.$confirm("确定退团?", "提示", {
  1042. confirmButtonText: "确定",
  1043. cancelButtonText: "取消",
  1044. type: "warning"
  1045. })
  1046. .then(() => {
  1047. // 发请求 退团
  1048. StudentQuit({
  1049. musicGroupId: this.id,
  1050. userId: row.studentId,
  1051. reason: '',
  1052. isRefundCourseFee: false,
  1053. isRefundInstrumentFee: false,
  1054. isRefundTeachingAssistantsFee: false
  1055. }).then(res => {
  1056. this.quitForm = {
  1057. // 退团信息确认
  1058. isRefundCourseFee: null,
  1059. isRefundInstrumentFee: null,
  1060. isRefundTeachingAssistantsFee: null,
  1061. reason: ""
  1062. };
  1063. if (res.code == 200) {
  1064. this.$message.success("退团成功");
  1065. this.getList();
  1066. this.quitVisible = false;
  1067. }
  1068. });
  1069. })
  1070. .catch(() => { });
  1071. },
  1072. chioseType () {
  1073. this.$refs["quitForm"].validate(res => {
  1074. if (res) {
  1075. this.$confirm("确定退团?", "提示", {
  1076. confirmButtonText: "确定",
  1077. cancelButtonText: "取消",
  1078. type: "warning"
  1079. })
  1080. .then(() => {
  1081. let row = this.activeRow;
  1082. // 发请求 退团
  1083. StudentQuit({
  1084. musicGroupId: this.id,
  1085. userId: row.studentId,
  1086. reason: this.quitForm.reason,
  1087. isRefundCourseFee: this.quitForm.isRefundCourseFee,
  1088. isRefundInstrumentFee: this.quitForm.isRefundInstrumentFee,
  1089. isRefundTeachingAssistantsFee: this.quitForm
  1090. .isRefundTeachingAssistantsFee
  1091. }).then(res => {
  1092. this.quitForm = {
  1093. // 退团信息确认
  1094. isRefundCourseFee: null,
  1095. isRefundInstrumentFee: null,
  1096. isRefundTeachingAssistantsFee: null,
  1097. reason: ""
  1098. };
  1099. if (res.code == 200) {
  1100. this.$message.success("退团成功");
  1101. this.getList();
  1102. this.quitVisible = false;
  1103. }
  1104. });
  1105. })
  1106. .catch(() => { });
  1107. } else {
  1108. }
  1109. });
  1110. // row.typeVisible = false;
  1111. },
  1112. addVisit (row) {
  1113. this.visitForm.studentName = row.studentName;
  1114. this.visitForm.musicGroupId = this.teamid
  1115. this.visitForm.studentId = row.studentId
  1116. this.visitVisiable = true;
  1117. },
  1118. openChangeVoice (row) {
  1119. this.getList()
  1120. .then(res => {
  1121. for (const item of res.data.rows) {
  1122. if (item.id === row.id) {
  1123. this.rowDetail = { ...item }
  1124. this.changeVoiceVisible = true
  1125. }
  1126. }
  1127. })
  1128. },
  1129. closeChangeVoice () {
  1130. this.changeVoiceVisible = false
  1131. // this.rowDetail = null
  1132. },
  1133. handleChange (val) {
  1134. this.visitForm.type = val[0]
  1135. this.visitForm.purpose = val[1]
  1136. },
  1137. submitAddVisit () {
  1138. this.$refs.visitForm.validate(res => {
  1139. if (res) {
  1140. this.visitForm.visitType = null;
  1141. addVisit(cleanDeep(this.visitForm)).then(res => {
  1142. if (res.code === 200) {
  1143. this.$message.success('新增成功')
  1144. this.visitVisiable = false
  1145. }
  1146. })
  1147. }
  1148. })
  1149. },
  1150. beginDate () {
  1151. let self = this;
  1152. return {
  1153. firstDayOfWeek: 1,
  1154. disabledDate (time) {
  1155. return time.getTime() >= new Date().getTime(); //开始时间不选时,结束时间最大值小于等于当天
  1156. }
  1157. };
  1158. },
  1159. },
  1160. watch: {
  1161. orderVisible (val) {
  1162. if (!val) {
  1163. this.orderForm = {
  1164. name: '',
  1165. totalAmount: '',
  1166. subject: '',
  1167. subjectFee: '',
  1168. axe: '',
  1169. axePrice: '',
  1170. others: '',
  1171. othersPrice: ''
  1172. }
  1173. }
  1174. },
  1175. qrcodeStatus (val) {
  1176. if (!val) {
  1177. this.qrcode.clear()
  1178. }
  1179. },
  1180. qrcodeStatus2 (val) {
  1181. if (!val) {
  1182. this.qrcode2.clear()
  1183. }
  1184. },
  1185. paymentStatus (val) {
  1186. if (!val) {
  1187. this.paymentForm = {
  1188. paymentExpireDate: null,
  1189. // feeType: null
  1190. }
  1191. }
  1192. },
  1193. quitVisible (val) {
  1194. if (!val) {
  1195. this.quitForm = {
  1196. // 退团信息确认
  1197. isRefundCourseFee: null,
  1198. isRefundInstrumentFee: null,
  1199. isRefundTeachingAssistantsFee: null,
  1200. reason: ""
  1201. };
  1202. this.$refs["quitForm"].resetFields();
  1203. }
  1204. },
  1205. visitVisiable (val) {
  1206. if (!val) {
  1207. this.$refs["visitForm"].resetFields();
  1208. }
  1209. }
  1210. }
  1211. }
  1212. </script>
  1213. <style lang="scss" scoped>
  1214. .sigup-container {
  1215. margin-left: 12px;
  1216. .topWrap {
  1217. padding: 18px 58px;
  1218. // height: 136px;
  1219. background-color: #fff;
  1220. display: flex;
  1221. flex-direction: row;
  1222. justify-content: space-between;
  1223. .msg.pay {
  1224. color: #f85043;
  1225. }
  1226. .msg {
  1227. text-align: right;
  1228. color: #f97215;
  1229. font-size: 32px;
  1230. font-weight: bold;
  1231. padding-top: 30px;
  1232. box-sizing: border-box;
  1233. img {
  1234. width: 36px;
  1235. height: 36px;
  1236. position: relative;
  1237. top: 5px;
  1238. margin-right: 8px;
  1239. }
  1240. }
  1241. h2 {
  1242. height: 48px;
  1243. line-height: 48px;
  1244. position: relative;
  1245. // padding-left: 30px;
  1246. font-size: 32px;
  1247. font-weight: 600;
  1248. margin-bottom: 10px;
  1249. display: flex;
  1250. flex-direction: row;
  1251. justify-content: flex-start;
  1252. align-items: center;
  1253. .term {
  1254. height: 32px;
  1255. line-height: 32px;
  1256. border-radius: 24px;
  1257. width: 100px;
  1258. color: #14928a;
  1259. border: 1px solid rgba(20, 146, 138, 1);
  1260. font-size: 14px;
  1261. text-align: center;
  1262. margin-right: 12px;
  1263. &:nth-child(1) {
  1264. margin-left: 47px;
  1265. }
  1266. }
  1267. .term.active {
  1268. color: #fff;
  1269. background-color: #14928a;
  1270. }
  1271. .squrt {
  1272. position: absolute;
  1273. left: -25px;
  1274. top: 8px;
  1275. height: 34px;
  1276. width: 8px;
  1277. background-color: #14928a;
  1278. }
  1279. }
  1280. .btnList {
  1281. display: flex;
  1282. flex-direction: row;
  1283. justify-content: flex-start;
  1284. align-items: center;
  1285. div {
  1286. margin-right: 15px;
  1287. }
  1288. }
  1289. .newBand.close {
  1290. background-color: #777;
  1291. border: 1px solid #777;
  1292. }
  1293. }
  1294. .searchList {
  1295. background-color: #fff;
  1296. padding: 0 58px;
  1297. }
  1298. .sigup-core {
  1299. margin-top: 12px;
  1300. display: flex;
  1301. flex-direction: row;
  1302. justify-content: flex-start;
  1303. .left {
  1304. width: 340px;
  1305. background-color: #fff;
  1306. height: 80vh;
  1307. overflow: auto;
  1308. }
  1309. .right {
  1310. width: calc(100% - 340px);
  1311. margin-left: 12px;
  1312. flex-grow: 1;
  1313. }
  1314. }
  1315. }
  1316. .el-dialog__body {
  1317. overflow: hidden;
  1318. }
  1319. .left-code,
  1320. .right-code {
  1321. // width: 50%;
  1322. // float: left;
  1323. h2 {
  1324. font-size: 18px;
  1325. text-align: center;
  1326. padding-bottom: 8px;
  1327. }
  1328. .qrcode {
  1329. display: flex;
  1330. flex-direction: column;
  1331. align-items: center;
  1332. img {
  1333. width: 200px;
  1334. height: 200px;
  1335. margin: 0 auto;
  1336. }
  1337. }
  1338. .code-url {
  1339. font-size: 18px;
  1340. text-align: center;
  1341. padding: 15px 15px 0 15px;
  1342. }
  1343. }
  1344. .newBand {
  1345. margin-bottom: 0;
  1346. }
  1347. /deep/.el-button--danger {
  1348. background: #f85043;
  1349. }
  1350. .paymentForm {
  1351. /deep/.el-input__inner,
  1352. /deep/.el-input.el-input--suffix {
  1353. width: 360px !important;
  1354. }
  1355. }
  1356. </style>