signupList.vue 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124
  1. <template>
  2. <div class="sigup-container">
  3. <div class="topWrap">
  4. <div>
  5. <div style="display: flex; justify-content: space-between">
  6. <div
  7. style="
  8. display: flex;
  9. margin-bottom: 15px;
  10. font-size: 18px;
  11. font-weight: 400;
  12. "
  13. >
  14. <p style="margin-right: 10px" v-if="applyExpireDate">
  15. 报名截止时间:{{ applyExpireDate | formatTimer }}
  16. </p>
  17. <p v-if="paymentExpireDate">
  18. 缴费截止时间:{{ paymentExpireDate | formatTimer }}
  19. </p>
  20. </div>
  21. </div>
  22. <div class="btnList">
  23. <!-- <div class='newBand close'
  24. v-permission="'musicGroup/cancelMusicGroup'"
  25. @click="onClose">停止乐团</div> v-show="status == 'APPLY'"-->
  26. <div
  27. class="newBand"
  28. @click="payStart"
  29. v-permission="'musicGroup/openPay'"
  30. v-if="status == 'APPLY'"
  31. >
  32. 开始缴费
  33. </div>
  34. <!-- v-show="status=='PAY'" -->
  35. <div
  36. class="newBand"
  37. v-permission="'musicGroup/found'"
  38. @click="onGoHome"
  39. v-if="status == 'APPLY' || status == 'PAY'"
  40. >
  41. 确认开团
  42. </div>
  43. <div
  44. class="newBand"
  45. v-permission="'musicGroup/extensionPayment'"
  46. @click="extendTime(true)"
  47. v-show="
  48. status == 'PAY' || status == 'PROGRESS' || status == 'PREPARE'
  49. "
  50. >
  51. 延长缴费
  52. </div>
  53. <div
  54. class="newBand"
  55. v-permission="'musicGroup/extensionApplyExpireDate'"
  56. @click="extendTime(false)"
  57. v-show="
  58. status == 'PAY' ||
  59. status == 'APPLY' ||
  60. status == 'PROGRESS' ||
  61. status == 'PREPARE'
  62. "
  63. >
  64. 延长报名
  65. </div>
  66. <div
  67. class="newBand"
  68. @click="onCreateQRCode('payment')"
  69. v-show="
  70. (status == 'PAY' ||
  71. status == 'APPLY' ||
  72. status == 'PROGRESS' ||
  73. status == 'PREPARE') &&
  74. ischeckCanReg
  75. "
  76. >
  77. 报名链接
  78. </div>
  79. <div class="newBand" @click="onCreateQRCode('detail')">缴费详情</div>
  80. <auth :auths="'studentRegistration/queryPreApplyList/4263'">
  81. <div
  82. class="newBand"
  83. style="margin-right: 0"
  84. @click="forecastVisible = true"
  85. >
  86. 预报名名单
  87. </div>
  88. </auth>
  89. <!-- v-permission="getFullPermission('musicGroup/addMusicGroupRegs')" -->
  90. <div
  91. class="newBand"
  92. v-permission="'musicGroup/addMusicGroupRegs'"
  93. @click="mergeVisible = true"
  94. v-show="
  95. (status == 'PAY' ||
  96. status == 'APPLY' ||
  97. status == 'PROGRESS' ||
  98. status == 'PREPARE') &&
  99. ischeckCanReg
  100. "
  101. >
  102. 合并学员
  103. </div>
  104. <div
  105. class="newBand"
  106. style="background-color: #f97215; border: 1px solid #f97215"
  107. @click="onCreateQRCode('rePayment')"
  108. v-show="
  109. (status == 'PAY' ||
  110. status == 'APPLY' ||
  111. status == 'PROGRESS' ||
  112. status == 'PREPARE') &&
  113. ischeckCanReg
  114. "
  115. >
  116. 报名链接(无乐器)
  117. </div>
  118. <div
  119. class="newBand"
  120. v-permission="'studentRegistration/queryStudentApplyDetailExport'"
  121. @click="onDownLoadExecl"
  122. >
  123. 名单导出
  124. </div>
  125. <auth :auths="'studentRegistration/getRegisterOrPreList'">
  126. <div
  127. class="newBand"
  128. style="margin-right: 0"
  129. @click="newForecastVisible = true"
  130. >
  131. 时间数据统计
  132. </div>
  133. </auth>
  134. <auth :auths="'subject/findSubApplyDetail'">
  135. <el-popover placement="bottom" width="1000" trigger="hover">
  136. <el-table
  137. style="width: 100% !important"
  138. :data="leftList"
  139. :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
  140. >
  141. <el-table-column
  142. label="乐团声部"
  143. prop="subjectName"
  144. align="center"
  145. >
  146. </el-table-column>
  147. <el-table-column
  148. label="计划招生"
  149. prop="expectedStudentNum"
  150. align="center"
  151. >
  152. <template slot-scope="scope">
  153. <div>
  154. <p v-show="!isEdit">{{ scope.row.expectedStudentNum }}</p>
  155. <el-input
  156. v-show="isEdit"
  157. v-model.trim="scope.row.expectedStudentNum"
  158. ></el-input>
  159. </div>
  160. </template>
  161. </el-table-column>
  162. <el-table-column
  163. label="已报名"
  164. prop="applyStudentNum"
  165. align="center"
  166. >
  167. </el-table-column>
  168. <el-table-column label="已缴费" prop="payNum" align="center">
  169. <template slot-scope="scope">
  170. <div>
  171. <el-button type="text" @click="getpayNum(scope.row)">{{
  172. scope.row.payNum
  173. }}</el-button>
  174. </div>
  175. </template>
  176. </el-table-column>
  177. <el-table-column label="缴费中" prop="payingNum" align="center">
  178. <template slot="header">
  179. <p>
  180. 缴费中
  181. <el-tooltip placement="top" popper-class="mTooltip">
  182. <div slot="content">提交订单尚未支付成功学员</div>
  183. <i
  184. class="el-icon-question"
  185. style="font-size: 18px; color: #f56c6c"
  186. ></i>
  187. </el-tooltip>
  188. </p>
  189. </template>
  190. <template slot-scope="scope">
  191. <div>
  192. <el-button type="text" @click="getpayingNum(scope.row)">{{
  193. scope.row.payingNum
  194. }}</el-button>
  195. </div>
  196. </template>
  197. </el-table-column>
  198. <el-table-column label="审核中" prop="checkNum" align="center">
  199. <template slot="header">
  200. <p>
  201. 审核中
  202. <el-tooltip placement="top" popper-class="mTooltip">
  203. <div slot="content">
  204. 不购买云教练系统学员数量,不包含已缴费学员
  205. </div>
  206. <i
  207. class="el-icon-question"
  208. style="font-size: 18px; color: #f56c6c"
  209. ></i>
  210. </el-tooltip>
  211. </p>
  212. </template>
  213. <template slot-scope="scope">
  214. <div>
  215. <el-button type="text" @click="getCheckNum(scope.row)">{{
  216. scope.row.checkNum
  217. }}</el-button>
  218. </div>
  219. </template>
  220. </el-table-column>
  221. <el-table-column label="购买云教练人数" prop="buyCloudTeacherNum" align="center">
  222. <template slot="header">
  223. <p>
  224. 购买云教练人数
  225. <el-tooltip placement="top" popper-class="mTooltip">
  226. <div slot="content">
  227. 已缴费学员中购买了云教练系统的学员总数
  228. </div>
  229. <i
  230. class="el-icon-question"
  231. style="font-size: 18px; color: #f56c6c"
  232. ></i>
  233. </el-tooltip>
  234. </p>
  235. </template>
  236. <template slot-scope="scope">
  237. <div>
  238. <el-button type="text" @click="getCheckNum(scope.row, 'buyCloud')">{{
  239. scope.row.buyCloudTeacherNum
  240. }}</el-button>
  241. </div>
  242. </template>
  243. </el-table-column>
  244. <el-table-column label="入团未购云教练" prop="noCloudTeacherStudentNumOfNormal" align="center">
  245. <template slot="header">
  246. <p>
  247. 入团未购云教练
  248. <el-tooltip placement="top" popper-class="mTooltip">
  249. <div slot="content">
  250. 【在读】学员中,未购买【云教练系统】学员数量
  251. </div>
  252. <i
  253. class="el-icon-question"
  254. style="font-size: 18px; color: #f56c6c"
  255. ></i>
  256. </el-tooltip>
  257. </p>
  258. </template>
  259. <template slot-scope="scope">
  260. <div>
  261. <el-button type="text" @click="getCheckNum(scope.row, 'noCloud')">{{
  262. scope.row.noCloudTeacherStudentNumOfNormal
  263. }}</el-button>
  264. </div>
  265. </template>
  266. </el-table-column>
  267. <!-- <el-table-column label="购买乐器未入团人数" prop="cloudTeacherStudentNumOfApply" align="center">
  268. <template slot="header">
  269. <p>
  270. 购买乐器未入团人数
  271. <el-tooltip placement="top" popper-class="mTooltip">
  272. <div slot="content">
  273. 只购买乐器未解除限制学员数量(不包括退团学员)
  274. </div>
  275. <i
  276. class="el-icon-question"
  277. style="font-size: 18px; color: #f56c6c"
  278. ></i>
  279. </el-tooltip>
  280. </p>
  281. </template>
  282. <template slot-scope="scope">
  283. <div>
  284. <el-button type="text" @click="getCheckNum(scope.row, 'cloudTeacher')">{{
  285. scope.row.cloudTeacherStudentNumOfApply
  286. }}</el-button>
  287. </div>
  288. </template>
  289. </el-table-column> -->
  290. </el-table>
  291. <div
  292. class="btnWrap"
  293. v-permission="'musicGroup/updateExpectedStudentNum'"
  294. style="margin-right: 20px; margin-top: 20px"
  295. >
  296. <el-button
  297. v-show="
  298. !isEdit &&
  299. (status == 'PAY' ||
  300. status == 'APPLY' ||
  301. status == 'PROGRESS' ||
  302. status == 'PREPARE')
  303. "
  304. @click="isEdit = true"
  305. >编辑</el-button
  306. >
  307. <el-button v-show="isEdit" @click="saveIsEdit">保存</el-button>
  308. </div>
  309. <div class="newBand" slot="reference">人数统计</div>
  310. </el-popover>
  311. </auth>
  312. </div>
  313. </div>
  314. <el-dialog
  315. title="选择合并乐团"
  316. :visible.sync="mergeVisible"
  317. width="950px"
  318. >
  319. <mergeMusic
  320. v-if="mergeVisible"
  321. style="padding: 0 20px"
  322. :organId="organId"
  323. @close="mergeVisible = false"
  324. @submited="getList"
  325. />
  326. </el-dialog>
  327. <el-dialog
  328. title="时间数据统计"
  329. :visible.sync="newForecastVisible"
  330. width="1100px"
  331. >
  332. <newForecastList
  333. v-if="newForecastVisible"
  334. @close="newForecastVisible = false"
  335. />
  336. </el-dialog>
  337. <el-dialog
  338. title="预报名名单"
  339. :visible.sync="forecastVisible"
  340. width="1100px"
  341. >
  342. <forecastList v-if="forecastVisible" @close="forecastVisible = false" />
  343. </el-dialog>
  344. <!-- stepImgs: {
  345. APPLY: require('@/assets/images/base/clock.png'),
  346. PAY: require('@/assets/images/base/pay.png')
  347. }, -->
  348. </div>
  349. <div class="searchList">
  350. <save-form
  351. :inline="true"
  352. :model="searchFrom"
  353. @submit="search"
  354. @reset="onReset"
  355. >
  356. <el-form-item>
  357. <el-select
  358. v-model.trim="searchFrom.subject"
  359. filterable
  360. clearable
  361. placeholder="请选择专业"
  362. >
  363. <el-option
  364. v-for="(item, index) in soundList"
  365. :key="index"
  366. :label="item.name"
  367. :value="item.id"
  368. ></el-option>
  369. </el-select>
  370. </el-form-item>
  371. <el-form-item>
  372. <el-select
  373. v-model.trim="searchFrom.isAllowAdjust"
  374. filterable
  375. placeholder="请选择是否允许调剂"
  376. clearable
  377. >
  378. <el-option label="是" value="1"></el-option>
  379. <el-option label="否" value="0"></el-option>
  380. </el-select>
  381. </el-form-item>
  382. <el-form-item>
  383. <el-input
  384. v-model.trim="searchFrom.name"
  385. placeholder="请输入用户名或手机号"
  386. clearable
  387. ></el-input>
  388. </el-form-item>
  389. <el-form-item>
  390. <!-- <el-input v-model.trim="searchFrom.currentGrade" placeholder="请输入年级" clearable></el-input> -->
  391. <el-select
  392. v-model.trim="searchFrom.currentGrade"
  393. filterable
  394. clearable
  395. placeholder="请输入年级"
  396. >
  397. <el-option
  398. v-for="(item, index) in gradeList"
  399. :key="index"
  400. :label="item.label"
  401. :value="item.label"
  402. ></el-option>
  403. </el-select>
  404. </el-form-item>
  405. <el-form-item>
  406. <el-select
  407. v-model.trim="searchFrom.paymentStatus"
  408. clearable
  409. filterable
  410. placeholder="报名缴费"
  411. >
  412. <el-option label="未开启缴费" value="0"></el-option>
  413. <el-option label="开启缴费" value="1"></el-option>
  414. <el-option label="已缴费" value="2"></el-option>
  415. </el-select>
  416. </el-form-item>
  417. <el-form-item>
  418. <el-select
  419. v-model.trim="searchFrom.visited"
  420. clearable
  421. filterable
  422. placeholder="是否回访"
  423. >
  424. <el-option label="否" value="false"></el-option>
  425. <el-option label="是" value="true"></el-option>
  426. </el-select>
  427. </el-form-item>
  428. <el-form-item>
  429. <el-select
  430. v-model.trim="searchFrom.hasCloudTeacher"
  431. clearable
  432. filterable
  433. placeholder="是否购买云教练"
  434. >
  435. <el-option label="是" :value="1"></el-option>
  436. <el-option label="否" :value="0"></el-option>
  437. </el-select>
  438. </el-form-item>
  439. <el-form-item>
  440. <el-select
  441. v-model.trim="searchFrom.noneNeedCloudTeacher"
  442. clearable
  443. filterable
  444. placeholder="是否解除限制"
  445. >
  446. <el-option label="是" :value="1"></el-option>
  447. <el-option label="否" :value="0"></el-option>
  448. </el-select>
  449. </el-form-item>
  450. <el-form-item>
  451. <el-select
  452. v-model.trim="searchFrom.payingStatus"
  453. clearable
  454. filterable
  455. placeholder="订单状态"
  456. >
  457. <el-option label="缴费中" :value="1"></el-option>
  458. <el-option label="审核中" :value="2"></el-option>
  459. </el-select>
  460. </el-form-item>
  461. <el-form-item prop="studentStatus">
  462. <el-select
  463. v-model.trim="searchFrom.studentStatus"
  464. clearable
  465. filterable
  466. placeholder="学员状态"
  467. >
  468. <el-option label="在读" value="NORMAL"></el-option>
  469. <!-- <el-option label="请假" value="LEAVE"></el-option>
  470. <el-option label="退团" value="QUIT"></el-option> -->
  471. <el-option label="报名" value="APPLY"></el-option>
  472. </el-select>
  473. </el-form-item>
  474. <!-- 专业actualSubjectId 调剂isAllowAdjust 手机号name -->
  475. <el-form-item>
  476. <el-button type="danger" native-type="search">搜索</el-button>
  477. <el-button type="primary" native-type="reset">重置</el-button>
  478. </el-form-item>
  479. </save-form>
  480. </div>
  481. <div>
  482. <el-table
  483. :data="rightList"
  484. ref="multipleTable"
  485. :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
  486. @selection-change="handleSelectionChange"
  487. >
  488. <el-table-column
  489. type="selection"
  490. width="55"
  491. :selectable="checkboxSelect"
  492. >
  493. </el-table-column>
  494. <el-table-column label="学员姓名" prop="studentName" align="center">
  495. <template slot-scope="scope">
  496. <div>{{ scope.row.studentName }}({{ scope.row.gender | sex }})</div>
  497. </template>
  498. </el-table-column>
  499. <el-table-column label="家长姓名" prop="parentsName" align="center">
  500. </el-table-column>
  501. <el-table-column align="center" label="入团年份">
  502. <template slot-scope="scope">
  503. <div>
  504. {{ scope.row.createTime | dayjsFormat("YYYY年") }}
  505. </div>
  506. </template>
  507. </el-table-column>
  508. <el-table-column label="联系电话" prop="parentsPhone" align="center">
  509. </el-table-column>
  510. <el-table-column label="年级班级" align="center">
  511. <template slot-scope="scope">
  512. <div>
  513. {{ scope.row.currentGrade + scope.row.currentClass }}
  514. </div>
  515. </template>
  516. </el-table-column>
  517. <!-- <el-table-column label="性别" prop="gender" align="center">
  518. <template slot-scope="scope">
  519. <div>
  520. {{ scope.row.gender | sex }}
  521. </div>
  522. </template>
  523. </el-table-column> -->
  524. <el-table-column label="服从调剂" prop="isAllowAdjust" align="center">
  525. <template slot-scope="scope">
  526. <div>
  527. {{ scope.row.isAllowAdjust | isAllowAdjust }}
  528. </div>
  529. </template>
  530. </el-table-column>
  531. <!-- <el-table-column label="报名专业" prop="subjectName" align="center">
  532. </el-table-column> -->
  533. <el-table-column
  534. label="报名/调剂专业"
  535. prop="actualSubjectName"
  536. align="center"
  537. >
  538. <template slot-scope="scope">
  539. <div>
  540. {{ scope.row.subjectName }} / {{ scope.row.actualSubjectName }}
  541. </div>
  542. </template>
  543. </el-table-column>
  544. <el-table-column label="是否回访" prop="paymentStatus" align="center">
  545. <template slot-scope="scope">
  546. <div>
  547. {{ scope.row.visitNum ? "是" : "否" }}
  548. </div>
  549. </template>
  550. </el-table-column>
  551. <!-- visited -->
  552. <!-- v-show='status == "PAY"' -->
  553. <el-table-column
  554. label="报名缴费状态"
  555. prop="paymentStatus"
  556. align="center"
  557. >
  558. <template slot-scope="scope">
  559. <div>
  560. {{ scope.row.paymentStatus | paymentStatus }}
  561. </div>
  562. </template>
  563. </el-table-column>
  564. <el-table-column label="学员状态" prop="studentStatus" align="center">
  565. <template slot-scope="scope">
  566. <div>
  567. {{ scope.row.studentStatus | musicGroupStudentType }}
  568. </div>
  569. </template>
  570. </el-table-column>
  571. <el-table-column label="订单状态" prop="payingStatus" align="center">
  572. <template slot-scope="scope">
  573. <div>
  574. {{ scope.row.payingStatus | filtersPayingStatus }}
  575. </div>
  576. </template>
  577. </el-table-column>
  578. <el-table-column
  579. label="是否购买云教练"
  580. fixed="right"
  581. prop="hasCloudTeacher"
  582. align="center"
  583. >
  584. <template slot-scope="scope">
  585. <div>
  586. {{ scope.row.hasCloudTeacher == 1 ? "是" : "否" }}
  587. </div>
  588. </template>
  589. </el-table-column>
  590. <el-table-column
  591. label="解除限制"
  592. fixed="right"
  593. prop="noneNeedCloudTeacher"
  594. align="center"
  595. >
  596. <template slot="header">
  597. <p style="position: relative; display: flex">
  598. 解除限制
  599. <el-tooltip placement="top" popper-class="mTooltip">
  600. <div slot="content">学员是否受到不购买云教练的缴费限制</div>
  601. <i
  602. class="el-icon-question"
  603. style="font-size: 18px; color: #f56c6c"
  604. ></i>
  605. </el-tooltip>
  606. </p>
  607. </template>
  608. <template slot-scope="scope">
  609. <div>
  610. {{ scope.row.noneNeedCloudTeacher == 1 ? "是" : "否" }}
  611. </div>
  612. </template>
  613. </el-table-column>
  614. <el-table-column
  615. label="操作"
  616. fixed="right"
  617. width="240"
  618. align="center"
  619. v-if="
  620. status == 'PAY' ||
  621. status == 'APPLY' ||
  622. status == 'PROGRESS' ||
  623. status == 'PREPARE'
  624. "
  625. >
  626. <!-- v-show="
  627. status == 'PAY' || status == 'PROGRESS' || status == 'PREPARE' || status=='APPLY'
  628. " -->
  629. <template slot-scope="scope">
  630. <div>
  631. <auth :auths="'studentRegistration/batchUpdateSubject'">
  632. <el-button
  633. type="text"
  634. v-show="scope.row.paymentStatus != 2"
  635. @click="resetSubject(scope.row)"
  636. >修改专业</el-button
  637. >
  638. </auth>
  639. <!-- APPLY status == "APPLY" || s-->
  640. <el-popover
  641. v-show="scope.row.remark"
  642. placement="top-start"
  643. title="备注"
  644. width="200"
  645. trigger="hover"
  646. :content="scope.row.remark"
  647. >
  648. <el-button type="text" slot="reference">备注</el-button>
  649. </el-popover>
  650. <!-- PAY -->
  651. <!-- && status == "PAY"-->
  652. <auth
  653. :auths="'studentRegistration/queryFeeDetail'"
  654. v-show="scope.row.paymentStatus == 2"
  655. >
  656. <el-button type="text" @click="lookdetail(scope.row)"
  657. >查看</el-button
  658. >
  659. </auth>
  660. <auth
  661. :auths="'musicGroupQuit/directQuitMusicGroup2'"
  662. v-show="scope.row.paymentStatus == 2"
  663. >
  664. <el-button type="text" @click="quitTeam(scope.row)"
  665. >退团退费</el-button
  666. >
  667. </auth>
  668. <auth
  669. :auths="'musicGroupQuit/directQuitMusicGroup3'"
  670. v-show="scope.row.paymentStatus == 2"
  671. >
  672. <el-button type="text" @click="quieTeams(scope.row)"
  673. >退团</el-button
  674. >
  675. </auth>
  676. <auth
  677. :auths="'visit/add/teamSignupList'"
  678. v-if="scope.row.visitNum <= 0"
  679. >
  680. <el-button type="text" @click="addVisit(scope.row)"
  681. >新增回访</el-button
  682. >
  683. </auth>
  684. <auth
  685. :auths="'subjectChange/getStudentOriginal'"
  686. v-show="scope.row.paymentStatus == 2"
  687. >
  688. <el-button type="text" @click="openChangeVoice(scope.row)"
  689. >更改声部</el-button
  690. >
  691. </auth>
  692. <!-- -->
  693. <auth
  694. v-show="
  695. scope.row.payingStatus == 2 &&
  696. scope.row.noneNeedCloudTeacher == 0
  697. "
  698. :auths="'studentRegistration/setNoneCloudTeacher'"
  699. >
  700. <el-button type="text" @click="relieve(scope.row)"
  701. >解除预约限制</el-button
  702. >
  703. </auth>
  704. <auth
  705. :auths="'studentRegistration/setCloudTeacherToFailed'"
  706. >
  707. <el-button type="text" v-if="scope.row.payingStatus == 2" @click="failedRelieve(scope.row)"
  708. >拒绝审核</el-button
  709. >
  710. </auth>
  711. </div>
  712. </template>
  713. </el-table-column>
  714. </el-table>
  715. <div
  716. style="margin-top: 10px; margin-bottom: 10px"
  717. v-show="
  718. status == 'APPLY' || status == 'PROGRESS' || status == 'PREPARE'
  719. "
  720. >
  721. <el-button @click="onSelectAll">全选/取消</el-button>
  722. <auth :auths="'studentRegistration/openPayment'">
  723. <el-button
  724. style="background-color: #14928a; border: 1px solid #14928a"
  725. @click="onPartPayment"
  726. type="primary"
  727. >开启缴费</el-button
  728. >
  729. </auth>
  730. <!-- <div class='newBand' v-show="status=='APPLY'">允许缴费</div> -->
  731. </div>
  732. <pagination
  733. sync
  734. :total.sync="rules.total"
  735. :page.sync="rules.page"
  736. :limit.sync="rules.limit"
  737. :page-sizes="rules.page_size"
  738. @pagination="getList"
  739. />
  740. </div>
  741. <el-dialog title="修改专业" :visible.sync="subjectVisible" width="400px">
  742. <el-form :model="maskForm">
  743. <el-form-item label="选择专业">
  744. <el-select v-model.trim="maskForm.subject" filterable clearable>
  745. <el-option
  746. v-for="(item, index) in soundList"
  747. :key="index"
  748. :label="item.name"
  749. :value="item.id"
  750. ></el-option>
  751. </el-select>
  752. </el-form-item>
  753. </el-form>
  754. <div slot="footer" class="dialog-footer">
  755. <el-button @click="subjectVisible = false">取 消</el-button>
  756. <el-button type="primary" @click="okReset">确 定</el-button>
  757. </div>
  758. </el-dialog>
  759. <el-dialog
  760. :title="!isPay ? '延长报名' : '延长缴费'"
  761. :visible.sync="extendPaymentStatus"
  762. destroy-on-close
  763. width="400px"
  764. >
  765. <el-form :model="extendForm" ref="extendForm" :rules="extendRule">
  766. <el-form-item v-if="isPay" label="延长缴费时间" prop="expireDate">
  767. <el-date-picker
  768. v-model.trim="extendForm.expireDate"
  769. value-format="yyyy-MM-dd"
  770. type="date"
  771. :picker-options="payDate()"
  772. placeholder="选择日期"
  773. >
  774. </el-date-picker>
  775. </el-form-item>
  776. <el-form-item label="延长报名时间" v-else prop="expireDate">
  777. <el-date-picker
  778. v-model.trim="extendForm.expireDate"
  779. value-format="yyyy-MM-dd"
  780. type="date"
  781. :picker-options="applyDates"
  782. placeholder="选择日期"
  783. >
  784. </el-date-picker>
  785. </el-form-item>
  786. </el-form>
  787. <div slot="footer" class="dialog-footer">
  788. <el-button @click="extendPaymentStatus = false">取 消</el-button>
  789. <el-button
  790. type="primary"
  791. v-if="isPay"
  792. @click="onExtendPayment('extendForm', isPay)"
  793. >确 定</el-button
  794. >
  795. <el-button
  796. v-else
  797. type="primary"
  798. @click="onExtendPayment('extendForm', isPay)"
  799. >确 定</el-button
  800. >
  801. </div>
  802. </el-dialog>
  803. <el-dialog title="订单详情" :visible.sync="orderVisible" width="800px">
  804. <template v-if="orderForm.length > 0">
  805. <descriptions :column="2">
  806. <template v-for="(item, index) in orderForm">
  807. <descriptions-item :key="index" :label="item.name">{{ item.price | moneyFormat }}元</descriptions-item>
  808. <descriptions-item :key="index" label="缴费时间">{{ item.createTime }}</descriptions-item>
  809. </template>
  810. </descriptions>
  811. </template>
  812. <el-row v-else>
  813. <el-col :span="24">
  814. <empty desc="暂无订单详情" />
  815. </el-col>
  816. </el-row>
  817. <div slot="footer" class="dialog-footer">
  818. <el-button type="primary" @click="orderVisible = false"
  819. >确 定</el-button
  820. >
  821. </div>
  822. </el-dialog>
  823. <el-dialog
  824. title="开始缴费"
  825. :visible.sync="paymentStatus"
  826. width="400px"
  827. destroy-on-close
  828. >
  829. <el-form
  830. ref="paymentForm"
  831. class="paymentForm"
  832. :model="paymentForm"
  833. label-position="top"
  834. :rules="paymentRules"
  835. >
  836. <el-form-item label="请设置缴费截止日期" prop="paymentExpireDate">
  837. <el-date-picker
  838. v-model.trim="paymentForm.paymentExpireDate"
  839. type="date"
  840. value-format="yyyy-MM-dd"
  841. :picker-options="payDate()"
  842. style="width: 100%"
  843. placeholder="选择日期"
  844. >
  845. </el-date-picker>
  846. </el-form-item>
  847. </el-form>
  848. <div slot="footer" class="dialog-footer">
  849. <el-button @click="paymentStatus = false">取 消</el-button>
  850. <el-button type="primary" @click="onStartPayment('paymentForm')"
  851. >确 定</el-button
  852. >
  853. </div>
  854. </el-dialog>
  855. <!-- 预报名链接 -->
  856. <qr-code v-model="codeStatus" :title="codeTitle" :codeUrl="qrCodeUrl" />
  857. <!-- 退团弹窗 -->
  858. <el-dialog
  859. title="退团信息确认"
  860. :destroy-on-close="true"
  861. width="640px"
  862. :visible.sync="quitVisible"
  863. >
  864. <quiteTeam :quitForm="quitForm" :activeRow="activeRow" ref="quitForm" />
  865. <span slot="footer" class="dialog-footer question">
  866. <div>
  867. <el-popover placement="right" width="500" trigger="click">
  868. <div class="popoverWrap">
  869. <p>乐团退团退费规则:</p>
  870. <p>退还乐器练习云教练费用:报名缴费时缴费的乐器练习云教练费用</p>
  871. <p>退还课程费用:缴费总额-已结束课时单价之和</p>
  872. <p>退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)</p>
  873. <p>退还教辅费用:报名缴费时缴费的教辅费用</p>
  874. <p>退还乐保费用:报名缴费时缴费的乐保费用</p>
  875. </div>
  876. <el-button
  877. type="text"
  878. icon="el-icon-question"
  879. slot="reference"
  880. style="color: red"
  881. >退团退费说明</el-button
  882. >
  883. </el-popover>
  884. </div>
  885. <div>
  886. <el-button @click="quitVisible = false">取 消</el-button>
  887. <el-button type="primary" @click="chioseType">确 定</el-button>
  888. </div>
  889. </span>
  890. </el-dialog>
  891. <!-- 回访记录 -->
  892. <el-dialog
  893. title="新增回访"
  894. width="500px"
  895. destroy-on-close
  896. :close-on-click-modal="false"
  897. :visible.sync="visitVisiable"
  898. >
  899. <visit
  900. v-if="visitVisiable && detail"
  901. :detail="detail"
  902. @close="visitVisiable = false"
  903. @submited="getList"
  904. />
  905. </el-dialog>
  906. <el-dialog
  907. title="更改声部"
  908. :visible.sync="changeVoiceVisible"
  909. v-if="changeVoiceVisible"
  910. width="600px"
  911. >
  912. <changeVoice
  913. @close="closeChangeVoice"
  914. @submited="getList"
  915. :detail.sync="rowDetail"
  916. :musicGroupId="id"
  917. :voiceList="leftList"
  918. />
  919. </el-dialog>
  920. </div>
  921. </template>
  922. <script>
  923. import pagination from "@/components/Pagination/index";
  924. import qrCode from "@/components/QrCode/index";
  925. import {
  926. getintoClass,
  927. getStudentList,
  928. findSound,
  929. musicGroupOpenPay,
  930. openPayment,
  931. musicGroupFound,
  932. extensionPayment,
  933. extensionApplyExpire,
  934. resetPlanNum,
  935. cancelMusicGroup,
  936. getTeamBaseInfo,
  937. studentApplyDetailExport,
  938. StudentQuit,
  939. getMusicGroupGradeList,
  940. checkCanReg,
  941. } from "@/api/buildTeam";
  942. import { setNoneCloudTeacher, setCloudTeacherToFailed } from "./api";
  943. import mergeMusic from "./components/merge-music";
  944. import forecastList from "./components/forecast-list";
  945. import newForecastList from "./components/newForecast-list";
  946. import { resetStudentSubject, getStudentFeeDetail } from "@/api/studentManager";
  947. import { vaildStudentUrl, vaildTeacherUrl } from "@/utils/validate";
  948. import { addVisit } from "@/views/returnVisitManager/api.js";
  949. import QRCode from "qrcodejs2";
  950. import { visitChiose } from "@/utils/searchArray";
  951. import axios from "axios";
  952. import { getToken } from "@/utils/auth";
  953. import load from "@/utils/loading";
  954. import qs from "qs";
  955. import { permission } from "@/utils/directivePage";
  956. import cleanDeep from "clean-deep";
  957. import changeVoice from "./modals/change-voice";
  958. import visit from "@/views/withdrawal-application/modals/visit";
  959. import quiteTeam from "@/views/teamDetail/components/modals/quite-team"
  960. import { courseType } from '@/constant/index'
  961. export default {
  962. name: "signupList",
  963. components: {
  964. pagination,
  965. qrCode,
  966. changeVoice,
  967. mergeMusic,
  968. forecastList,
  969. visit,
  970. newForecastList,
  971. quiteTeam,
  972. },
  973. data() {
  974. return {
  975. multipleSelection: [], //
  976. forecastVisible: false, // 预报名状态
  977. newForecastVisible: false,
  978. isEdit: false,
  979. rowDetail: null,
  980. mergeVisible: false,
  981. changeVoiceVisible: false,
  982. subjectVisible: false,
  983. orderVisible: false,
  984. quitVisible: false,
  985. leftList: [],
  986. rightList: [],
  987. searchFrom: {
  988. name: "",
  989. subject: "", // 专业
  990. isAllowAdjust: "", // 是否允许调剂
  991. currentGrade: null, // 入学年级
  992. paymentStatus: "",
  993. visited: "",
  994. hasCloudTeacher: null, // 是否购买云教练
  995. payingStatus: null,
  996. noneNeedCloudTeacher: null,
  997. studentStatus: null
  998. },
  999. quitForm: {
  1000. // 退团信息确认
  1001. isRefundCourseFee: null,
  1002. isRefundInstrumentFee: null,
  1003. isRefundTeachingAssistantsFee: null,
  1004. isMaintenanceFee: null,
  1005. cloudTeacherAmount: null,
  1006. isCloudTeacherAmount: null,
  1007. isRefundMemberFee: null,
  1008. maintenanceFee: 0,
  1009. reason: "",
  1010. },
  1011. stepImgs: {
  1012. APPLY: require("@/assets/images/base/clock.png"),
  1013. PAY: require("@/assets/images/base/pay.png"),
  1014. },
  1015. status: "",
  1016. id: "",
  1017. rules: {
  1018. // 分页规则
  1019. limit: 10, // 限制显示条数
  1020. page: 1, // 当前页
  1021. total: 0, // 总条数
  1022. page_size: [10, 20, 30, 40], // 选择限制显示条数
  1023. },
  1024. teamName: "",
  1025. maskForm: {
  1026. subject: "",
  1027. },
  1028. activeId: "",
  1029. soundList: [],
  1030. orderForm: [],
  1031. paymentStatus: false,
  1032. paymentForm: {
  1033. paymentExpireDate: null,
  1034. // feeType: null
  1035. },
  1036. paymentRules: {
  1037. paymentExpireDate: [
  1038. { required: true, message: "请设置缴费截止日期", trigger: "blur" },
  1039. ],
  1040. },
  1041. paymentNum: 0, // 缴费了多少人
  1042. qrcodeStatus: false, // 生成二维码
  1043. qrcodes: true,
  1044. qrcode: null,
  1045. codeUrl: null,
  1046. qrcodeStatus2: false, // 生成二维码
  1047. qrcodes2: true,
  1048. qrcode2: null,
  1049. codeUrl2: null,
  1050. codeStatus: false,
  1051. codeTitle: null,
  1052. qrCodeUrl: null,
  1053. organId: "",
  1054. extendPaymentStatus: false,
  1055. extendForm: {
  1056. expireDate: null,
  1057. },
  1058. extendRule: {
  1059. expireDate: [
  1060. { required: true, message: "请选择延长时间", trigger: "change" },
  1061. ],
  1062. },
  1063. quitRules: {
  1064. isCloudTeacherAmount: [{ required: true, message: "请输入云教练费用" }],
  1065. cloudTeacherAmount: [
  1066. { required: true, message: "请输入云教练金额", trigger: "blur" },
  1067. ],
  1068. isRefundCourseFee: [
  1069. { required: true, message: "请选择是否退还课程费用" },
  1070. ],
  1071. isRefundInstrumentFee: [
  1072. { required: true, message: "选择是否退还乐器费用" },
  1073. ],
  1074. isRefundTeachingAssistantsFee: [
  1075. { required: true, message: "选择是否退还教辅费用" },
  1076. ],
  1077. isMaintenanceFee: [{ required: true, message: "选择是否退还乐保费用" }],
  1078. maintenanceFee: [{ required: true, message: "请输入退还乐保金额" }],
  1079. reason: [{ required: true, message: "请填写退团退费原因" }],
  1080. },
  1081. applyExpireDate: "",
  1082. paymentExpireDate: "",
  1083. activeRow: { hasMaintenance: false },
  1084. visitVisiable: false,
  1085. visitForm: {
  1086. musicGroupId: "",
  1087. overview: "",
  1088. purpose: "",
  1089. studentId: "",
  1090. type: "",
  1091. visitTime: "",
  1092. visitType: "",
  1093. feedback: "",
  1094. studentName: "",
  1095. },
  1096. visitChiose,
  1097. visitRules: {
  1098. overview: [{ required: true, message: "请输入学生近况" }],
  1099. feedback: [{ required: true, message: "请输入家长反馈" }],
  1100. visitTime: [{ required: true, message: "请输入回访时间" }],
  1101. visitType: [{ required: true, message: "请选择回访类型" }],
  1102. },
  1103. isPay: false,
  1104. applyDates: this.applyDate(),
  1105. detail: null,
  1106. gradeList: [],
  1107. ischeckCanReg: false,
  1108. };
  1109. },
  1110. created() {},
  1111. mounted() {
  1112. // 通过乐团状态判断显示隐藏的东西
  1113. this.init();
  1114. },
  1115. activated() {
  1116. this.init();
  1117. },
  1118. filters: {
  1119. filtersPayingStatus(val) {
  1120. let obj = {
  1121. 0: "--",
  1122. 1: "缴费中",
  1123. 2: "审核中",
  1124. };
  1125. return obj[val];
  1126. },
  1127. },
  1128. methods: {
  1129. permission(str) {
  1130. return permission(str);
  1131. },
  1132. async init() {
  1133. this.status = this.$route.query.team_status;
  1134. // 通过乐团id 获取乐团招生状态
  1135. this.id = this.$route.query.id;
  1136. this.teamName = this.$route.query.name;
  1137. // 判断是否带缓存参数
  1138. this.pickerOptions = this.beginDate(new Date());
  1139. // checkCanReg
  1140. try {
  1141. this.ischeckCanReg = await (
  1142. await checkCanReg({ musicGroupId: this.id })
  1143. ).data;
  1144. } catch (e) {
  1145. console.log(e);
  1146. }
  1147. getMusicGroupGradeList({ musicGroupId: this.id }).then((res) => {
  1148. let result = res.data;
  1149. if (res.code == 200 && result) {
  1150. for (let i in result) {
  1151. this.gradeList.push({
  1152. value: i,
  1153. label: result[i],
  1154. });
  1155. }
  1156. }
  1157. });
  1158. getTeamBaseInfo({ musicGroupId: this.id }).then((res) => {
  1159. if (res.code == 200) {
  1160. this.organId = res.data.musicGroup.organId;
  1161. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1162. this.paymentExpireDate = res.data.musicGroup.paymentExpireDate;
  1163. }
  1164. });
  1165. // 根据乐团id获乐团声部
  1166. findSound({ musicGroupId: this.id }).then((res) => {
  1167. if (res.code == 200) {
  1168. this.soundList = res.data;
  1169. }
  1170. });
  1171. // 通过乐团id获取乐团学生列表
  1172. this.getList();
  1173. },
  1174. search() {
  1175. this.rules.page = 1;
  1176. this.getList();
  1177. },
  1178. onReset() {
  1179. this.rules.page = 1;
  1180. this.rules.limit = 10;
  1181. this.searchFrom = {
  1182. name: null,
  1183. subject: null, // 专业
  1184. isAllowAdjust: null, // 是否允许调剂
  1185. currentGrade: null,
  1186. paymentStatus: null,
  1187. visited: null,
  1188. hasCloudTeacher: null,
  1189. payingStatus: null,
  1190. studentStatus: null,
  1191. noneNeedCloudTeacher: null,
  1192. };
  1193. this.getList();
  1194. },
  1195. onCancel() {
  1196. this.$store.dispatch("delVisitedViews", this.$route);
  1197. this.$router.push({ path: "/teamList" });
  1198. },
  1199. payStart() {
  1200. this.paymentStatus = true;
  1201. getTeamBaseInfo({ musicGroupId: this.id }).then((res) => {
  1202. if (res.code == 200) {
  1203. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1204. this.paymentExpireDate = res.data.musicGroup.paymentExpireDate;
  1205. }
  1206. });
  1207. },
  1208. getList() {
  1209. let obj = {
  1210. musicGroupId: this.id,
  1211. actualSubjectId: this.searchFrom.subject || null,
  1212. isAllowAdjust: this.searchFrom.isAllowAdjust || null,
  1213. name: this.searchFrom.name || null,
  1214. currentGrade: this.searchFrom.currentGrade || null,
  1215. paymentStatus: this.searchFrom.paymentStatus || null,
  1216. visited: this.searchFrom.visited || null,
  1217. hasCloudTeacher: this.searchFrom.hasCloudTeacher,
  1218. payingStatus: this.searchFrom.payingStatus,
  1219. studentStatus: this.searchFrom.studentStatus,
  1220. noneNeedCloudTeacher: this.searchFrom.noneNeedCloudTeacher,
  1221. page: this.rules.page,
  1222. rows: this.rules.limit,
  1223. };
  1224. // 根据乐团id获取学团情况
  1225. getintoClass({ musicGroupId: this.id }).then((res) => {
  1226. if (res.code == 200) {
  1227. this.leftList = res.data;
  1228. }
  1229. });
  1230. return getStudentList(obj).then((res) => {
  1231. if (res.code == 200) {
  1232. res.data.rows.forEach((item) => {
  1233. // '未开启缴费', '开启缴费', '已缴费'
  1234. if (item.paymentStatus == 2) {
  1235. this.paymentNum += 1;
  1236. }
  1237. });
  1238. this.rightList = res.data.rows;
  1239. this.rules.total = res.data.total;
  1240. return res;
  1241. }
  1242. });
  1243. },
  1244. onStartPayment(formName) {
  1245. // 开启缴费
  1246. this.$refs[formName].validate((valid) => {
  1247. if (valid) {
  1248. musicGroupOpenPay({
  1249. musicGroupId: this.id,
  1250. expireDate: this.paymentForm.paymentExpireDate,
  1251. // feeType: this.paymentForm.feeType
  1252. }).then((res) => {
  1253. if (res.code == 200) {
  1254. this.$message.success("开启成功");
  1255. this.paymentStatus = false;
  1256. this.$store.dispatch("delVisitedViews", this.$route);
  1257. this.$router.push({
  1258. path: "/teamList",
  1259. });
  1260. this.status = "PAY";
  1261. this.paymentExpireDate = this.paymentForm.paymentExpireDate;
  1262. this.getList();
  1263. }
  1264. });
  1265. } else {
  1266. return false;
  1267. }
  1268. });
  1269. },
  1270. onSelectAll() {
  1271. // 选中全部
  1272. this.$refs.multipleTable.toggleAllSelection();
  1273. },
  1274. onPartPayment() {
  1275. // 部分缴费
  1276. let selection = this.multipleSelection;
  1277. if (selection.length <= 0) {
  1278. this.$message.error("您还没有选择学生");
  1279. return false;
  1280. }
  1281. let ids = [];
  1282. selection.forEach((item) => {
  1283. ids.push(item.id);
  1284. });
  1285. this.$confirm(`是否确认开启缴费?`, "提示", {
  1286. confirmButtonText: "确定",
  1287. cancelButtonText: "取消",
  1288. type: "warning",
  1289. })
  1290. .then(() => {
  1291. openPayment({
  1292. ids: ids.join(","),
  1293. }).then((res) => {
  1294. if (res.code == 200) {
  1295. this.$message.success("开启成功");
  1296. this.getList();
  1297. } else {
  1298. this.$message.error(res.msg);
  1299. }
  1300. });
  1301. })
  1302. .catch(() => {});
  1303. },
  1304. onCreateQRCode(type) {
  1305. // 生成报名二维码
  1306. let id = this.id;
  1307. this.codeStatus = true;
  1308. if (type == "payment") {
  1309. this.codeTitle = "学员报名链接";
  1310. this.qrCodeUrl = vaildStudentUrl() + "/#/login?musicGroupId=" + id;
  1311. } else if (type == "detail") {
  1312. let teamName = this.$route.query.name;
  1313. this.codeTitle = "报名缴费详情";
  1314. this.qrCodeUrl =
  1315. vaildTeacherUrl() +
  1316. "/#/order?musicGroupId=" +
  1317. id +
  1318. "&musicGroupName=" +
  1319. teamName;
  1320. } else if (type == "rePayment") {
  1321. this.codeTitle = "学生报名链接(无乐器)";
  1322. this.qrCodeUrl =
  1323. vaildStudentUrl() + "/#/login?musicGroupId=" + id + "&instrument=1";
  1324. }
  1325. },
  1326. onCreateQRCode2() {
  1327. // 生成报名二维码
  1328. this.qrcodeStatus2 = true;
  1329. let id = this.id;
  1330. let teamName = this.$route.query.name;
  1331. setTimeout(() => {
  1332. document.getElementById("qrcode2").innerHTML = "";
  1333. this.qrcode2 = new QRCode("qrcode2", {
  1334. width: 200,
  1335. height: 200,
  1336. colorDark: "#000000",
  1337. colorLight: "#ffffff",
  1338. correctLevel: QRCode.CorrectLevel.H,
  1339. });
  1340. this.qrcode2.makeCode(
  1341. vaildTeacherUrl() +
  1342. "/#/order?musicGroupId=" +
  1343. id +
  1344. "&musicGroupName=" +
  1345. teamName
  1346. );
  1347. this.codeUrl2 =
  1348. vaildTeacherUrl() +
  1349. "/#/order?musicGroupId=" +
  1350. id +
  1351. "&musicGroupName=" +
  1352. teamName;
  1353. }, 500);
  1354. },
  1355. onDownLoadExecl() {
  1356. // 报表导出
  1357. let url = "/api-web/studentRegistration/queryStudentApplyDetailExport";
  1358. let data = {
  1359. musicGroupId: this.$route.query.id,
  1360. page: 1,
  1361. rows: 9999,
  1362. };
  1363. const options = {
  1364. method: "POST",
  1365. headers: {
  1366. Authorization: getToken(),
  1367. },
  1368. data: qs.stringify(data),
  1369. url,
  1370. responseType: "blob",
  1371. };
  1372. this.$confirm("您确定导出吗?", "提示", {
  1373. confirmButtonText: "确定",
  1374. cancelButtonText: "取消",
  1375. type: "warning",
  1376. })
  1377. .then(() => {
  1378. load.startLoading();
  1379. axios(options)
  1380. .then((res) => {
  1381. let blob = new Blob([res.data], {
  1382. // type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'
  1383. type: "application/vnd.ms-excel;charset=utf-8",
  1384. //word文档为application/msword,pdf文档为application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8
  1385. });
  1386. let text = new Response(blob).text();
  1387. text.then((res) => {
  1388. // 判断是否报错
  1389. if (res.indexOf("code") != -1) {
  1390. let json = JSON.parse(res);
  1391. this.$message.error(json.msg);
  1392. } else {
  1393. let objectUrl = URL.createObjectURL(blob);
  1394. let link = document.createElement("a");
  1395. let nowTime = new Date();
  1396. let ymd =
  1397. nowTime.getFullYear() +
  1398. "" +
  1399. (nowTime.getMonth() + 1) +
  1400. "" +
  1401. nowTime.getDate() +
  1402. "" +
  1403. nowTime.getHours() +
  1404. "" +
  1405. nowTime.getMinutes();
  1406. let fname = this.$route.query.id + "-" + ymd + ".xls"; //下载文件的名字
  1407. link.href = objectUrl;
  1408. link.setAttribute("download", fname);
  1409. document.body.appendChild(link);
  1410. link.click();
  1411. }
  1412. });
  1413. load.endLoading();
  1414. })
  1415. .catch((error) => {
  1416. this.$message.error("导出数据失败,请联系管理员");
  1417. load.endLoading();
  1418. });
  1419. })
  1420. .catch(() => {});
  1421. },
  1422. onGoHome() {
  1423. // 确认开团
  1424. // 判断是否有学生缴费
  1425. if (this.paymentNum <= 0) {
  1426. this.$message.error("当前缴费人数为0,无法开团");
  1427. return;
  1428. }
  1429. this.$confirm(`是否确认开团?`, "提示", {
  1430. confirmButtonText: "确定",
  1431. cancelButtonText: "取消",
  1432. type: "warning",
  1433. })
  1434. .then(() => {
  1435. musicGroupFound({
  1436. musicGroupId: this.$route.query.id,
  1437. }).then((res) => {
  1438. if (res.code == 200) {
  1439. // let query = this.$route.query;
  1440. // this.$message.success("开启成功");
  1441. // this.$router.push({
  1442. // path: "/teamList",
  1443. // query: {
  1444. // ...query,
  1445. // },
  1446. // });
  1447. this.onCancel();
  1448. }
  1449. });
  1450. })
  1451. .catch(() => {});
  1452. },
  1453. onClose() {
  1454. // 停止乐团
  1455. this.$confirm("您确定停止乐团吗?", "提示", {
  1456. confirmButtonText: "确定",
  1457. cancelButtonText: "取消",
  1458. type: "warning",
  1459. })
  1460. .then(() => {
  1461. cancelMusicGroup({
  1462. musicGroupId: this.$route.query.id,
  1463. }).then((res) => {
  1464. if (res.code == 200) {
  1465. this.$message.success("停止成功");
  1466. this.$store.dispatch("delVisitedViews", this.$route);
  1467. this.$router.push({
  1468. path: "/teamList",
  1469. });
  1470. }
  1471. });
  1472. })
  1473. .catch(() => {});
  1474. },
  1475. handleSelectionChange(val) {
  1476. this.multipleSelection = val;
  1477. },
  1478. // 修改专业
  1479. resetSubject(row) {
  1480. this.activeId = row.studentId;
  1481. this.maskForm.subject = row.actualSubjectId;
  1482. this.subjectVisible = true;
  1483. // resetStudentSubject().then(res=>{]})
  1484. },
  1485. // 确认修改
  1486. okReset() {
  1487. if (!this.maskForm.subject) {
  1488. this.$message.error("请选择调剂专业");
  1489. return;
  1490. }
  1491. resetStudentSubject({
  1492. musicGroupId: this.id,
  1493. userId: this.activeId,
  1494. subId: this.maskForm.subject,
  1495. }).then((res) => {
  1496. if (res.code == 200) {
  1497. this.$message.success("修改成功");
  1498. this.subjectVisible = false;
  1499. this.maskForm.subject = "";
  1500. getintoClass({ musicGroupId: this.id }).then((res) => {
  1501. if (res.code == 200) {
  1502. this.leftList = res.data;
  1503. }
  1504. });
  1505. this.getList();
  1506. }
  1507. });
  1508. },
  1509. onExtendPayment(formName, isPay) {
  1510. this.$refs[formName].validate((valid) => {
  1511. if (valid) {
  1512. if (!isPay) {
  1513. extensionApplyExpire({
  1514. musicGroupId: this.id,
  1515. expireDate: this.extendForm.expireDate,
  1516. }).then((res) => {
  1517. if (res.code == 200) {
  1518. this.$message.success("延长报名成功");
  1519. this.extendPaymentStatus = false;
  1520. getTeamBaseInfo({ musicGroupId: this.id }).then((res) => {
  1521. if (res.code == 200) {
  1522. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1523. }
  1524. });
  1525. } else {
  1526. this.$message.error(res.msg);
  1527. }
  1528. });
  1529. } else {
  1530. extensionPayment({
  1531. musicGroupId: this.id,
  1532. expireDate: this.extendForm.expireDate,
  1533. }).then((res) => {
  1534. if (res.code == 200) {
  1535. this.$message.success("延长缴费成功");
  1536. this.extendPaymentStatus = false;
  1537. getTeamBaseInfo({ musicGroupId: this.id }).then((res) => {
  1538. if (res.code == 200) {
  1539. this.paymentExpireDate =
  1540. res.data.musicGroup.paymentExpireDate;
  1541. }
  1542. });
  1543. } else {
  1544. this.$message.error(res.msg);
  1545. }
  1546. });
  1547. }
  1548. }
  1549. });
  1550. },
  1551. async lookdetail(row) {
  1552. await getStudentFeeDetail({
  1553. musicGroupId: this.id,
  1554. studentId: row.studentId,
  1555. }).then((res) => {
  1556. if (res.code == 200) {
  1557. const paymentList = res.data || []
  1558. paymentList.forEach(item => {
  1559. if(item.type == 'MAINTENANCE') {
  1560. item.name = '乐器保养'
  1561. } else if(item.type == 'CLOUD_TEACHER') {
  1562. item.name = '乐器练习云教练'
  1563. } else if(item.type == 'COURSE') {
  1564. item.name = '课程'
  1565. }
  1566. if(courseType[item.type]) {
  1567. item.name = courseType[item.type]
  1568. }
  1569. })
  1570. this.orderForm = paymentList
  1571. }
  1572. });
  1573. this.activeId = row.studentId;
  1574. this.orderVisible = true;
  1575. },
  1576. saveIsEdit() {
  1577. // 提交数据
  1578. this.isEdit = false;
  1579. resetPlanNum(this.leftList).then((res) => {});
  1580. },
  1581. quitTeam(row) {
  1582. this.activeRow = row;
  1583. this.quitVisible = true;
  1584. this.quitForm.cloudTeacherAmount = row.cloudTeacherAmount;
  1585. },
  1586. quieTeams(row) {
  1587. this.$prompt("请输入退团原因", "提示", {
  1588. confirmButtonText: "确定",
  1589. cancelButtonText: "取消",
  1590. inputPattern: /\S/,
  1591. inputErrorMessage: "请输入退团原因",
  1592. type: "warning",
  1593. })
  1594. .then((val) => {
  1595. // 发请求 退团
  1596. StudentQuit({
  1597. musicGroupId: this.id,
  1598. userId: row.studentId,
  1599. reason: val.value,
  1600. isRefundCourseFee: false,
  1601. isRefundInstrumentFee: false,
  1602. isRefundTeachingAssistantsFee: false,
  1603. isRefundMemberFee: false,
  1604. }).then((res) => {
  1605. this.quitForm = {
  1606. // 退团信息确认
  1607. isRefundCourseFee: null,
  1608. isRefundInstrumentFee: null,
  1609. isRefundTeachingAssistantsFee: null,
  1610. isMaintenanceFee: null,
  1611. cloudTeacherAmount: null,
  1612. isCloudTeacherAmount: null,
  1613. maintenanceFee: 0,
  1614. reason: "",
  1615. };
  1616. if (res.code == 200) {
  1617. this.$message.success("退团成功");
  1618. this.getList();
  1619. this.quitVisible = false;
  1620. }
  1621. });
  1622. })
  1623. .catch(() => {});
  1624. },
  1625. chioseType() {
  1626. this.$refs["quitForm"].$refs["quitForm"].validate((res) => {
  1627. if (res) {
  1628. this.$confirm("确定退团?", "提示", {
  1629. confirmButtonText: "确定",
  1630. cancelButtonText: "取消",
  1631. type: "warning",
  1632. })
  1633. .then(() => {
  1634. let row = this.activeRow;
  1635. let params = {
  1636. musicGroupId: this.id,
  1637. userId: row.studentId,
  1638. reason: this.quitForm.reason,
  1639. isRefundCourseFee: this.quitForm.isRefundCourseFee,
  1640. isRefundInstrumentFee: this.quitForm.isRefundInstrumentFee,
  1641. isRefundTeachingAssistantsFee:
  1642. this.quitForm.isRefundTeachingAssistantsFee,
  1643. maintenanceFee: this.quitForm.maintenanceFee,
  1644. isRefundMemberFee: this.quitForm.isRefundMemberFee,
  1645. };
  1646. // 退还乐器练习云教练费用
  1647. if (this.quitForm.isRefundMemberFee) {
  1648. params.cloudTeacherAmount = this.quitForm.cloudTeacherAmount;
  1649. } else {
  1650. params.cloudTeacherAmount = 0;
  1651. }
  1652. // 发请求 退团
  1653. StudentQuit(params).then((res) => {
  1654. this.quitForm = {
  1655. // 退团信息确认
  1656. isRefundCourseFee: null,
  1657. isRefundInstrumentFee: null,
  1658. isRefundTeachingAssistantsFee: null,
  1659. isMaintenanceFee: null,
  1660. cloudTeacherAmount: null,
  1661. isCloudTeacherAmount: null,
  1662. maintenanceFee: 0,
  1663. reason: "",
  1664. };
  1665. if (res.code == 200) {
  1666. this.$message.success("退团成功");
  1667. this.getList();
  1668. this.quitVisible = false;
  1669. }
  1670. });
  1671. })
  1672. .catch(() => {});
  1673. } else {
  1674. }
  1675. });
  1676. // row.typeVisible = false;
  1677. },
  1678. addVisit(row) {
  1679. // this.visitForm.studentName = row.studentName;
  1680. // this.visitForm.musicGroupId = this.teamid;
  1681. // this.visitForm.studentId = row.studentId;
  1682. row.userId = row.studentId;
  1683. this.detail = row;
  1684. this.detail.musicGroupId = this.$route.query.id;
  1685. this.visitVisiable = true;
  1686. },
  1687. openChangeVoice(row) {
  1688. this.getList().then((res) => {
  1689. for (const item of res.data.rows) {
  1690. if (item.id === row.id) {
  1691. this.rowDetail = { ...item, userId: item.studentId };
  1692. this.changeVoiceVisible = true;
  1693. }
  1694. }
  1695. });
  1696. },
  1697. closeChangeVoice() {
  1698. this.changeVoiceVisible = false;
  1699. // this.rowDetail = null
  1700. },
  1701. handleChange(val) {
  1702. this.visitForm.type = val[0];
  1703. this.visitForm.purpose = val[1];
  1704. },
  1705. submitAddVisit() {
  1706. this.$refs.visitForm.validate((res) => {
  1707. if (res) {
  1708. this.visitForm.visitType = null;
  1709. this.visitForm.musicGroupId = this.id;
  1710. addVisit(cleanDeep(this.visitForm)).then((res) => {
  1711. if (res.code === 200) {
  1712. this.$message.success("新增成功");
  1713. this.visitVisiable = false;
  1714. }
  1715. });
  1716. }
  1717. });
  1718. },
  1719. beginDate(date) {
  1720. let self = this;
  1721. return {
  1722. firstDayOfWeek: 1,
  1723. disabledDate(time) {
  1724. return time.getTime() >= date.getTime(); //开始时间不选时,结束时间最大值小于等于当天
  1725. },
  1726. };
  1727. },
  1728. extendTime(isPay) {
  1729. this.isPay = isPay;
  1730. if (isPay) {
  1731. // 点击的延长缴费
  1732. this.extendForm.expireDate = this.paymentExpireDate;
  1733. } else {
  1734. // 点击的延长报名
  1735. this.extendForm.expireDate = this.applyExpireDate;
  1736. }
  1737. this.extendPaymentStatus = true;
  1738. },
  1739. payDate() {
  1740. let self = this;
  1741. return {
  1742. firstDayOfWeek: 1,
  1743. disabledDate(time) {
  1744. return time.getTime() + 86400000 < new Date().getTime();
  1745. },
  1746. };
  1747. },
  1748. applyDate() {
  1749. let self = this;
  1750. return {
  1751. firstDayOfWeek: 1,
  1752. disabledDate(time) {
  1753. return time.getTime() + 86400000 < new Date().getTime();
  1754. },
  1755. };
  1756. },
  1757. checkboxSelect(row) {
  1758. return row.paymentStatus == 0;
  1759. },
  1760. relieve(row) {
  1761. this.$confirm("操作后该学员即可不购买云教练缴费入团", "提示", {
  1762. confirmButtonText: "确定",
  1763. cancelButtonText: "取消",
  1764. type: "warning",
  1765. }).then(async () => {
  1766. try {
  1767. const res = await setNoneCloudTeacher({ id: row.id });
  1768. console.log('code',res.code)
  1769. if (res.code == 200) {
  1770. this.$message.success("解除预约成功");
  1771. this.getList();
  1772. } else if (res.code == 100) {
  1773. this.$confirm(res.msg, "提示", {
  1774. confirmButtonText: "确定",
  1775. cancelButtonText: "取消",
  1776. type: "warning",
  1777. }).then(async (some) => {
  1778. const res = await setNoneCloudTeacher({
  1779. id: row.id,
  1780. isContinue: true,
  1781. });
  1782. if (res.code == 200) {
  1783. this.$message.success("解除预约成功");
  1784. this.getList();
  1785. }
  1786. });
  1787. }
  1788. } catch (e) {
  1789. console.log('错误',e);
  1790. }
  1791. });
  1792. },
  1793. failedRelieve(row) {
  1794. this.$confirm("拒绝后学员需购买会员方可入团", "提示", {
  1795. confirmButtonText: "确定",
  1796. cancelButtonText: "取消",
  1797. type: "warning",
  1798. }).then(async () => {
  1799. try {
  1800. const res = await setCloudTeacherToFailed({ id: row.id });
  1801. this.$message.success("操作成功");
  1802. this.getList();
  1803. } catch (e) {
  1804. console.log(e);
  1805. }
  1806. });
  1807. },
  1808. getCheckNum(row, type) {
  1809. this.rules.page = 1;
  1810. this.rules.limit = 10;
  1811. this.searchFrom = {
  1812. name: null,
  1813. subject: null, // 专业
  1814. isAllowAdjust: null, // 是否允许调剂
  1815. currentGrade: null,
  1816. paymentStatus: null,
  1817. visited: null,
  1818. hasCloudTeacher: null,
  1819. payingStatus: null,
  1820. studentStatus: null,
  1821. noneNeedCloudTeacher: null,
  1822. };
  1823. this.searchFrom.subject = row.subjectId;
  1824. if(type == 'buyCloud') {
  1825. this.searchFrom.hasCloudTeacher = 1
  1826. } else if(type == 'noCloud') {
  1827. this.searchFrom.hasCloudTeacher = 0
  1828. this.searchFrom.studentStatus = 'NORMAL'
  1829. } else {
  1830. this.searchFrom.payingStatus = 2;
  1831. this.searchFrom.hasCloudTeacher = 0;
  1832. }
  1833. this.search();
  1834. },
  1835. getpayingNum(row) {
  1836. this.rules.page = 1;
  1837. this.rules.limit = 10;
  1838. this.searchFrom = {
  1839. name: null,
  1840. subject: null, // 专业
  1841. isAllowAdjust: null, // 是否允许调剂
  1842. currentGrade: null,
  1843. paymentStatus: null,
  1844. visited: null,
  1845. hasCloudTeacher: null,
  1846. payingStatus: null,
  1847. studentStatus: null,
  1848. noneNeedCloudTeacher: null,
  1849. };
  1850. this.searchFrom.subject = row.subjectId;
  1851. this.searchFrom.payingStatus = 1;
  1852. this.search();
  1853. },
  1854. getpayNum(row) {
  1855. this.rules.page = 1;
  1856. this.rules.limit = 10;
  1857. this.searchFrom = {
  1858. name: null,
  1859. subject: null, // 专业
  1860. isAllowAdjust: null, // 是否允许调剂
  1861. currentGrade: null,
  1862. paymentStatus: null,
  1863. visited: null,
  1864. hasCloudTeacher: null,
  1865. payingStatus: null,
  1866. studentStatus: null,
  1867. noneNeedCloudTeacher: null,
  1868. };
  1869. this.searchFrom.subject = row.subjectId;
  1870. this.searchFrom.paymentStatus = 2 + "";
  1871. this.search();
  1872. },
  1873. },
  1874. watch: {
  1875. "quitForm.isMaintenanceFee"(val) {
  1876. if (val) {
  1877. this.quitForm.maintenanceFee = 300;
  1878. } else {
  1879. this.quitForm.maintenanceFee = 0;
  1880. }
  1881. },
  1882. orderVisible(val) {
  1883. if (!val) {
  1884. this.orderForm = []
  1885. }
  1886. },
  1887. qrcodeStatus(val) {
  1888. if (!val) {
  1889. this.qrcode.clear();
  1890. }
  1891. },
  1892. qrcodeStatus2(val) {
  1893. if (!val) {
  1894. this.qrcode2.clear();
  1895. }
  1896. },
  1897. paymentStatus(val) {
  1898. if (!val) {
  1899. this.paymentForm = {
  1900. paymentExpireDate: null,
  1901. // feeType: null
  1902. };
  1903. }
  1904. },
  1905. quitVisible(val) {
  1906. if (!val) {
  1907. this.quitForm = {
  1908. // 退团信息确认
  1909. isRefundCourseFee: null,
  1910. isRefundInstrumentFee: null,
  1911. isRefundTeachingAssistantsFee: null,
  1912. isMaintenanceFee: null,
  1913. cloudTeacherAmount: null,
  1914. isCloudTeacherAmount: null,
  1915. maintenanceFee: 0,
  1916. reason: "",
  1917. isRefundMemberFee: null,
  1918. };
  1919. this.$refs["quitForm"].$refs["quitForm"].resetFields();
  1920. }
  1921. },
  1922. // visitVisiable(val) {
  1923. // if (!val) {
  1924. // this.$refs["visitForm"].resetFields();
  1925. // }
  1926. // },
  1927. },
  1928. };
  1929. </script>
  1930. <style lang="scss" scoped>
  1931. .auth {
  1932. display: inline-block;
  1933. & + .auth {
  1934. margin-left: 0px;
  1935. }
  1936. }
  1937. .dialog-footer.question {
  1938. display: flex;
  1939. flex-direction: row;
  1940. justify-content: space-between;
  1941. }
  1942. .sigup-container {
  1943. margin-left: 12px;
  1944. .topWrap {
  1945. padding: 18px 58px 18px 0;
  1946. // height: 136px;
  1947. background-color: #fff;
  1948. // display: flex;
  1949. // flex-direction: row;
  1950. // justify-content: space-between;
  1951. .msg.pay {
  1952. color: #f85043;
  1953. }
  1954. .msg {
  1955. text-align: right;
  1956. color: #f97215;
  1957. font-size: 32px;
  1958. font-weight: bold;
  1959. padding-top: 30px;
  1960. box-sizing: border-box;
  1961. img {
  1962. width: 36px;
  1963. height: 36px;
  1964. position: relative;
  1965. top: 5px;
  1966. margin-right: 8px;
  1967. }
  1968. }
  1969. h2 {
  1970. height: 48px;
  1971. line-height: 48px;
  1972. position: relative;
  1973. // padding-left: 30px;
  1974. font-size: 32px;
  1975. font-weight: 600;
  1976. margin-bottom: 10px;
  1977. display: flex;
  1978. flex-direction: row;
  1979. justify-content: flex-start;
  1980. align-items: center;
  1981. .term {
  1982. height: 32px;
  1983. line-height: 32px;
  1984. border-radius: 24px;
  1985. width: 100px;
  1986. color: #14928a;
  1987. border: 1px solid rgba(20, 146, 138, 1);
  1988. font-size: 14px;
  1989. text-align: center;
  1990. margin-right: 12px;
  1991. &:nth-child(1) {
  1992. margin-left: 47px;
  1993. }
  1994. }
  1995. .term.active {
  1996. color: #fff;
  1997. background-color: #14928a;
  1998. }
  1999. .squrt {
  2000. position: absolute;
  2001. left: -25px;
  2002. top: 8px;
  2003. height: 34px;
  2004. width: 8px;
  2005. background-color: #14928a;
  2006. }
  2007. }
  2008. .btnList {
  2009. display: flex;
  2010. flex-direction: row;
  2011. justify-content: flex-start;
  2012. align-items: center;
  2013. flex-wrap: wrap;
  2014. & > div {
  2015. margin-right: 15px;
  2016. margin-top: 10px;
  2017. }
  2018. }
  2019. .newBand.close {
  2020. background-color: #777;
  2021. border: 1px solid #777;
  2022. }
  2023. }
  2024. .searchList {
  2025. background-color: #fff;
  2026. padding: 0 58p 0 0px;
  2027. }
  2028. .sigup-core {
  2029. margin-top: 12px;
  2030. display: flex;
  2031. flex-direction: row;
  2032. justify-content: flex-start;
  2033. .left {
  2034. width: 400px;
  2035. background-color: #fff;
  2036. height: 80vh;
  2037. overflow: auto;
  2038. }
  2039. .right {
  2040. width: calc(100% - 400px);
  2041. margin-left: 12px;
  2042. flex-grow: 1;
  2043. }
  2044. }
  2045. }
  2046. .el-dialog__body {
  2047. overflow: hidden;
  2048. }
  2049. .left-code,
  2050. .right-code {
  2051. // width: 50%;
  2052. // float: left;
  2053. h2 {
  2054. font-size: 18px;
  2055. text-align: center;
  2056. padding-bottom: 8px;
  2057. }
  2058. .qrcode {
  2059. display: flex;
  2060. flex-direction: column;
  2061. align-items: center;
  2062. img {
  2063. width: 200px;
  2064. height: 200px;
  2065. margin: 0 auto;
  2066. }
  2067. }
  2068. .code-url {
  2069. font-size: 18px;
  2070. text-align: center;
  2071. padding: 15px 15px 0 15px;
  2072. }
  2073. }
  2074. .newBand {
  2075. margin-bottom: 0;
  2076. max-width: inherit;
  2077. }
  2078. /deep/.el-button--danger {
  2079. background: #f85043;
  2080. }
  2081. .paymentForm {
  2082. /deep/.el-input__inner,
  2083. /deep/.el-input.el-input--suffix {
  2084. width: 360px !important;
  2085. }
  2086. }
  2087. .popoverWrap {
  2088. p {
  2089. line-height: 25px;
  2090. }
  2091. }
  2092. /deep/.description-title {
  2093. margin-bottom: 0;
  2094. }
  2095. /deep/.description-label {
  2096. white-space: normal !important;
  2097. }
  2098. </style>