teamBaseInfo.vue 43 KB

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