teamBaseInfo.vue 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421
  1. <template>
  2. <div class="base-container">
  3. <div class="banseLeft">
  4. <div class="head">乐团基本信息:</div>
  5. <!-- <div class="num">乐团编号:dywh01</div> -->
  6. <el-form
  7. :model="topFrom"
  8. :inline="true"
  9. ref="topinfo"
  10. label-width="120px"
  11. style="margin-left: 11px"
  12. >
  13. <el-form-item
  14. label="所属分部"
  15. prop="section"
  16. :rules="[{ required: true, message: '所属分部不能为空' }]"
  17. >
  18. <el-select
  19. v-model.trim="topFrom.section"
  20. filterable
  21. :disabled="basdisabled"
  22. @change="changeSection"
  23. clearable
  24. >
  25. <el-option
  26. v-for="(item, index) in sectionList"
  27. :key="index"
  28. :label="item.name"
  29. :value="item.id"
  30. ></el-option>
  31. </el-select>
  32. </el-form-item>
  33. <el-form-item
  34. label="收费类型"
  35. prop="type"
  36. :rules="[{ required: true, message: '收费类型不能为空' }]"
  37. >
  38. <el-select
  39. v-model.trim="topFrom.type"
  40. filterable
  41. :disabled="basdisabled"
  42. clearable
  43. @change="changeType"
  44. >
  45. <el-option
  46. v-for="(item, index) in typeList"
  47. :key="index"
  48. :label="item.name"
  49. :value="item.id"
  50. ></el-option>
  51. </el-select>
  52. </el-form-item>
  53. <el-form-item
  54. label="收费模式"
  55. prop="courseViewType"
  56. :rules="[{ required: true, message: '收费模式不能为空' }]"
  57. >
  58. <el-select
  59. v-model.trim="topFrom.courseViewType"
  60. filterable
  61. :disabled="basdisabled"
  62. clearable
  63. >
  64. <el-option label="课程收费" :value="0"></el-option>
  65. <el-option label="系统收费" :value="1"></el-option>
  66. <el-option label="云教练收费" :value="2"></el-option>
  67. </el-select>
  68. </el-form-item>
  69. <el-form-item
  70. label="合作单位"
  71. prop="school"
  72. :rules="[{ required: true, message: '合作单位不能为空' }]"
  73. >
  74. <el-select
  75. v-model.trim="topFrom.school"
  76. :disabled="!topFrom.section || basdisabled"
  77. @change="chioseSchool"
  78. filterable
  79. clearable
  80. >
  81. <el-option
  82. v-for="(item, index) in cooperationList"
  83. :key="index"
  84. :label="item.name"
  85. :value="item.id"
  86. ></el-option>
  87. </el-select>
  88. </el-form-item>
  89. <el-form-item
  90. label="乐团主管"
  91. prop="teacher"
  92. :rules="[{ required: true, message: '乐团主管不能为空' }]"
  93. >
  94. <el-select
  95. v-model.trim="topFrom.teacher"
  96. :disabled="true"
  97. filterable
  98. clearable
  99. >
  100. <el-option
  101. v-for="(item, index) in educationList"
  102. :key="index"
  103. :label="item.realName"
  104. :value="item.userId"
  105. >
  106. <span style="float: left">{{ item.realName }}</span>
  107. <span style="float: right; color: #8492a6; font-size: 13px">{{
  108. String(item.userId)
  109. }}</span>
  110. </el-option>
  111. </el-select>
  112. </el-form-item>
  113. <el-form-item
  114. label="教学地点"
  115. prop="address"
  116. :rules="[{ required: true, message: '教学地点不能为空' }]"
  117. >
  118. <template #label>
  119. <p style="position: relative; display: inline-block">
  120. 教学地点
  121. <el-tooltip placement="top" popper-class="mTooltip">
  122. <div slot="content">
  123. 如果已生成课表,则会修改未上课时的教学点
  124. </div>
  125. <i
  126. class="el-icon-question"
  127. style="font-size: 18px; color: #f56c6c"
  128. ></i>
  129. </el-tooltip>
  130. </p>
  131. </template>
  132. <el-select
  133. v-model.trim="topFrom.address"
  134. filterable
  135. clearable
  136. :disabled="!topFrom.section || basdisabled"
  137. >
  138. <el-option
  139. v-for="(item, index) in addList"
  140. :key="index"
  141. :label="item.name"
  142. :value="item.id"
  143. ></el-option>
  144. </el-select>
  145. </el-form-item>
  146. <el-form-item
  147. label="乐团名称"
  148. prop="name"
  149. :rules="[{ required: true, message: '乐团名称不能为空' }]"
  150. >
  151. <el-input
  152. placeholder="请输入乐团名称"
  153. v-model.trim="topFrom.name"
  154. :disabled="basdisabled"
  155. ></el-input>
  156. </el-form-item>
  157. <el-form-item
  158. label="运营主管"
  159. prop="boss"
  160. :rules="[{ required: true, message: '运营主管不能为空' }]"
  161. >
  162. <el-select
  163. v-model.trim="topFrom.boss"
  164. :disabled="!topFrom.section || basdisabled"
  165. filterable
  166. clearable
  167. >
  168. <el-option
  169. v-for="item in bossList"
  170. :key="item.userId"
  171. :label="item.realName"
  172. :value="item.userId"
  173. >
  174. <span style="float: left">{{ item.realName }}</span>
  175. <span style="float: right; color: #8492a6; font-size: 13px">{{
  176. String(item.userId)
  177. }}</span>
  178. </el-option>
  179. </el-select>
  180. </el-form-item>
  181. <el-form-item label="维修技师" prop="repairUserId">
  182. <el-select
  183. v-model.trim="topFrom.repairUserId"
  184. :disabled="!topFrom.section || basdisabled"
  185. filterable
  186. clearable
  187. >
  188. <el-option
  189. v-for="(item, index) in technician"
  190. :key="index"
  191. :label="item.userName"
  192. :value="item.userId"
  193. >
  194. <span style="float: left">{{ item.realName }}</span>
  195. <span style="float: right; color: #8492a6; font-size: 13px">{{
  196. String(item.userId)
  197. }}</span>
  198. </el-option>
  199. </el-select>
  200. </el-form-item>
  201. <!-- <el-form-item
  202. label="预报名截止时间"
  203. prop="time"
  204. :rules="[{ required: true, message: '请输入预报名截止时间' }]"
  205. >
  206. <el-date-picker
  207. v-model.trim="topFrom.time"
  208. :disabled="basdisabled"
  209. type="date"
  210. value-format="yyyy-MM-dd"
  211. :picker-options="beginDate()"
  212. placeholder="选择日期"
  213. ></el-date-picker>
  214. </el-form-item> -->
  215. <el-form-item
  216. label="报名截止时间"
  217. prop="time"
  218. :rules="[{ required: true, message: '请输入报名截止时间' }]"
  219. >
  220. <el-date-picker
  221. v-model.trim="topFrom.time"
  222. :disabled="basdisabled"
  223. type="date"
  224. value-format="yyyy-MM-dd"
  225. :picker-options="beginDate()"
  226. placeholder="选择日期"
  227. ></el-date-picker>
  228. </el-form-item>
  229. <el-form-item
  230. label="预计开团时间"
  231. prop="startTime"
  232. :rules="[{ required: true, message: '请输入预计开团时间' }]"
  233. >
  234. <el-date-picker
  235. v-model.trim="topFrom.startTime"
  236. :disabled="basdisabled"
  237. type="date"
  238. value-format="yyyy-MM-dd"
  239. :picker-options="beginDate()"
  240. placeholder="选择日期"
  241. ></el-date-picker>
  242. </el-form-item>
  243. <!-- <el-form-item label="招生年级" v-if="basdisabled">
  244. <el-input
  245. placeholder="请输入招生年级"
  246. v-model.trim="startClassString"
  247. :disabled="basdisabled"
  248. ></el-input> -->
  249. <!-- <el-tooltip
  250. class="item"
  251. effect="dark"
  252. :content="startClassString"
  253. placement="top-start"
  254. >
  255. <div style="width: 180px; overflow: hidden">
  256. {{ startClassString }}
  257. </div>
  258. </el-tooltip> -->
  259. <!-- </el-form-item> -->
  260. <!-- <el-form-item
  261. label="招生年级"
  262. v-else
  263. prop="startClass"
  264. :rules="[{ required: true, message: '请选择招生年纪' }]"
  265. >
  266. <el-select
  267. placeholder="起始年级"
  268. clearable
  269. multiple
  270. collapse-tags
  271. filterable
  272. v-model.trim="topFrom.startClass"
  273. >
  274. <el-option
  275. v-for="item in classStatus"
  276. :value="item.value"
  277. :label="item.label"
  278. :key="item.value"
  279. ></el-option>
  280. </el-select>
  281. </el-form-item> -->
  282. <el-form-item
  283. label="课酬结算标准"
  284. :rules="[{ required: true, message: '请选择课酬结算标准' }]"
  285. prop="salary"
  286. >
  287. <el-select
  288. v-model.trim="topFrom.salary"
  289. clearable
  290. :disabled="basdisabled"
  291. filterable
  292. >
  293. <el-option label="自定义课酬" value="TEACHER_DEFAULT"></el-option>
  294. <el-option label="标准课酬" value="GRADIENT_SALARY"></el-option>
  295. <!-- <el-option label="课堂课酬" value="CLASSROOM_SALARY"></el-option> -->
  296. </el-select>
  297. </el-form-item>
  298. <el-form-item label="机构类型" prop="ownershipType">
  299. <el-select
  300. v-model.trim="topFrom.ownershipType"
  301. :disabled="basdisabled"
  302. >
  303. <el-option label="自有" value="OWN"></el-option>
  304. <el-option label="三方" value="COOPERATION"></el-option>
  305. <!-- <el-option label="租赁"
  306. value="LEASE"></el-option>-->
  307. </el-select>
  308. </el-form-item>
  309. <!-- v-if="teamStatus == 'resetTeam' || teamStatus == 'teamList'" -->
  310. <el-form-item label="乐队指导" prop="head">
  311. <el-select
  312. v-model.trim="topFrom.head"
  313. filterable
  314. :disabled="!topFrom.section || basdisabled"
  315. clearable
  316. >
  317. <el-option
  318. v-for="(item, index) in teacherList"
  319. :key="index"
  320. :label="item.realName"
  321. :value="item.id"
  322. >
  323. <span style="float: left">{{ item.realName }}</span>
  324. <span style="float: right; color: #8492a6; font-size: 13px">{{
  325. String(item.id)
  326. }}</span>
  327. </el-option>
  328. </el-select>
  329. </el-form-item>
  330. <el-form-item label prop="isClass">
  331. <el-checkbox v-model.trim="topFrom.isClass" :disabled="basdisabled"
  332. >课堂课乐团</el-checkbox
  333. >
  334. </el-form-item>
  335. <br />
  336. <el-form-item label="" v-if="teamStatus == 'teamDraft'">
  337. <p style="color: red; padding-left: 50px">
  338. 修改【收费类型】会重置乐团声部与缴费信息
  339. </p>
  340. </el-form-item>
  341. </el-form>
  342. <div class="btnWrap">
  343. <!-- <div
  344. class="nextBtn"
  345. v-if="teamStatus == 'resetTeam'"
  346. v-permission="{
  347. child: 'musicGroup/update',
  348. parent: '/resetTeaming/teamBaseInfo',
  349. }"
  350. @click="resetSubmit"
  351. >
  352. 修改
  353. </div> -->
  354. <!-- 审批或者草稿的下一步 -->
  355. <div class="nextBtn" @click="gotoNext()" v-if="!basdisabled">
  356. {{ this.teamStatus == "teamDraft" ? "下一步" : "保存" }}
  357. </div>
  358. <div
  359. class="nextBtn"
  360. v-if="this.teamStatus == 'teamAudit'"
  361. @click="gotoNext()"
  362. >
  363. 下一步
  364. </div>
  365. </div>
  366. </div>
  367. </div>
  368. </template>
  369. <script>
  370. import {
  371. getType,
  372. getTeamBaseInfo,
  373. resetTeamBaseInfo,
  374. getEmployeeOrgan,
  375. getStudentList,
  376. musicGroupOpenPay,
  377. extensionPayment,
  378. extensionApplyExpire,
  379. findUserByRole,
  380. getTeacher,
  381. createTeam,
  382. } from "@/api/buildTeam";
  383. import { findTechnician } from "@/api/repairManager";
  384. import dayjs from "dayjs";
  385. import merge from "webpack-merge";
  386. import { queryByOrganId, getSchool } from "@/api/systemManage";
  387. import qrCode from "@/components/QrCode/index";
  388. import { classStatus } from "@/utils/searchArray";
  389. import { vaildStudentUrl, vaildTeacherUrl } from "@/utils/validate";
  390. import mergeMusic from "../components/merge-music";
  391. export default {
  392. components: {
  393. mergeMusic,
  394. qrCode,
  395. },
  396. name: "teamBaseInfo",
  397. props: ["getTeamList"],
  398. data() {
  399. return {
  400. classStatus,
  401. organId: null,
  402. topFrom: {
  403. type: "", // 收费类型
  404. section: "", //所属分部
  405. courseViewType: "", // 收费模式
  406. school: "", // 合作单位
  407. teacher: "", // 乐团主管
  408. name: "", //乐团名称
  409. boss: "", // 运营主管
  410. time: "", // 报名截止时间
  411. startClass: [], // 招生年级起始
  412. address: "", // 教学地点
  413. salary: "", // 收费模式
  414. head: "",
  415. isClass: false, //是否为课堂课
  416. startTime: "",
  417. feeType: null,
  418. paymentPattern: "", // 缴费方式
  419. paymentValid: [], // 缴费有效期
  420. paymentValidStartDate: null, // 缴费有效期开始
  421. paymentValidEndDate: null, // 缴费有效期结束
  422. ownershipType: "OWN", // 合作机构类型
  423. repairUserId: null, // 维修技师
  424. },
  425. baseInfo: {},
  426. money: 580,
  427. orderInfo: {
  428. marketPrice: 0, // 原价总金额
  429. referencePrice: 0, // 现价总金额
  430. }, // 金额列表,金额计算
  431. sectionList: [], // 分部列表
  432. typeList: [], // 收费类型列表
  433. cooperationList: [], // 教学点列表
  434. teacherList: [], // 获取老师列表
  435. educationList: [], // 乐团主管
  436. bossList: [],
  437. addList: [], // 教学地点列表
  438. activeTeam: [],
  439. teamid: "",
  440. teamStatus: "",
  441. isInit: false,
  442. technician: [],
  443. basdisabled: false,
  444. // 整合报名中
  445. paymentExpireDate: "",
  446. applyExpireDate: null,
  447. mergeVisible: false,
  448. team_status: "",
  449. paymentNum: 0,
  450. paymentStatus: false,
  451. paymentForm: {
  452. paymentExpireDate: null,
  453. // feeType: null
  454. },
  455. paymentRules: {
  456. paymentExpireDate: [
  457. { required: true, message: "请设置缴费截止日期", trigger: "blur" },
  458. ],
  459. },
  460. extendForm: {
  461. expireDate: null,
  462. },
  463. extendRule: {
  464. expireDate: [
  465. { required: true, message: "请选择延长时间", trigger: "change" },
  466. ],
  467. },
  468. isPay: false,
  469. extendPaymentStatus: false, // 延长缴费
  470. codeStatus: false,
  471. qrCodeUrl: null,
  472. codeTitle: null,
  473. teamid: "",
  474. };
  475. },
  476. created() {},
  477. mounted() {
  478. if (this.$route.query.type == "newTeam") {
  479. this.onReset();
  480. }
  481. this.init();
  482. },
  483. activated() {
  484. if (
  485. (this.teamid && this.teamid != this.$route.query.id) ||
  486. this.teamStatus != this.$route.query.type
  487. ) {
  488. this.init();
  489. }
  490. if (this.$route.query.clear == "true") {
  491. this.onReset();
  492. }
  493. if (this.teamStatus == "newTeam") {
  494. this.$store.dispatch("buildIndex", 0);
  495. }
  496. if (this.teamStatus != "newTeam") {
  497. this.$store.dispatch("draftIndex", 0);
  498. }
  499. this.teamStatus = this.$route.query.type;
  500. if (
  501. this.teamStatus == "look" ||
  502. this.teamStatus == "teamAudit" ||
  503. this.teamStatus == "feeAudit" ||
  504. this.teamStatus == "APPLY" ||
  505. this.teamStatus == "PAY"
  506. ) {
  507. this.basdisabled = true;
  508. } else {
  509. this.basdisabled = false;
  510. }
  511. },
  512. deactivated() {},
  513. // async beforeDestroy() {
  514. // await this.setStore();
  515. // // await new Promise((res, err) => {
  516. // // setTimeout(() => {
  517. // // res();
  518. // // }, 1000);
  519. // // });
  520. // },
  521. methods: {
  522. async setStore(str) {
  523. if (this.teamid) {
  524. let loadash = this.$helpers.lodash;
  525. let sotrage = JSON.parse(localStorage.getItem(`${this.teamid}base`));
  526. if (!loadash.isEqual(this.topFrom, sotrage) && sotrage) {
  527. // 提示保存
  528. return await this.$confirm("已修改当前页面数据是否保存", "提示", {
  529. confirmButtonText: "是",
  530. cancelButtonText: "否",
  531. type: "warning",
  532. closeOnClickModal: false,
  533. distinguishCancelAndClose: true,
  534. })
  535. .then(async () => {
  536. // localStorage.setItem(
  537. // `${this.teamid}base`,
  538. // JSON.stringify(this.topFrom)
  539. // );
  540. let b = await this.gotoNext(str);
  541. console.log(b);
  542. return b;
  543. })
  544. .catch((e) => {
  545. console.log(e);
  546. if (e == "close") {
  547. return false;
  548. } else {
  549. localStorage.removeItem(`${this.teamid}base`);
  550. return true;
  551. }
  552. // localStorage.setItem(`${this.teamid}base`,JSON.stringify(this.topFrom));
  553. });
  554. } else {
  555. return true;
  556. // localStorage.setItem(`${this.teamid}base`,JSON.stringify(this.topFrom));
  557. }
  558. } else {
  559. localStorage.setItem(`newTeambase`, JSON.stringify(this.topFrom));
  560. return true;
  561. }
  562. },
  563. //|| this.teamStatus === 'teamAudit'
  564. isNotEditing: function () {
  565. return !(
  566. this.teamStatus === "teamDraft" ||
  567. this.teamStatus === "newTeam" ||
  568. this.teamStatus === "teamList"
  569. );
  570. },
  571. changeFeeType(val) {},
  572. changePaymentValidStartDate(val) {
  573. if (val) {
  574. this.$set(this.topFrom, "paymentValidEndDate", "");
  575. }
  576. },
  577. changePaymentPattern(val) {
  578. // if (val === 2) {
  579. // // this.topFrom.paymentValidStartDate = null
  580. // this.$set(this.topFrom, 'paymentValidEndDate', '')
  581. // }
  582. },
  583. beginDate(end) {
  584. return {
  585. firstDayOfWeek: 1,
  586. disabledDate(time) {
  587. if (end) {
  588. return new Date(end).getTime() - 86400000 >= time.getTime();
  589. } else {
  590. return time.getTime() + 86400000 < Date.now();
  591. //开始时间不选时,结束时间最大值小于等于当天
  592. }
  593. },
  594. };
  595. },
  596. init() {
  597. this.isInit = true;
  598. if (this.$route.query.id) {
  599. this.teamid = this.$route.query.id;
  600. }
  601. this.teamStatus = this.$route.query.type;
  602. this.team_status = this.$route.query.team_status;
  603. // if (this.teamStatus == "newTeam") {
  604. // this.$store.dispatch("buildIndex", 0);
  605. // }
  606. // if (this.teamStatus != "newTeam") {
  607. // this.$store.dispatch("draftIndex", 0);
  608. // }
  609. // 传过来的乐团信息
  610. this.activeTeam = this.getTeamList;
  611. if (
  612. this.teamStatus == "look" ||
  613. this.teamStatus == "teamAudit" ||
  614. this.teamStatus == "feeAudit" ||
  615. this.teamStatus == "teamCanceled"
  616. ) {
  617. this.basdisabled = true;
  618. } else {
  619. this.basdisabled = false;
  620. }
  621. if (this.$route.query.id) {
  622. // 单团修改
  623. this.teamid = this.$route.query.id;
  624. let sotrage = JSON.parse(
  625. localStorage.getItem(`${this.$route.query.id}base`)
  626. );
  627. if (!sotrage?.section) {
  628. getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
  629. if (res.code == 200) {
  630. // if (this.$listeners.getBaseInfo) {
  631. // this.$listeners.getBaseInfo(res.data);
  632. // }
  633. // 头部
  634. this.setBase(res);
  635. // // 循环缴费月
  636. // this.payList.chioseMonth = res.data.months;
  637. if (res.data.musicGroup.organId) {
  638. // 获取员工
  639. this.getBaseList(res.data.musicGroup.organId);
  640. }
  641. this.$emit("getBaseInfo", res.data);
  642. }
  643. });
  644. } else {
  645. this.topFrom = sotrage;
  646. // this.applyExpireDate = sotrage.time;
  647. // this.paymentExpireDate = Storage.paymentExpireDate;
  648. if (this.topFrom?.section) {
  649. // 获取员工
  650. this.getBaseList(this.topFrom.section);
  651. }
  652. }
  653. } else {
  654. // 如果是新建团
  655. let sotrage = JSON.parse(localStorage.getItem(`newTeambase`));
  656. sotrage ? (this.topFrom = sotrage) : this.topFrom;
  657. if (this.topFrom?.section) {
  658. // 获取员工
  659. this.getBaseList(this.topFrom.section);
  660. }
  661. }
  662. this.getStudentStatus();
  663. this.$emit("getName", this.topFrom?.name);
  664. getEmployeeOrgan().then((res) => {
  665. if (res.code == 200) {
  666. this.sectionList = res.data;
  667. }
  668. });
  669. // 2.获取收费类型选项卡
  670. getType({ rows: 1000 }).then((res) => {
  671. if (res.code == 200) {
  672. this.typeList = res.data.rows;
  673. }
  674. });
  675. // 缓存设置时的状态
  676. },
  677. changeSection(val) {
  678. // 修改分部的时候 重置运营主管 重置乐团主管 重置乐队指导 合作单位 教学点
  679. this.topFrom.teacher = "";
  680. this.topFrom.boss = "";
  681. this.topFrom.head = "";
  682. this.topFrom.school = "";
  683. this.topFrom.address = "";
  684. // 发请求 根据分部id 查询所有员工
  685. this.getBaseList(val);
  686. },
  687. async getBaseList(val) {
  688. // 合作单位
  689. queryByOrganId({ organId: val }).then((res) => {
  690. if (res.code == 200) {
  691. this.cooperationList = res.data;
  692. }
  693. });
  694. // 教学点=>学校
  695. getSchool({ organId: val }).then((res) => {
  696. if (res.code == 200) {
  697. this.addList = res.data;
  698. }
  699. });
  700. // 获取维修技师
  701. findTechnician().then((res) => {
  702. if (res.code == 200) {
  703. this.technician = res.data;
  704. }
  705. });
  706. // 获取乐团主管
  707. try {
  708. const ruselt = await findUserByRole({
  709. organId: val,
  710. employeeRole: "EDUCATION",
  711. });
  712. this.educationList = ruselt.data;
  713. } catch (e) {
  714. console.log(e);
  715. }
  716. // 获取运营主管
  717. try {
  718. const ruselt = await findUserByRole({
  719. organId: val,
  720. employeeRole: "TEAM_TEACHER",
  721. });
  722. this.bossList = ruselt.data;
  723. } catch (e) {
  724. console.log(e);
  725. }
  726. // 获取指导老师
  727. getTeacher({ organId: val }).then((res) => {
  728. if (res.code == 200) {
  729. this.teacherList = res.data;
  730. }
  731. });
  732. },
  733. chioseSchool(val) {
  734. // 清除教学点
  735. this.topFrom.teacher = ''
  736. if(val){
  737. this.cooperationList.forEach(item=>{
  738. if(item.id == val){
  739. this.topFrom.teacher = item.educationUserId
  740. }
  741. })
  742. }
  743. console.log(val)
  744. },
  745. async gotoNext(str) {
  746. let tempStatus;
  747. return new Promise((resolve, reject) => {
  748. this.$refs["topinfo"].validate(async (valid, object) => {
  749. if (!valid) {
  750. this.$message.error("请填写建团必要参数");
  751. // return false
  752. resolve(false);
  753. } else {
  754. // 判断一下是否勾选了课程类型而没有输入金额
  755. // 验证通过
  756. this.$store.dispatch("topinfo", this.topFrom);
  757. if (this.teamStatus == "teamAudit") {
  758. // 获取数据提交
  759. this.$emit("handleClick", { name: "2" });
  760. } else {
  761. this.$emit("getName", this.topFrom.name);
  762. tempStatus = await this.resetSubmit(str);
  763. console.log(tempStatus, "tempStatus");
  764. resolve(tempStatus);
  765. }
  766. }
  767. });
  768. });
  769. },
  770. async resetSubmit(str) {
  771. return new Promise((resolve, reject) => {
  772. this.$refs["topinfo"].validate(async (valid, object) => {
  773. if (!valid) {
  774. this.$message.error("请填写必要参数");
  775. reject();
  776. } else {
  777. let status = null;
  778. // 1.resetTeam 乐团修改
  779. // 2.newTeam 新建乐团
  780. // 3.teamList 跨团修改
  781. // 4.teamDraft 乐团草稿
  782. switch (this.teamStatus) {
  783. case "resetTeam": {
  784. status = "PROGRESS";
  785. break;
  786. }
  787. case "newTeam": {
  788. status = "DRAFT";
  789. break;
  790. }
  791. case "teamList": {
  792. status = null;
  793. break;
  794. }
  795. case "teamDraft": {
  796. status = "DRAFT";
  797. break;
  798. }
  799. }
  800. let obj = {};
  801. // topFrom.ownershipType
  802. // 修改 合并对象
  803. obj.musicGroup = {
  804. settlementType: this.topFrom.salary,
  805. applyExpireDate: dayjs(this.topFrom.time).format(
  806. "YYYY-MM-DD HH:mm:ss"
  807. ),
  808. chargeTypeId: this.topFrom.type,
  809. cooperationOrganId: this.topFrom.school,
  810. courseViewType: this.topFrom.courseViewType,
  811. teamTeacherId: this.topFrom.boss,
  812. // educationalTeacherId: this.topFrom.teacher,
  813. enrollClasses: this.topFrom.startClass.join(","),
  814. name: this.topFrom.name,
  815. paymentPattern: this.topFrom.paymentPattern,
  816. paymentValidStartDate: this.topFrom.paymentValidStartDate
  817. ? dayjs(this.topFrom.paymentValidStartDate).format("YYYY-MM-DD")
  818. : this.topFrom.paymentValidStartDate,
  819. paymentValidEndDate: this.topFrom.paymentValidEndDate
  820. ? dayjs(this.topFrom.paymentValidEndDate).format("YYYY-MM-DD")
  821. : this.topFrom.paymentValidEndDate,
  822. organId: this.topFrom.section,
  823. // paymentMonths:obj.months 有待确认
  824. schoolId: this.topFrom.address,
  825. id: this.teamid,
  826. directorUserId: this.topFrom.head,
  827. isClassroomLessons: this.topFrom.isClass,
  828. status,
  829. expectStartGroupDate: this.topFrom.startTime,
  830. ownershipType: this.topFrom.ownershipType,
  831. repairUserId: this.topFrom.repairUserId || null,
  832. feeType: this.topFrom.feeType,
  833. };
  834. // obj.musicGroupPaymentEntities = [];
  835. // createTeam
  836. if (this.teamStatus != "newTeam") {
  837. return await resetTeamBaseInfo(obj).then(async (res) => {
  838. if (res.code == 200) {
  839. localStorage.setItem(
  840. `${this.teamid}base`,
  841. JSON.stringify(this.topFrom)
  842. );
  843. this.$emit("getBaseInfo");
  844. if (this.teamStatus == "teamDraft") {
  845. this.$message.success("保存成功");
  846. if (!str) {
  847. this.$emit("handleClick", { name: "2" });
  848. }
  849. resolve(true);
  850. // 跳到第二页
  851. } else {
  852. this.$message.success("修改乐团成功");
  853. // this.$router.push({ path: '/teamLists', query: { id: this.teamid, name: this.topFrom.name } })
  854. }
  855. resolve(true);
  856. }
  857. });
  858. } else {
  859. // 发送建团申请 成功后跳到第二页
  860. createTeam(obj).then((res) => {
  861. if (res.code == 200) {
  862. // this.$message.success('建团成功,请设置声部信息')
  863. // this.$emit("chiosetab", 1);
  864. const h = this.$createElement;
  865. this.$msgbox({
  866. title: "提示",
  867. message: h("p", null, [
  868. h("p", null, "新建乐团成功 "),
  869. h("p", null, "请设置声部信息"),
  870. ]),
  871. type: "warning",
  872. confirmButtonText: "是",
  873. cancelButtonText: "否",
  874. showCancelButton: true,
  875. customClass: "messageBox-prompt-test",
  876. })
  877. .then(() => {
  878. this.$router.push(
  879. {
  880. query: merge(this.$route.query, {
  881. type: "teamDraft",
  882. id: res.data,
  883. team_status: "DRAFT",
  884. }),
  885. },
  886. (router) => {
  887. console.log(router);
  888. router.meta.title = "乐团编辑中";
  889. }
  890. );
  891. this.$emit("getName", this.topFrom.name);
  892. this.$emit("handleClick", { name: "2" });
  893. return true;
  894. })
  895. .catch(() => {
  896. this.$router.push(
  897. {
  898. query: merge(this.$route.query, {
  899. type: "teamDraft",
  900. id: res.data,
  901. team_status: "DRAFT",
  902. }),
  903. },
  904. (router) => {
  905. console.log(router);
  906. router.meta.title = "乐团编辑中";
  907. }
  908. );
  909. this.$emit("getName", this.topFrom.name);
  910. this.init();
  911. return true;
  912. });
  913. }
  914. });
  915. }
  916. // 发请求
  917. }
  918. });
  919. });
  920. },
  921. changeApplyTime(val) {
  922. this.$set(this.topFrom, "paymentValidStartDate", "");
  923. this.$set(this.topFrom, "paymentValidEndDate", "");
  924. // this.topFrom.paymentValidStartDate = ''
  925. // this.topFrom.paymentValidEndDate = ''
  926. },
  927. onReset() {
  928. this.topFrom = {
  929. type: "", // 收费类型
  930. section: "", //所属分部
  931. school: "", // 合作单位
  932. courseViewType: "",
  933. teacher: "", // 乐团主管
  934. name: "", //乐团名称
  935. boss: "", // 运营主管
  936. time: "", // 报名截止时间
  937. startClass: [], // 招生年级起始
  938. paymentValid: [], // 缴费有效期时间起始
  939. address: "", // 教学地点
  940. salary: "", // 收费模式
  941. head: "",
  942. paymentPattern: "", // 缴费方式
  943. isClass: false, //是否为课堂课
  944. startTime: "",
  945. ownershipType: "OWN", // 合作机构类型
  946. feeType: null,
  947. };
  948. this.$refs["topinfo"].resetFields();
  949. },
  950. onGoHome() {
  951. if (this.paymentNum <= 0) {
  952. this.$message.error("当前缴费人数为0,无法开团");
  953. return;
  954. }
  955. this.$confirm(`是否确认开团?`, "提示", {
  956. confirmButtonText: "确定",
  957. cancelButtonText: "取消",
  958. type: "warning",
  959. })
  960. .then(() => {
  961. musicGroupFound({
  962. musicGroupId: this.$route.query.id,
  963. }).then((res) => {
  964. if (res.code == 200) {
  965. // let query = this.$route.query;
  966. // this.$message.success("开启成功");
  967. // this.$router.push({
  968. // path: "/teamList",
  969. // query: {
  970. // ...query,
  971. // },
  972. // });
  973. this.onCancel();
  974. }
  975. });
  976. })
  977. .catch(() => {});
  978. },
  979. payStart() {
  980. this.paymentStatus = true;
  981. },
  982. getStudentStatus() {
  983. let obj = {
  984. musicGroupId: this.teamid,
  985. page: 1,
  986. rows: 9999,
  987. };
  988. if (!this.teamid) return;
  989. getStudentList(obj).then((res) => {
  990. if (res.code == 200) {
  991. res.data.rows.forEach((item) => {
  992. // '未开启缴费', '开启缴费', '已缴费'
  993. if (item.paymentStatus == 2) {
  994. this.paymentNum += 1;
  995. }
  996. });
  997. // this.rightList = res.data.rows;
  998. // this.rules.total = res.data.total;
  999. // return res;
  1000. }
  1001. });
  1002. },
  1003. payDate() {
  1004. let self = this;
  1005. return {
  1006. firstDayOfWeek: 1,
  1007. disabledDate(time) {
  1008. if (self.applyExpireDate) {
  1009. return (
  1010. time.getTime() <=
  1011. new Date(self.applyExpireDate.replace(/-/g, "/")).getTime()
  1012. );
  1013. } else {
  1014. return false;
  1015. }
  1016. },
  1017. };
  1018. },
  1019. onStartPayment(formName) {
  1020. // 开启缴费
  1021. this.$refs[formName].validate((valid) => {
  1022. if (valid) {
  1023. musicGroupOpenPay({
  1024. musicGroupId: this.teamid,
  1025. expireDate: this.paymentForm.paymentExpireDate,
  1026. // feeType: this.paymentForm.feeType
  1027. }).then((res) => {
  1028. if (res.code == 200) {
  1029. this.$message.success("开启成功");
  1030. this.paymentStatus = false;
  1031. this.$store.dispatch("delVisitedViews", this.$route);
  1032. this.$router.push({ path: "/teamList" });
  1033. // this.$router.push({
  1034. // path: "/business/resetTeaming",
  1035. // query: {
  1036. // status: "PAY",
  1037. // id: this.$route.query.id,
  1038. // name: this.$route.query.name,
  1039. // },
  1040. // });
  1041. // this.team_status = "PAY";
  1042. // this.paymentExpireDate = this.paymentForm.paymentExpireDate;
  1043. // this.getList();
  1044. }
  1045. });
  1046. } else {
  1047. return false;
  1048. }
  1049. });
  1050. },
  1051. applyDate() {
  1052. let self = this;
  1053. return {
  1054. firstDayOfWeek: 1,
  1055. disabledDate(time) {
  1056. if (self.paymentExpireDate) {
  1057. return (
  1058. time.getTime() >
  1059. new Date(self.paymentExpireDate.replace(/-/g, "/")).getTime()
  1060. );
  1061. } else {
  1062. return false;
  1063. }
  1064. },
  1065. };
  1066. },
  1067. extendTime(isPay) {
  1068. this.isPay = isPay;
  1069. if (isPay) {
  1070. // 点击的延长缴费
  1071. this.extendForm.expireDate = this.paymentExpireDate;
  1072. } else {
  1073. // 点击的延长报名
  1074. this.extendForm.expireDate = this.applyExpireDate;
  1075. }
  1076. this.extendPaymentStatus = true;
  1077. },
  1078. onExtendPayment(formName, isPay) {
  1079. this.$refs[formName].validate((valid) => {
  1080. if (valid) {
  1081. if (!isPay) {
  1082. extensionApplyExpire({
  1083. musicGroupId: this.teamid,
  1084. expireDate: this.extendForm.expireDate,
  1085. }).then((res) => {
  1086. if (res.code == 200) {
  1087. this.$message.success("延长报名成功");
  1088. this.extendPaymentStatus = false;
  1089. getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
  1090. if (res.code == 200) {
  1091. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1092. this.setBase(res);
  1093. }
  1094. });
  1095. } else {
  1096. this.$message.error(res.msg);
  1097. }
  1098. });
  1099. } else {
  1100. extensionPayment({
  1101. musicGroupId: this.teamid,
  1102. expireDate: this.extendForm.expireDate,
  1103. }).then((res) => {
  1104. if (res.code == 200) {
  1105. this.$message.success("延长缴费成功");
  1106. this.extendPaymentStatus = false;
  1107. getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
  1108. if (res.code == 200) {
  1109. this.paymentExpireDate =
  1110. res.data.musicGroup.paymentExpireDate;
  1111. }
  1112. });
  1113. } else {
  1114. this.$message.error(res.msg);
  1115. }
  1116. });
  1117. }
  1118. }
  1119. });
  1120. },
  1121. onCreateQRCode(type) {
  1122. // 生成报名二维码
  1123. let id = this.teamid;
  1124. this.codeStatus = true;
  1125. if (type == "payment") {
  1126. this.codeTitle = "学员报名链接";
  1127. this.qrCodeUrl = vaildStudentUrl() + "/#/login?musicGroupId=" + id;
  1128. } else if (type == "detail") {
  1129. let teamName = this.$route.query.name;
  1130. this.codeTitle = "报名缴费详情";
  1131. this.qrCodeUrl =
  1132. vaildTeacherUrl() +
  1133. "/#/order?musicGroupId=" +
  1134. id +
  1135. "&musicGroupName=" +
  1136. teamName;
  1137. } else if (type == "rePayment") {
  1138. this.codeTitle = "学生报名链接(无乐器)";
  1139. this.qrCodeUrl =
  1140. vaildStudentUrl() + "/#/login?musicGroupId=" + id + "&instrument=1";
  1141. }
  1142. },
  1143. gotoStudentList() {
  1144. this.$router.push({
  1145. query: merge(this.$route.query, { tabrouter: 7 }),
  1146. });
  1147. // this.$router.replace({query:{...this.$route.query,tabrouter:7}})
  1148. },
  1149. setBase(res) {
  1150. this.topFrom.name = res.data.musicGroup.name;
  1151. this.$emit("getName", this.topFrom.name);
  1152. this.topFrom.time = res.data.musicGroup.applyExpireDate;
  1153. this.topFrom.type = res.data.musicGroup.chargeTypeId;
  1154. this.topFrom.startClass = res.data.musicGroup.enrollClasses.split(",");
  1155. this.topFrom.paymentPattern = res.data.musicGroup.paymentPattern;
  1156. this.topFrom.paymentValidStartDate =
  1157. res.data.musicGroup.paymentValidStartDate;
  1158. this.topFrom.paymentValidEndDate =
  1159. res.data.musicGroup.paymentValidEndDate;
  1160. this.topFrom.section = res.data.musicGroup.organId;
  1161. this.topFrom.courseViewType = res.data.musicGroup.courseViewType;
  1162. this.topFrom.school = res.data.musicGroup.cooperationOrganId;
  1163. this.topFrom.teacher = res.data.musicGroup.educationalTeacherId;
  1164. this.topFrom.boss = res.data.musicGroup.teamTeacherId;
  1165. this.topFrom.address = res.data.musicGroup.schoolId;
  1166. this.topFrom.salary = res.data.musicGroup.settlementType;
  1167. this.topFrom.head = res.data.musicGroup.directorUserId
  1168. ? res.data.musicGroup.directorUserId
  1169. : null;
  1170. this.topFrom.isClass = res.data.musicGroup.isClassroomLessons;
  1171. this.topFrom.startTime = res.data.musicGroup.expectStartGroupDate;
  1172. this.topFrom.ownershipType = res.data.musicGroup.ownershipType;
  1173. this.topFrom.repairUserId = res.data.musicGroup.repairUserId
  1174. ? res.data.musicGroup.repairUserId
  1175. : null;
  1176. this.topFrom.feeType = res.data.musicGroup.feeType
  1177. ? res.data.musicGroup.feeType
  1178. : null;
  1179. this.paymentExpireDate = res.data.musicGroup.paymentExpireDate;
  1180. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1181. localStorage.setItem(`${this.teamid}base`, JSON.stringify(this.topFrom));
  1182. },
  1183. changeType(val) {
  1184. if (val) {
  1185. localStorage.removeItem(`${this.teamid}sound`);
  1186. }
  1187. },
  1188. },
  1189. computed: {
  1190. startClassString() {
  1191. return this.topFrom.startClass
  1192. .map((item) => {
  1193. for (let i in this.classStatus) {
  1194. if (item == this.classStatus[i].value) {
  1195. return this.classStatus[i].label;
  1196. }
  1197. }
  1198. // return this.classStatus[item]
  1199. })
  1200. .join(",");
  1201. },
  1202. showNext() {
  1203. const teamStatus = this.teamStatus;
  1204. return (
  1205. teamStatus == "newTeam" ||
  1206. teamStatus == "teamDraft" ||
  1207. teamStatus == "teamAudit" ||
  1208. teamStatus == "feeAudit"
  1209. );
  1210. },
  1211. },
  1212. };
  1213. </script>
  1214. <style lang="scss" >
  1215. .messageBox-prompt-test {
  1216. .el-message-box__status {
  1217. top: 25% !important;
  1218. }
  1219. }
  1220. .base-container {
  1221. overflow: auto;
  1222. // display: flex;
  1223. // flex-direction: row;
  1224. // justify-content: flex-start;
  1225. // flex-wrap: nowrap;
  1226. font-size: 14px;
  1227. color: #444;
  1228. // width: fill-available;
  1229. .banseLeft {
  1230. // width: 1050px;
  1231. .head {
  1232. height: 48px;
  1233. line-height: 48px;
  1234. background-color: #edeef0;
  1235. font-size: 14px;
  1236. font-weight: bold;
  1237. color: #444;
  1238. padding: 0 11px;
  1239. margin-bottom: 20px;
  1240. }
  1241. .noMargin.head {
  1242. margin-bottom: 0;
  1243. }
  1244. .num {
  1245. padding: 15px 11px;
  1246. }
  1247. .checkRow {
  1248. min-width: 1200px;
  1249. padding-left: 28px;
  1250. display: flex;
  1251. flex-direction: row;
  1252. justify-content: flex-start;
  1253. flex-wrap: nowrap;
  1254. overflow: auto;
  1255. .el-checkbox {
  1256. line-height: 72px;
  1257. width: 120px;
  1258. }
  1259. .inputWrap {
  1260. line-height: 72px;
  1261. font-size: 14px;
  1262. color: #777;
  1263. margin-left: 65px;
  1264. input {
  1265. // border: none;
  1266. // width: 80px;
  1267. // margin-right: 10px;
  1268. // outline: none;
  1269. }
  1270. }
  1271. .inputWrap.rightFirst {
  1272. margin-left: 245px;
  1273. }
  1274. .textWrap {
  1275. display: flex;
  1276. flex-direction: row;
  1277. justify-content: flex-start;
  1278. font-size: 14px;
  1279. color: #777;
  1280. align-items: center;
  1281. span {
  1282. color: #f97215;
  1283. }
  1284. }
  1285. .selectWrap {
  1286. font-size: 14px;
  1287. padding-top: 5px;
  1288. margin-left: 100px;
  1289. margin-right: 52px;
  1290. .rowSelect {
  1291. .el-input__inner {
  1292. min-height: 69px;
  1293. }
  1294. }
  1295. }
  1296. .chioseList {
  1297. display: flex;
  1298. flex-direction: row;
  1299. justify-content: flex-start;
  1300. align-items: center;
  1301. font-size: 14px;
  1302. color: #777;
  1303. margin-left: 64px;
  1304. .chioseItem {
  1305. width: 80px;
  1306. height: 30px;
  1307. border-radius: 15px;
  1308. border: 1px solid #979797;
  1309. margin-right: 10px;
  1310. line-height: 30px;
  1311. text-align: center;
  1312. cursor: pointer;
  1313. }
  1314. .chioseItem.active {
  1315. background-color: #14928a;
  1316. border: 1px solid #14928a;
  1317. color: #fff;
  1318. }
  1319. }
  1320. // &:nth-child(even) {
  1321. // background-color: #c6cbd4;
  1322. // input {
  1323. // background-color: #c6cbd4;
  1324. // }
  1325. // }
  1326. }
  1327. }
  1328. .btnWrap {
  1329. margin-top: 30px;
  1330. }
  1331. .el-checkbox__input.is-checked + .el-checkbox__label {
  1332. color: #606266;
  1333. }
  1334. .subTitle {
  1335. // width: 1203px;
  1336. height: 40px;
  1337. line-height: 40px;
  1338. background-color: #fefceb;
  1339. padding: 0 25px;
  1340. box-sizing: border-box;
  1341. font-size: 16px;
  1342. color: #474747;
  1343. margin-bottom: 20px;
  1344. }
  1345. .chioseWrap {
  1346. margin-bottom: 30px;
  1347. display: flex;
  1348. flex-direction: row;
  1349. padding: 0 25px;
  1350. p {
  1351. width: 80px;
  1352. font-size: 14px;
  1353. // margin-right: 30px;
  1354. }
  1355. }
  1356. .classCheckBox {
  1357. margin-right: 10px;
  1358. }
  1359. }
  1360. </style>
  1361. <style scoped lang="scss">
  1362. /deep/.el-date-editor {
  1363. width: 180px !important;
  1364. }
  1365. /deep/.el-checkbox {
  1366. margin-left: 15px !important;
  1367. }
  1368. /deep/.el-input {
  1369. position: relative;
  1370. font-size: 14px;
  1371. display: inline-block;
  1372. width: 180px;
  1373. }
  1374. input[disabled] {
  1375. background-color: #fff;
  1376. border-color: #b3b3b3;
  1377. color: #606266;
  1378. }
  1379. /deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  1380. background-color: rgb(19, 129, 122);
  1381. border-color: rgb(19, 129, 122);
  1382. // -webkit-box-shadow: -1px 0 0 0 rgb (19, 129, 122);
  1383. box-shadow: -1px 0 0 rgb(19, 129, 122);
  1384. color: #fff;
  1385. outline: none;
  1386. }
  1387. /deep/.el-radio-button__inner {
  1388. &:hover {
  1389. color: rgb(19, 129, 122);
  1390. }
  1391. outline: none;
  1392. }
  1393. /deep/.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled) {
  1394. -webkit-box-shadow: none;
  1395. box-shadow: none;
  1396. }
  1397. </style>