teamBaseInfo.vue 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408
  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="address"
  92. :rules="[{ required: true, message: '教学地点不能为空' }]"
  93. >
  94. <template #label>
  95. <p style="position: relative; display: inline-block">
  96. 教学地点
  97. <el-tooltip placement="top" popper-class="mTooltip">
  98. <div slot="content">
  99. 如果已生成课表,则会修改未上课时的教学点
  100. </div>
  101. <i
  102. class="el-icon-question"
  103. style="font-size: 18px; color: #f56c6c"
  104. ></i>
  105. </el-tooltip>
  106. </p>
  107. </template>
  108. <el-select
  109. v-model.trim="topFrom.address"
  110. filterable
  111. clearable
  112. :disabled="!topFrom.section || basdisabled"
  113. >
  114. <el-option
  115. v-for="(item, index) in addList"
  116. :key="index"
  117. :label="item.name"
  118. :value="item.id"
  119. ></el-option>
  120. </el-select>
  121. </el-form-item>
  122. <el-form-item
  123. label="乐团名称"
  124. prop="name"
  125. :rules="[{ required: true, message: '乐团名称不能为空' }]"
  126. >
  127. <el-input
  128. placeholder="请输入乐团名称"
  129. v-model.trim="topFrom.name"
  130. :disabled="basdisabled"
  131. ></el-input>
  132. </el-form-item>
  133. <el-form-item
  134. label="运营主管"
  135. prop="boss"
  136. :rules="[{ required: true, message: '运营主管不能为空' }]"
  137. >
  138. <el-select
  139. v-model.trim="topFrom.boss"
  140. :disabled="!topFrom.section || basdisabled"
  141. filterable
  142. clearable
  143. >
  144. <el-option
  145. v-for="item in bossList"
  146. :key="item.userId"
  147. :label="item.realName"
  148. :value="item.userId"
  149. >
  150. <span style="float: left">{{ item.realName }}</span>
  151. <span style="float: right; color: #8492a6; font-size: 13px">{{
  152. String(item.userId)
  153. }}</span>
  154. </el-option>
  155. </el-select>
  156. </el-form-item>
  157. <el-form-item
  158. label="乐团主管"
  159. prop="teacher"
  160. :rules="[{ required: true, message: '乐团主管不能为空' }]"
  161. >
  162. <el-select
  163. v-model.trim="topFrom.teacher"
  164. :disabled="!topFrom.section || basdisabled"
  165. filterable
  166. clearable
  167. >
  168. <el-option
  169. v-for="(item, index) in educationList"
  170. :key="index"
  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. async gotoNext(str) {
  735. let tempStatus
  736. return new Promise((resolve, reject)=>{
  737. this.$refs["topinfo"].validate(async (valid, object) => {
  738. if (!valid) {
  739. this.$message.error("请填写建团必要参数");
  740. // return false
  741. resolve(false)
  742. } else {
  743. // 判断一下是否勾选了课程类型而没有输入金额
  744. // 验证通过
  745. this.$store.dispatch("topinfo", this.topFrom);
  746. if (this.teamStatus == "teamAudit") {
  747. // 获取数据提交
  748. this.$emit("handleClick", { name: "2" });
  749. } else {
  750. this.$emit("getName", this.topFrom.name);
  751. tempStatus = await this.resetSubmit(str);
  752. console.log(tempStatus,'tempStatus')
  753. resolve(tempStatus)
  754. }
  755. }
  756. });
  757. })
  758. },
  759. async resetSubmit(str) {
  760. return new Promise((resolve, reject)=>{
  761. this.$refs["topinfo"].validate(async (valid, object) => {
  762. if (!valid) {
  763. this.$message.error("请填写必要参数");
  764. reject()
  765. } else {
  766. let status = null;
  767. // 1.resetTeam 乐团修改
  768. // 2.newTeam 新建乐团
  769. // 3.teamList 跨团修改
  770. // 4.teamDraft 乐团草稿
  771. switch (this.teamStatus) {
  772. case "resetTeam": {
  773. status = "PROGRESS";
  774. break;
  775. }
  776. case "newTeam": {
  777. status = "DRAFT";
  778. break;
  779. }
  780. case "teamList": {
  781. status = null;
  782. break;
  783. }
  784. case "teamDraft": {
  785. status = "DRAFT";
  786. break;
  787. }
  788. }
  789. let obj = {};
  790. // topFrom.ownershipType
  791. // 修改 合并对象
  792. obj.musicGroup = {
  793. settlementType: this.topFrom.salary,
  794. applyExpireDate: dayjs(this.topFrom.time).format(
  795. "YYYY-MM-DD HH:mm:ss"
  796. ),
  797. chargeTypeId: this.topFrom.type,
  798. cooperationOrganId: this.topFrom.school,
  799. courseViewType: this.topFrom.courseViewType,
  800. teamTeacherId: this.topFrom.boss,
  801. educationalTeacherId: this.topFrom.teacher,
  802. enrollClasses: this.topFrom.startClass.join(","),
  803. name: this.topFrom.name,
  804. paymentPattern: this.topFrom.paymentPattern,
  805. paymentValidStartDate: this.topFrom.paymentValidStartDate
  806. ? dayjs(this.topFrom.paymentValidStartDate).format("YYYY-MM-DD")
  807. : this.topFrom.paymentValidStartDate,
  808. paymentValidEndDate: this.topFrom.paymentValidEndDate
  809. ? dayjs(this.topFrom.paymentValidEndDate).format("YYYY-MM-DD")
  810. : this.topFrom.paymentValidEndDate,
  811. organId: this.topFrom.section,
  812. // paymentMonths:obj.months 有待确认
  813. schoolId: this.topFrom.address,
  814. id: this.teamid,
  815. directorUserId: this.topFrom.head,
  816. isClassroomLessons: this.topFrom.isClass,
  817. status,
  818. expectStartGroupDate: this.topFrom.startTime,
  819. ownershipType: this.topFrom.ownershipType,
  820. repairUserId: this.topFrom.repairUserId || null,
  821. feeType: this.topFrom.feeType,
  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. query: merge(this.$route.query, {
  887. type: "teamDraft",
  888. id: res.data,
  889. team_status: "DRAFT",
  890. }),
  891. },(router) => {
  892. console.log(router);
  893. router.meta.title = "乐团编辑中";
  894. });
  895. this.$emit("getName", this.topFrom.name);
  896. this.init();
  897. return true
  898. });
  899. }
  900. });
  901. }
  902. // 发请求
  903. }
  904. });
  905. })
  906. },
  907. changeApplyTime(val) {
  908. this.$set(this.topFrom, "paymentValidStartDate", "");
  909. this.$set(this.topFrom, "paymentValidEndDate", "");
  910. // this.topFrom.paymentValidStartDate = ''
  911. // this.topFrom.paymentValidEndDate = ''
  912. },
  913. onReset() {
  914. this.topFrom = {
  915. type: "", // 收费类型
  916. section: "", //所属分部
  917. school: "", // 合作单位
  918. courseViewType: "",
  919. teacher: "", // 乐团主管
  920. name: "", //乐团名称
  921. boss: "", // 运营主管
  922. time: "", // 报名截止时间
  923. startClass: [], // 招生年级起始
  924. paymentValid: [], // 缴费有效期时间起始
  925. address: "", // 教学地点
  926. salary: "", // 收费模式
  927. head: "",
  928. paymentPattern: "", // 缴费方式
  929. isClass: false, //是否为课堂课
  930. startTime: "",
  931. ownershipType: "OWN", // 合作机构类型
  932. feeType: null,
  933. };
  934. this.$refs["topinfo"].resetFields();
  935. },
  936. onGoHome() {
  937. if (this.paymentNum <= 0) {
  938. this.$message.error("当前缴费人数为0,无法开团");
  939. return;
  940. }
  941. this.$confirm(`是否确认开团?`, "提示", {
  942. confirmButtonText: "确定",
  943. cancelButtonText: "取消",
  944. type: "warning",
  945. })
  946. .then(() => {
  947. musicGroupFound({
  948. musicGroupId: this.$route.query.id,
  949. }).then((res) => {
  950. if (res.code == 200) {
  951. // let query = this.$route.query;
  952. // this.$message.success("开启成功");
  953. // this.$router.push({
  954. // path: "/teamList",
  955. // query: {
  956. // ...query,
  957. // },
  958. // });
  959. this.onCancel();
  960. }
  961. });
  962. })
  963. .catch(() => {});
  964. },
  965. payStart() {
  966. this.paymentStatus = true;
  967. },
  968. getStudentStatus() {
  969. let obj = {
  970. musicGroupId: this.teamid,
  971. page: 1,
  972. rows: 9999,
  973. };
  974. if (!this.teamid) return;
  975. getStudentList(obj).then((res) => {
  976. if (res.code == 200) {
  977. res.data.rows.forEach((item) => {
  978. // '未开启缴费', '开启缴费', '已缴费'
  979. if (item.paymentStatus == 2) {
  980. this.paymentNum += 1;
  981. }
  982. });
  983. // this.rightList = res.data.rows;
  984. // this.rules.total = res.data.total;
  985. // return res;
  986. }
  987. });
  988. },
  989. payDate() {
  990. let self = this;
  991. return {
  992. firstDayOfWeek: 1,
  993. disabledDate(time) {
  994. if (self.applyExpireDate) {
  995. return (
  996. time.getTime() <=
  997. new Date(self.applyExpireDate.replace(/-/g, "/")).getTime()
  998. );
  999. } else {
  1000. return false;
  1001. }
  1002. },
  1003. };
  1004. },
  1005. onStartPayment(formName) {
  1006. // 开启缴费
  1007. this.$refs[formName].validate((valid) => {
  1008. if (valid) {
  1009. musicGroupOpenPay({
  1010. musicGroupId: this.teamid,
  1011. expireDate: this.paymentForm.paymentExpireDate,
  1012. // feeType: this.paymentForm.feeType
  1013. }).then((res) => {
  1014. if (res.code == 200) {
  1015. this.$message.success("开启成功");
  1016. this.paymentStatus = false;
  1017. this.$store.dispatch("delVisitedViews", this.$route);
  1018. this.$router.push({ path: "/teamList" });
  1019. // this.$router.push({
  1020. // path: "/business/resetTeaming",
  1021. // query: {
  1022. // status: "PAY",
  1023. // id: this.$route.query.id,
  1024. // name: this.$route.query.name,
  1025. // },
  1026. // });
  1027. // this.team_status = "PAY";
  1028. // this.paymentExpireDate = this.paymentForm.paymentExpireDate;
  1029. // this.getList();
  1030. }
  1031. });
  1032. } else {
  1033. return false;
  1034. }
  1035. });
  1036. },
  1037. applyDate() {
  1038. let self = this;
  1039. return {
  1040. firstDayOfWeek: 1,
  1041. disabledDate(time) {
  1042. if (self.paymentExpireDate) {
  1043. return (
  1044. time.getTime() >
  1045. new Date(self.paymentExpireDate.replace(/-/g, "/")).getTime()
  1046. );
  1047. } else {
  1048. return false;
  1049. }
  1050. },
  1051. };
  1052. },
  1053. extendTime(isPay) {
  1054. this.isPay = isPay;
  1055. if (isPay) {
  1056. // 点击的延长缴费
  1057. this.extendForm.expireDate = this.paymentExpireDate;
  1058. } else {
  1059. // 点击的延长报名
  1060. this.extendForm.expireDate = this.applyExpireDate;
  1061. }
  1062. this.extendPaymentStatus = true;
  1063. },
  1064. onExtendPayment(formName, isPay) {
  1065. this.$refs[formName].validate((valid) => {
  1066. if (valid) {
  1067. if (!isPay) {
  1068. extensionApplyExpire({
  1069. musicGroupId: this.teamid,
  1070. expireDate: this.extendForm.expireDate,
  1071. }).then((res) => {
  1072. if (res.code == 200) {
  1073. this.$message.success("延长报名成功");
  1074. this.extendPaymentStatus = false;
  1075. getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
  1076. if (res.code == 200) {
  1077. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1078. this.setBase(res);
  1079. }
  1080. });
  1081. } else {
  1082. this.$message.error(res.msg);
  1083. }
  1084. });
  1085. } else {
  1086. extensionPayment({
  1087. musicGroupId: this.teamid,
  1088. expireDate: this.extendForm.expireDate,
  1089. }).then((res) => {
  1090. if (res.code == 200) {
  1091. this.$message.success("延长缴费成功");
  1092. this.extendPaymentStatus = false;
  1093. getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
  1094. if (res.code == 200) {
  1095. this.paymentExpireDate =
  1096. res.data.musicGroup.paymentExpireDate;
  1097. }
  1098. });
  1099. } else {
  1100. this.$message.error(res.msg);
  1101. }
  1102. });
  1103. }
  1104. }
  1105. });
  1106. },
  1107. onCreateQRCode(type) {
  1108. // 生成报名二维码
  1109. let id = this.teamid;
  1110. this.codeStatus = true;
  1111. if (type == "payment") {
  1112. this.codeTitle = "学员报名链接";
  1113. this.qrCodeUrl = vaildStudentUrl() + "/#/login?musicGroupId=" + id;
  1114. } else if (type == "detail") {
  1115. let teamName = this.$route.query.name;
  1116. this.codeTitle = "报名缴费详情";
  1117. this.qrCodeUrl =
  1118. vaildTeacherUrl() +
  1119. "/#/order?musicGroupId=" +
  1120. id +
  1121. "&musicGroupName=" +
  1122. teamName;
  1123. } else if (type == "rePayment") {
  1124. this.codeTitle = "学生报名链接(无乐器)";
  1125. this.qrCodeUrl =
  1126. vaildStudentUrl() + "/#/login?musicGroupId=" + id + "&instrument=1";
  1127. }
  1128. },
  1129. gotoStudentList() {
  1130. this.$router.push({
  1131. query: merge(this.$route.query, { tabrouter: 7 }),
  1132. });
  1133. // this.$router.replace({query:{...this.$route.query,tabrouter:7}})
  1134. },
  1135. setBase(res) {
  1136. this.topFrom.name = res.data.musicGroup.name;
  1137. this.$emit("getName", this.topFrom.name);
  1138. this.topFrom.time = res.data.musicGroup.applyExpireDate;
  1139. this.topFrom.type = res.data.musicGroup.chargeTypeId;
  1140. this.topFrom.startClass = res.data.musicGroup.enrollClasses.split(",");
  1141. this.topFrom.paymentPattern = res.data.musicGroup.paymentPattern;
  1142. this.topFrom.paymentValidStartDate =
  1143. res.data.musicGroup.paymentValidStartDate;
  1144. this.topFrom.paymentValidEndDate =
  1145. res.data.musicGroup.paymentValidEndDate;
  1146. this.topFrom.section = res.data.musicGroup.organId;
  1147. this.topFrom.courseViewType = res.data.musicGroup.courseViewType;
  1148. this.topFrom.school = res.data.musicGroup.cooperationOrganId;
  1149. this.topFrom.teacher = res.data.musicGroup.educationalTeacherId;
  1150. this.topFrom.boss = res.data.musicGroup.teamTeacherId;
  1151. this.topFrom.address = res.data.musicGroup.schoolId;
  1152. this.topFrom.salary = res.data.musicGroup.settlementType;
  1153. this.topFrom.head = res.data.musicGroup.directorUserId
  1154. ? res.data.musicGroup.directorUserId
  1155. : null;
  1156. this.topFrom.isClass = res.data.musicGroup.isClassroomLessons;
  1157. this.topFrom.startTime = res.data.musicGroup.expectStartGroupDate;
  1158. this.topFrom.ownershipType = res.data.musicGroup.ownershipType;
  1159. this.topFrom.repairUserId = res.data.musicGroup.repairUserId
  1160. ? res.data.musicGroup.repairUserId
  1161. : null;
  1162. this.topFrom.feeType = res.data.musicGroup.feeType
  1163. ? res.data.musicGroup.feeType
  1164. : null;
  1165. this.paymentExpireDate = res.data.musicGroup.paymentExpireDate;
  1166. this.applyExpireDate = res.data.musicGroup.applyExpireDate;
  1167. localStorage.setItem(`${this.teamid}base`, JSON.stringify(this.topFrom));
  1168. },
  1169. changeType(val){
  1170. if(val){
  1171. localStorage.removeItem(`${this.teamid}sound`);
  1172. }
  1173. }
  1174. },
  1175. computed: {
  1176. startClassString() {
  1177. return this.topFrom.startClass
  1178. .map((item) => {
  1179. for (let i in this.classStatus) {
  1180. if (item == this.classStatus[i].value) {
  1181. return this.classStatus[i].label;
  1182. }
  1183. }
  1184. // return this.classStatus[item]
  1185. })
  1186. .join(",");
  1187. },
  1188. showNext() {
  1189. const teamStatus = this.teamStatus;
  1190. return (
  1191. teamStatus == "newTeam" ||
  1192. teamStatus == "teamDraft" ||
  1193. teamStatus == "teamAudit" ||
  1194. teamStatus == "feeAudit"
  1195. );
  1196. },
  1197. },
  1198. };
  1199. </script>
  1200. <style lang="scss" >
  1201. .messageBox-prompt-test {
  1202. .el-message-box__status {
  1203. top: 25% !important;
  1204. }
  1205. }
  1206. .base-container {
  1207. overflow: auto;
  1208. // display: flex;
  1209. // flex-direction: row;
  1210. // justify-content: flex-start;
  1211. // flex-wrap: nowrap;
  1212. font-size: 14px;
  1213. color: #444;
  1214. // width: fill-available;
  1215. .banseLeft {
  1216. // width: 1050px;
  1217. .head {
  1218. height: 48px;
  1219. line-height: 48px;
  1220. background-color: #edeef0;
  1221. font-size: 14px;
  1222. font-weight: bold;
  1223. color: #444;
  1224. padding: 0 11px;
  1225. margin-bottom: 20px;
  1226. }
  1227. .noMargin.head {
  1228. margin-bottom: 0;
  1229. }
  1230. .num {
  1231. padding: 15px 11px;
  1232. }
  1233. .checkRow {
  1234. min-width: 1200px;
  1235. padding-left: 28px;
  1236. display: flex;
  1237. flex-direction: row;
  1238. justify-content: flex-start;
  1239. flex-wrap: nowrap;
  1240. overflow: auto;
  1241. .el-checkbox {
  1242. line-height: 72px;
  1243. width: 120px;
  1244. }
  1245. .inputWrap {
  1246. line-height: 72px;
  1247. font-size: 14px;
  1248. color: #777;
  1249. margin-left: 65px;
  1250. input {
  1251. // border: none;
  1252. // width: 80px;
  1253. // margin-right: 10px;
  1254. // outline: none;
  1255. }
  1256. }
  1257. .inputWrap.rightFirst {
  1258. margin-left: 245px;
  1259. }
  1260. .textWrap {
  1261. display: flex;
  1262. flex-direction: row;
  1263. justify-content: flex-start;
  1264. font-size: 14px;
  1265. color: #777;
  1266. align-items: center;
  1267. span {
  1268. color: #f97215;
  1269. }
  1270. }
  1271. .selectWrap {
  1272. font-size: 14px;
  1273. padding-top: 5px;
  1274. margin-left: 100px;
  1275. margin-right: 52px;
  1276. .rowSelect {
  1277. .el-input__inner {
  1278. min-height: 69px;
  1279. }
  1280. }
  1281. }
  1282. .chioseList {
  1283. display: flex;
  1284. flex-direction: row;
  1285. justify-content: flex-start;
  1286. align-items: center;
  1287. font-size: 14px;
  1288. color: #777;
  1289. margin-left: 64px;
  1290. .chioseItem {
  1291. width: 80px;
  1292. height: 30px;
  1293. border-radius: 15px;
  1294. border: 1px solid #979797;
  1295. margin-right: 10px;
  1296. line-height: 30px;
  1297. text-align: center;
  1298. cursor: pointer;
  1299. }
  1300. .chioseItem.active {
  1301. background-color: #14928a;
  1302. border: 1px solid #14928a;
  1303. color: #fff;
  1304. }
  1305. }
  1306. // &:nth-child(even) {
  1307. // background-color: #c6cbd4;
  1308. // input {
  1309. // background-color: #c6cbd4;
  1310. // }
  1311. // }
  1312. }
  1313. }
  1314. .btnWrap {
  1315. margin-top: 30px;
  1316. }
  1317. .el-checkbox__input.is-checked + .el-checkbox__label {
  1318. color: #606266;
  1319. }
  1320. .subTitle {
  1321. // width: 1203px;
  1322. height: 40px;
  1323. line-height: 40px;
  1324. background-color: #fefceb;
  1325. padding: 0 25px;
  1326. box-sizing: border-box;
  1327. font-size: 16px;
  1328. color: #474747;
  1329. margin-bottom: 20px;
  1330. }
  1331. .chioseWrap {
  1332. margin-bottom: 30px;
  1333. display: flex;
  1334. flex-direction: row;
  1335. padding: 0 25px;
  1336. p {
  1337. width: 80px;
  1338. font-size: 14px;
  1339. // margin-right: 30px;
  1340. }
  1341. }
  1342. .classCheckBox {
  1343. margin-right: 10px;
  1344. }
  1345. }
  1346. </style>
  1347. <style scoped lang="scss">
  1348. /deep/.el-date-editor {
  1349. width: 180px !important;
  1350. }
  1351. /deep/.el-checkbox {
  1352. margin-left: 15px !important;
  1353. }
  1354. /deep/.el-input {
  1355. position: relative;
  1356. font-size: 14px;
  1357. display: inline-block;
  1358. width: 180px;
  1359. }
  1360. input[disabled] {
  1361. background-color: #fff;
  1362. border-color: #b3b3b3;
  1363. color: #606266;
  1364. }
  1365. /deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  1366. background-color: rgb(19, 129, 122);
  1367. border-color: rgb(19, 129, 122);
  1368. // -webkit-box-shadow: -1px 0 0 0 rgb (19, 129, 122);
  1369. box-shadow: -1px 0 0 rgb(19, 129, 122);
  1370. color: #fff;
  1371. outline: none;
  1372. }
  1373. /deep/.el-radio-button__inner {
  1374. &:hover {
  1375. color: rgb(19, 129, 122);
  1376. }
  1377. outline: none;
  1378. }
  1379. /deep/.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled) {
  1380. -webkit-box-shadow: none;
  1381. box-shadow: none;
  1382. }
  1383. </style>