NationalregionalCommissionsEventRelease.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. <template>
  2. <div>
  3. <div>
  4. <div class="autoBox box">
  5. <div class="crumbs">
  6. <el-breadcrumb separator="/" replace>
  7. <el-breadcrumb-item :to="{ path: 'home' }">{{$t('common.Home')}}</el-breadcrumb-item>
  8. <el-breadcrumb-item :to="{ path: 'nationalregionalCommittees' }">{{$t('common.NationalregionalCommissions')}}</el-breadcrumb-item>
  9. <el-breadcrumb-item :to="{ path: 'nationalregionalCommittees', name:'nationalregionalCommittees', params: { key: 'activities',lable: 'common.Committeeactivities' }}">{{$t('common.Committeeactivities')}}</el-breadcrumb-item></el-breadcrumb-item>
  10. <el-breadcrumb-item >{{$i18n.locale=='zh'?'活动发布':'Event release'}}</el-breadcrumb-item>
  11. </el-breadcrumb>
  12. <el-breadcrumb separator="/" style="float: right;margin:0px 15px 0 0">
  13. <span class="cursor" :class="screenIndex==index?'screen1':'screen2'" @click="realTimeInfoScreen(item,index)" v-for="(item,index) in realTimeInfoScreens2">
  14. &nbsp;&nbsp;{{$t(item.lable)}}
  15. </span>
  16. </el-breadcrumb>
  17. <!-- 选择语言版本 -->
  18. <div class="addLanguage">
  19. <i class="el-icon-orange" style="font-size: 30px;line-height: 50px;color: #E6A23C;vertical-align: middle;"></i>
  20. <span style="font-size: 18px;line-height: 50px;margin-left: 20px;vertical-align: middle;">{{$t('common.resourceLanguageVersion')}}</span>
  21. <!-- <i class="el-icon-plus" style="font-size: 30px;font-weight: 600;margin-left: 20px;line-height: 50px; color: #E6A23C;vertical-align: middle;">-->
  22. <!-- <i class="el-icon-plus" style="font-size: 30px;font-weight: 600;margin-left: 20px;line-height: 50px; color: #E6A23C;vertical-align: middle;"@click="addTabDialog(editableTabsValue)"></i>-->
  23. </div>
  24. <!-- 展示版本 -->
  25. <div style="margin: 0 20px;">
  26. <!-- editable -->
  27. <el-tabs v-model="editableTabsValue" type="card" @edit="handleTabsEdit" @tab-click="tabClick">
  28. <el-tab-pane
  29. :key="item.name"
  30. v-for="(item, index) in activeLanguage"
  31. :label="$t(item.label)"
  32. :name="item.value"
  33. >
  34. {{item.content}}
  35. </el-tab-pane>
  36. </el-tabs>
  37. </div>
  38. <!-- 弹窗框 -->
  39. <el-dialog
  40. title="提示"
  41. :visible.sync="dialogVisible"
  42. width="30%"
  43. :before-close="handleClose">
  44. <div style="height: 200px;">
  45. {{$t('common.language')}}:
  46. <el-select v-model="activeLanguageNO" multiple placeholder="请选择">
  47. <el-option
  48. v-for="item in languageType"
  49. :key="item.value"
  50. :label="$t(item.label)"
  51. :value="item">
  52. </el-option>
  53. </el-select>
  54. <span style="margin-left: 20px;color: #0079ef;">语言版本可支持多选</span>
  55. </div>
  56. <span slot="footer" class="dialog-footer">
  57. <el-button @click="dialogVisible = false">取 消</el-button>
  58. <el-button type="primary" @click="determine" >确 定</el-button>
  59. </span>
  60. </el-dialog>
  61. <!-- <NationalregionalCommissionsEventZH ref="EventZH" ></NationalregionalCommissionsEventZH> -->
  62. <NationalregionalCommissionsEventEN ref="EventEN"
  63. :activityEntity="activityEntity"
  64. :activity.sync="activity"
  65. :editableTabsValue="editableTabsValue"
  66. :languageType="activeLanguage"
  67. :loading="loading"
  68. @activityTime="activity"
  69. @saveForm="submit"
  70. >
  71. </NationalregionalCommissionsEventEN>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </template>
  77. <script>
  78. import {saveOrUpdate} from '@/api/committee/committeeActivityInfo'
  79. import {getDicts} from '@/api/dict'
  80. import { get } from '@/api/committee/committeeActivityInfo'
  81. import {submitApplyPortal,getBaseLeagueApplys} from '@/api/cooperation/baseLeagueApply'
  82. import {getBaseLeagues} from '@/api/cooperation/baseLeagueEntity'
  83. import {country} from '@/api/country'
  84. import Base from '@/views/base/Base'
  85. import userCenterTaberListUnionPrint from '@/views/userCenter/userCenterItem/userCenterTaberListUnionPrint'
  86. import LayuiInlineUe from '@/components/LayuiInlineUe'
  87. import NationalregionalCommissionsEventEN from '@/views/NationalregionalCommissions/NationalregionalCommissionsEventEN'
  88. export default {
  89. name: 'NationalregionalCommissionsEventRelease',
  90. extends: Base,
  91. components:{userCenterTaberListUnionPrint,LayuiInlineUe,NationalregionalCommissionsEventEN},
  92. props:['activity'],
  93. data () {
  94. return {
  95. active:1,
  96. readOnly: this.$route.params.readOnly || false,
  97. activeNames: ['1','2','3'],
  98. textIndex:1,
  99. dialogVisible:false,
  100. activities:[],
  101. activity:{},
  102. loading:false,
  103. activityEntity:{
  104. status:'2',//审批默认值 默认为待审批
  105. entityZh:'1',
  106. entityEn:'0',
  107. entityFr:'0',
  108. entityDe:'0',
  109. entityEs:'0',
  110. entityJa:'0',
  111. entityAr:'0',
  112. entityRu:'0'
  113. },
  114. activeLanguageNO:[{
  115. label:this.$i18n.locale == 'zh'?'common.CN':'common.English',
  116. value:this.$i18n.locale == 'zh'?'ZH':'EN'
  117. }],
  118. activeLanguage:[{
  119. label:this.$i18n.locale == 'zh'?'common.CN':'common.English',
  120. value:this.$i18n.locale == 'en'?'EN':'ZH'
  121. }],// 已选择语言版本
  122. editableTabsValue:this.$i18n.locale == 'zh'?'ZH':'EN',
  123. languageType:[{
  124. label:'common.CN',
  125. value:'ZH'
  126. },{
  127. label:'common.English',
  128. value:'EN'
  129. },{
  130. label:'common.French',
  131. value:'FR'
  132. },{
  133. label:'common.German',
  134. value:'DE'
  135. },{
  136. label:'common.Spanish',
  137. value:'ES'
  138. },{
  139. label:'common.Japanese',
  140. value:'JA'
  141. },{
  142. label:'common.arabic',
  143. value:'AR'
  144. },{
  145. label:'common.Russian',
  146. value:'RU'
  147. }],
  148. screenIndex: null,
  149. baseLeagueInfos:[],
  150. realTimeInfoScreens2:[{
  151. lable:"common.BriefintroductiontotheCommittee",
  152. value:'introduc'
  153. },{
  154. lable:"common.Committeelayout",
  155. value:'layout'
  156. },{
  157. lable:"common.Committeeactivities",
  158. value:'activities'
  159. }],
  160. dialogVisible:false,
  161. leagueType:[],
  162. editableTabs:[],
  163. processKey: 'ALLIANCE_APPROVAL',
  164. approvers:[],
  165. duty:'',
  166. group:'',
  167. defaultForm:{},
  168. parentId:this.$route.query,
  169. }
  170. },
  171. created(){
  172. getBaseLeagueApplys().then(res=>{
  173. var data = res.data;
  174. if(data){
  175. // this.baseLeagueApply = data.baseLeagueApplyList[0]||{};
  176. this.baseContactsInfo = data.baseContactsInfo||{};
  177. this.leagueType = data.leagueType||[];
  178. this.active=2;
  179. }
  180. });
  181. },
  182. mounted(){
  183. this.activeLanguage = [{
  184. label:this.$i18n.locale == 'zh'?'common.CN':'common.English',
  185. value:this.$i18n.locale == 'en'?'EN':'ZH'
  186. }];// 已选择语言版本
  187. this.getIntaData();
  188. // this.activities.push(this.activity);
  189. },
  190. watch:{
  191. "$i18n.locale"(){
  192. // this.$refs.form.clearValidate();
  193. // this.$refs.form2.clearValidate();
  194. this.getIntaData();
  195. this.activeLanguage = [{
  196. label:this.$i18n.locale == 'zh'?'common.CN':'common.English',
  197. value:this.$i18n.locale == 'en'?'EN':'ZH'
  198. }];// 已选择语言版本
  199. },
  200. "activeLanguage" (){
  201. this.getChangeData();
  202. },
  203. 'editableTabsValue'(){
  204. let CurrentLanguage = this.activities.filter(item=>{
  205. return item.language == this.editableTabsValue;
  206. })
  207. this.activity = CurrentLanguage[0];
  208. console.log(this.activity,'当前选中的对象集合')
  209. }
  210. },
  211. computed:{
  212. },
  213. methods:{
  214. NewActiveLanguageArray(){
  215. this.activities = [];// 清空对象集合
  216. this.activity = {};// 清空对象
  217. let activity = {};
  218. this.activeLanguage.forEach((item,index) =>{
  219. activity = {
  220. picturesId:"",
  221. pictures:"",
  222. activityTypeDict:'',
  223. orderNumber:'',
  224. committeeName:'',
  225. committeeId:'',
  226. activityTime:'',
  227. activityPlace:'',
  228. registrationTime:'',
  229. registrationUrl:'',
  230. ids:[],// 附件id
  231. spareOne: 'PC',//前台传的
  232. activityName:'',
  233. activityLogo:'',
  234. path:'',
  235. activityIntroductionUe:'',
  236. activityReviewUe:'',
  237. activityPreviewTemplate:'',
  238. activityPreviewUe:'',
  239. language: item.value,
  240. externalFormData:[],
  241. ActivityTime:[],
  242. registrationTime:[],
  243. fileList:[],
  244. };
  245. // this.activities.push(activity);
  246. })
  247. },
  248. //表格初始内容
  249. getChangeData(){
  250. let that = this;
  251. let id = this.$route.query.id;
  252. that.activityEntity.id = id
  253. // let activity = {};
  254. get(id).then(result => {
  255. that.defaultForm = result.data.committeeActivityInfos[0];
  256. that.activity = {
  257. id:this.defaultForm.id,
  258. ids:this.defaultForm.ids?JSON.parse(this.defaultForm.ids):[],
  259. activityTypeDict:this.defaultForm.activityTypeDict,
  260. orderNumber:this.defaultForm.orderNumber,
  261. picturesId:this.defaultForm.picturesId,
  262. //委员会名称
  263. committeeName:this.defaultForm.committeeName,
  264. committeeId:this.defaultForm.committeeId,
  265. activityPlace:this.defaultForm.activityPlace,
  266. //报名时间
  267. activityLogo:this.defaultForm.activityLogo,
  268. registrationStartTime:this.formatDate(this.defaultForm.registrationStartTime),
  269. registrationEndTime:this.formatDate(this.defaultForm.registrationEndTime),
  270. // registrationTime:this.defaultForm.registrationTime,
  271. RegistrationTime:[this.formatDate(this.defaultForm.registrationStartTime),this.formatDate(this.defaultForm.registrationEndTime)],
  272. //活动时间
  273. // ActivityTime:this.defaultForm.activityTime,
  274. activityStartTime:this.formatDate(this.defaultForm.activityStartTime),
  275. activityEndTime:this.formatDate(this.defaultForm.activityEndTime),
  276. activityTime:[this.formatDate(this.defaultForm.activityStartTime),this.formatDate(this.defaultForm.activityEndTime)],
  277. registrationUrl:this.defaultForm.registrationUrl,
  278. spareOne: this.defaultForm.spareOne,//前台传的
  279. activityName:this.defaultForm.activityName,
  280. // activityLogo:this.defaultForm.activityLogo,
  281. path:this.defaultForm.path,
  282. activityIntroductionUe:this.defaultForm.activityIntroductionUe,
  283. activityReviewUe:this.defaultForm.activityReviewUe,
  284. activityPreviewTemplate:this.defaultForm.activityPreviewTemplate,
  285. activityPreviewUe:this.defaultForm.activityPreviewUe,
  286. language: this.defaultForm.language,
  287. externalFormData:{},
  288. fileList:this.defaultForm.fileList?JSON.parse(this.defaultForm.fileList):[],
  289. fileList2:this.defaultForm.fileList2?JSON.parse(this.defaultForm.fileList2):[],
  290. };
  291. that.activity.cascader = this.defaultForm.orderNumber.split(",");
  292. }).catch(error => {
  293. that.NewActiveLanguageArray()
  294. });
  295. },
  296. tabClick(tab) {
  297. this.activity = this.activities.filter(item => {return item.language == tab.name})[0]
  298. },
  299. handleClose(){
  300. },
  301. getEmptyData(language){
  302. let obj = {
  303. activityTypeDict:'',
  304. orderNumber:'',
  305. activityTime:'',
  306. activityPlace:'',
  307. registrationTime:'',
  308. registrationUrl:'',
  309. ids:[],// 附件id
  310. activityName:'',
  311. activityLogo:'',
  312. path:'',
  313. activityIntroductionUe:'',
  314. activityPreviewTemplate:'',
  315. activityPreviewUe:'',
  316. language: language
  317. }
  318. return obj
  319. } ,
  320. determine(){
  321. // //保留的
  322. // let baoliu = []
  323. // //新增的
  324. // let xinzen = []
  325. // //第一次加载全部新增 (加了默认中文)
  326. // if(this.activities.length == 0){
  327. // this.activeLanguageNO.forEach(item => {
  328. // this.activities.push(this.getEmptyData(item.value))
  329. // })
  330. // }else{
  331. // this.activeLanguageNO.forEach(item => {
  332. // let o = this.activities.filter(obj => {
  333. // return obj.language == item.value
  334. // })
  335. // if(o.length !== 0){
  336. // baoliu.push(o[0])
  337. // }else {
  338. // xinzen.push(this.getEmptyData(item.value))
  339. // }
  340. // })
  341. // }
  342. // console.log(xinzen)
  343. // this.activities = [].concat(xinzen).concat(baoliu)
  344. // this.activeLanguage = this.activeLanguageNO;
  345. // this.dialogVisible = false;
  346. },
  347. handleTabsEdit(targetName,action){
  348. this.dialogVisible = true;
  349. },
  350. agreementChange(val){
  351. this.active=val;
  352. },
  353. getIntaData(){
  354. },
  355. // 提交并下载
  356. submitForm(){
  357. this.$refs["form"].validate((valid1) => {
  358. if (valid1) {
  359. this.$refs["form2"].validate((valid2) => {
  360. if (valid2) {
  361. this.print()
  362. } else {
  363. this.$notify.error({
  364. title: 'error',
  365. message: this.$t('common.pleaseContactInformation')
  366. });
  367. this.activeNames=["2"]
  368. return false;
  369. }
  370. })
  371. } else {
  372. this.$notify.error({
  373. title: 'error',
  374. message: this.$t('common.unitInfo')
  375. });
  376. this.activeNames=["1"]
  377. return false;
  378. }
  379. });
  380. },
  381. print(){
  382. loading();
  383. if (this.duty || this.group) {
  384. getUsers({
  385. duty: this.duty,
  386. groups: this.group,
  387. }).then(res => {
  388. let data = res.data || {};
  389. let approvers = data.authUsers || [];
  390. if (approvers && approvers.length > 0) {
  391. this.approver = '';
  392. approvers.forEach(item => {
  393. this.approver += item.userId + ",";
  394. });
  395. this.approver = this.approver.substring(0, this.approver.length - 1);
  396. }
  397. });
  398. }
  399. this.baseLeagueApply.phaseDict = '1';
  400. this.baseLeagueApply.statusDict = this.submitStatus;
  401. this.baseLeagueApply.auditStatusDict = '1';
  402. this.baseLeagueApply.leagueId = this.leagueType.join(',');
  403. var leagueType = [];
  404. this.baseLeagueApply.leagueName = leagueType.join(',');
  405. this.submitHandler((token) => {
  406. submitApplyPortal(JSON.stringify(this.baseLeagueApply),JSON.stringify(this.baseContactsInfo),null,this.approver, this.taskComment,token).then(res=>{
  407. this.$message({
  408. message: this.$i18n.locale.toUpperCase()=="ZH"?'添加资料成功':'submit success',
  409. type: 'success'
  410. });
  411. console.log('this.baseLeagueApply-表单提交内容')
  412. console.log(this.baseLeagueApply)
  413. this.resetToken();
  414. this.active=2;
  415. closeLoading();
  416. }).catch(error => {
  417. this.resetToken();
  418. closeLoading();
  419. });
  420. })
  421. },
  422. // 发送申请表
  423. submitFormApplication(){
  424. },
  425. submit(){
  426. const that =this;
  427. // 获取数据对象
  428. this.activities = [];
  429. this.activities.push(this.activity);
  430. this.activities.forEach(item=>{
  431. item.language = this.$i18n.locale == 'zh'?'ZH':'EN';
  432. item.language == 'ZH'?this.activityEntity.entityZh = '1':this.activityEntity.entityZh = '0';
  433. item.language == 'EN'?this.activityEntity.entityEn = '1':this.activityEntity.entityEn = '0';
  434. item.language == 'FR'?this.activityEntity.entityFr = '1':this.activityEntity.entityFr = '0';
  435. item.language == 'DE'?this.activityEntity.entityDe = '1':this.activityEntity.entityDe = '0';
  436. item.language == 'ES'?this.activityEntity.entityEs = '1':this.activityEntity.entityEs = '0';
  437. item.language == 'JA'?this.activityEntity.entityJa = '1':this.activityEntity.entityJa = '0';
  438. item.language == 'AR'?this.activityEntity.entityAr = '1':this.activityEntity.entityAr = '0';
  439. item.language == 'RU'?this.activityEntity.entityRu = '1':this.activityEntity.entityRu = '0';
  440. item.status = '2';
  441. item.spareOne = 'PC';
  442. });
  443. console.log('this is this.activityEntity',this.activityEntity,'this is this.activityEntity',this.activities);
  444. this.loading = true;
  445. console.log('this.activities')
  446. console.log(this.activities)
  447. if(this.activities){
  448. this.activities.forEach((i)=>{
  449. if(i.activityTime){
  450. let start = this.formatDate(i.activityTime[0]);
  451. let end = this.formatDate(i.activityTime[1]);
  452. i.activityTime = start+'--'+end;
  453. }
  454. if(i.RegistrationTime){
  455. let start = this.formatDate(i.RegistrationTime[0]);
  456. let end = this.formatDate(i.RegistrationTime[1]);
  457. i.RegistrationTime = start+'--'+end;
  458. }
  459. })
  460. }
  461. this.submitHandler(token => {
  462. saveOrUpdate(JSON.stringify(this.activities),JSON.stringify(this.activityEntity),token).then(res => {
  463. this.$message({
  464. message: this.$i18n.locale.toUpperCase()=="ZH"?'添加资料成功':'submit success',
  465. type: 'success'
  466. });
  467. this.resetToken();
  468. this.loading = false;
  469. this.toView('myActivity');
  470. }).catch(error => {
  471. this.$message({
  472. message: this.$i18n.locale.toUpperCase()=="ZH"?'添加资料失败':'submit error',
  473. type: 'error'
  474. });
  475. this.resetToken();
  476. this.loading = false;
  477. });
  478. });
  479. },
  480. realTimeInfoScreen(i,index){
  481. this.screenIndex=i.value;
  482. this.Screens=i.lable;
  483. this.toView('nationalregionalCommittees',this.screenIndex)
  484. },
  485. getIconUrl(url){
  486. return require("@/assets/img/introductionCooperation/"+url);
  487. },
  488. toView(router,json){
  489. this.$router.push({name:router,query:{key:json}})
  490. },
  491. toNewView(router,json){
  492. this.$store.commit('modify', router);
  493. window.localStorage.setItem('router', router);
  494. const { href } = this.$router.resolve({
  495. name: router,
  496. query: {
  497. key: json
  498. },
  499. });
  500. window.open(href, '_blank');
  501. },
  502. toViewCenter(router,json){
  503. this.$router.push({name:router,params:{index:json}})
  504. },
  505. resetForm(item) {
  506. this[item] = {};
  507. console.log( this.form2)
  508. this.$refs.form2.resetFields()
  509. if(this.$refs[formName]){
  510. this.$refs[item].resetFields()
  511. }
  512. }
  513. }
  514. }
  515. </script>
  516. <!-- Add "scoped" attribute to limit CSS to this component only -->
  517. <style scoped>
  518. .box {
  519. margin-top: 10px;
  520. background: #fff;
  521. min-height: 500px;
  522. padding: 20px 0;
  523. }
  524. .crumbs {
  525. margin-left: 20px;
  526. }
  527. body {
  528. margin: 0;
  529. }
  530. .screen1 {
  531. background: linear-gradient(180deg, #3280E2 0%, #144E97 100%);
  532. border-radius: 20px 20px 20px 20px;
  533. padding: 8px 12px;
  534. color: #F0F3F8;
  535. margin-left: 10px;
  536. }
  537. .screen2 {
  538. font-size: 14px;
  539. background: linear-gradient(180deg, #B4D5FF 0%, #4F81BF 100%);
  540. border-radius: 20px;
  541. padding: 8px 12px;
  542. color: #165099;
  543. margin-left: 10px;
  544. }
  545. .crumbs >>>.el-step__icon {
  546. width: 37px;
  547. height: 37px;
  548. font-size: 18px;
  549. }
  550. .crumbs>>> .el-step.is-horizontal .el-step__line {
  551. top:20px;
  552. }
  553. .crumbs>>>.el-step__head.is-process {
  554. color: #409eff;
  555. border-color:inherit;
  556. }
  557. .crumbs>>>.el-step__head.is-process .el-step__icon.is-text {
  558. background: #409eff;
  559. color: #fff;
  560. border-color:#409eff;
  561. width: 46px;
  562. height: 46px;
  563. }
  564. .crumbs>>>.el-step__title.is-process,
  565. .crumbs>>>.el-step__description.is-process {
  566. color: #409eff;
  567. }
  568. .crumbs>>>.el-collapse-item {
  569. /* width: 80%; */
  570. margin: auto;
  571. }
  572. .el-collapse {
  573. border: none;
  574. }
  575. .crumbs>>>.el-collapse-item__header {
  576. padding: 0 20px 0 30px;
  577. font-weight: 700;
  578. }
  579. .crumbs>>>.el-collapse-item__content {
  580. padding: 0 0 0 0px;
  581. }
  582. .el-checkbox {
  583. display: inline-block;
  584. margin-bottom: 20px;
  585. }
  586. .avatar-uploader >>>.el-upload {
  587. border: 1px solid #d9d9d9;
  588. border-radius: 6px;
  589. cursor: pointer;
  590. position: relative;
  591. overflow: hidden;
  592. }
  593. .avatar-uploader .el-upload:hover {
  594. border-color: #409EFF;
  595. }
  596. .avatar-uploader-icon {
  597. font-size: 28px;
  598. color: #8c939d;
  599. width: 178px;
  600. height: 178px;
  601. line-height: 178px;
  602. text-align: center;
  603. }
  604. .avatar {
  605. width: 178px;
  606. height: 178px;
  607. display: block;
  608. }
  609. .crumbs>>>.el-collapse-item__header.is-active {
  610. border-bottom-color: #EBEEF5;
  611. }
  612. .button_409EFF {
  613. border-color:#409EFF ;
  614. color: #409EFF;
  615. }
  616. .textInfo {
  617. padding: 10px 20px;
  618. background-color: #1890ff;
  619. color: #fff;
  620. border: 1px solid rgba(228, 228, 228, 1);
  621. }
  622. .textInfo2 {
  623. padding: 10px 20px;
  624. background-color: rgba(249, 249, 249, 1);
  625. color: #333;
  626. border: 1px solid rgba(228, 228, 228, 1);
  627. }
  628. .form2Sty{
  629. margin-top: 20px;
  630. width: 100%;
  631. }
  632. .form2Sty>>>.el-collapse-item__content{
  633. /* padding-left: 20px; */
  634. width: 49%;
  635. }
  636. .form2Sty>>>.el-form-item{
  637. width: 50%;
  638. float: left;
  639. }
  640. .avatar-uploader .el-upload {
  641. border: 1px dashed #d9d9d9;
  642. border-radius: 6px;
  643. cursor: pointer;
  644. position: relative;
  645. overflow: hidden;
  646. }
  647. .avatar-uploader .el-upload:hover {
  648. border-color: #409EFF;
  649. }
  650. .avatar-uploader-icon {
  651. font-size: 28px;
  652. color: #8c939d;
  653. width: 178px;
  654. height: 178px;
  655. line-height: 178px;
  656. text-align: center;
  657. }
  658. .avatar {
  659. width: 178px;
  660. height: 178px;
  661. display: block;
  662. }
  663. .edui-editor {
  664. width: 100%;
  665. }
  666. .edui>>>.edui-editor-iframeholder {
  667. height: 679px !important;
  668. }
  669. .addLanguage{
  670. /* width: 100%; */
  671. height: 50px;
  672. margin: 25px 20px 10px 20px;
  673. border-bottom: 1px solid #666666;
  674. }
  675. </style>