makerActvityDetails.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. <template>
  2. <!-- 创客创新-查看详细 -->
  3. <div class="makerActvityDetails">
  4. <div class="vfpHeader">
  5. <div class="titleOne">活动详情</div>
  6. <el-button type="primary" @click="backBtn">返回</el-button>
  7. </div>
  8. <hr>
  9. <!-- 活动基本信息开始 -->
  10. <div class="tabTit">
  11. <div><p>活动基本信息</p></div>
  12. </div>
  13. <!-- 活动申请填写信息区域开始 -->
  14. <div class="select">
  15. <div class="selectTop">
  16. <div class="label">活动名称</div>
  17. <el-input v-model="tableData.title" placeholder="请输入内容"></el-input>
  18. </div>
  19. <div class="selectMid">
  20. <div class="selectLeft">
  21. <div class="inpBlock" style="position: relative;">
  22. <div class="label">所属项目</div>
  23. <el-select v-model="tableData.pid" style="width: 100%;" placeholder="请选择">
  24. <el-option
  25. v-for="item in selectInput.project"
  26. :key="item.courseId"
  27. :label="item.title"
  28. :value="item.courseId">
  29. </el-option>
  30. </el-select>
  31. </div>
  32. <div class="inpBlock">
  33. <div class="label">预算经费</div>
  34. <el-input type="number" v-model.number="tableData.money" placeholder="请输入预算经费"></el-input>
  35. <div style="position: absolute;right: -28px;top:8px">(元)</div>
  36. </div>
  37. <div class="inpBlock">
  38. <div class="label">负责人</div>
  39. <el-input v-model="tableData.pro_leader"></el-input>
  40. </div>
  41. <div class="inpBlock">
  42. <div class="label">所在部门</div>
  43. <el-select v-model="tableData.classid" style="width: 100%;" placeholder="请选择">
  44. <el-option
  45. v-for="item in selectInput.class"
  46. :key="item.id"
  47. :label="item.name"
  48. :value="item.id">
  49. </el-option>
  50. </el-select>
  51. </div>
  52. </div>
  53. <div class="selectRight">
  54. <div class="inpBlock" style="position: relative;">
  55. <div class="label">活动时间</div>
  56. <el-date-picker
  57. v-model="tableData.begin_at"
  58. type="daterange"
  59. value-format="yyyy-MM-dd"
  60. style="width: 100%;"
  61. range-separator="至"
  62. start-placeholder="开始日期"
  63. end-placeholder="结束日期">
  64. </el-date-picker>
  65. <!-- <el-input v-model="data.fund" placeholder="请输入内容"></el-input>
  66. <div style="position: absolute;right: -28px;top:8px">(元)</div> -->
  67. </div>
  68. <div class="inpBlock">
  69. <div class="label">参与学生人数</div>
  70. <el-input type="number" v-model.number="tableData.students" placeholder="请输入内容"></el-input>
  71. </div>
  72. <div class="inpBlock">
  73. <div class="label">联系电话</div>
  74. <el-input @blur="checkPhone(tableData.phone)" v-model="tableData.phone" placeholder="请输入内容"></el-input>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <!-- 活动完结报告开始 -->
  80. <div class="tabTit">
  81. <div><p>活动完结报告</p></div>
  82. </div>
  83. <div style="width: 85%" v-loading="loading" element-loading-text="文件正在上传中">
  84. <div style="display: flex;width: 100%;flex-direction: column;">
  85. <div class="download" v-for="item in tableData.reportFile">
  86. <span>{{ item.fileName }}</span>
  87. <div class="downloadBtn">
  88. <el-button type="primary" size="mini">下载文件</el-button>
  89. <el-button type="primary" @click="checkDelFile(item.fid)" size="mini">删除文件</el-button>
  90. </div>
  91. </div>
  92. <!-- <div class="download" v-if="tableData.reportFile!=''&&tableData.reportFile!=null">{{ tableData.reportFile!=''&&tableData.reportFile!=null?JSON.parse(tableData.reportFile).fileName:'' }}</div> -->
  93. <div class="addMoneyBtn">
  94. <div class="jia">+</div>添加
  95. <div id="upFile">
  96. <beUpload @getFile="getFile" :navName="'上传文件'" :accept="accept"> </beUpload>
  97. </div>
  98. </div>
  99. <!-- <div class="DelFile" v-if="tableData.reportFile!=''&&tableData.reportFile!=null">
  100. <el-button type="danger" @click="DelFileDialog = true">删除文件</el-button>
  101. </div> -->
  102. </div>
  103. </div>
  104. <!-- 活动完结报告结束 -->
  105. <!-- 活动指导老师开始 -->
  106. <div class="tabTit">
  107. <div>
  108. <p>活动指导老师</p>
  109. </div>
  110. <el-button type="primary" @click="addTeacher" size="mini">添加教师</el-button>
  111. </div>
  112. <hr>
  113. <el-table
  114. :data="tableData.course_teacher"
  115. tooltip-effect="dark"
  116. stripe
  117. class="fontSize"
  118. :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
  119. >
  120. <!-- 数据根据prop进行遍历填充 -->
  121. <el-table-column
  122. prop="Name"
  123. label="姓名"
  124. align="center"
  125. >
  126. </el-table-column>
  127. <el-table-column
  128. prop="work"
  129. label="工作单位"
  130. align="center"
  131. >
  132. </el-table-column>
  133. <el-table-column
  134. prop="takeCharge"
  135. label="活动分工"
  136. align="center"
  137. >
  138. </el-table-column>
  139. <el-table-column
  140. prop="operation"
  141. align="center"
  142. label="操作"
  143. >
  144. <template #default="scope">
  145. <div class="operations">
  146. <!-- <el-button type="primary" > -->
  147. <el-button type="primary" size="mini" @click="updateTeacher(scope.row.Id)" style="font-size: 14px;">修改</el-button>
  148. <el-button type="primary" size="mini" style="font-size: 14px;" @click="DeleteS(scope.row.Id)">删除</el-button>
  149. <!-- </el-button> -->
  150. </div>
  151. </template>
  152. </el-table-column>
  153. </el-table>
  154. <!-- 活动指导老师结束 -->
  155. <!-- 多行文本框部分开始 -->
  156. <div class="tabTit">
  157. <div><p>活动介绍</p></div>
  158. </div>
  159. <el-input
  160. type="textarea"
  161. :rows="6"
  162. placeholder="请输入内容"
  163. v-model="tableData.brief">
  164. </el-input>
  165. <!-- <vue-editor :editorToolbar="customToolbar" v-model="tableData.brief"></vue-editor> -->
  166. <div class="tabTit">
  167. <div><p>活动计划</p></div>
  168. </div>
  169. <vue-editor :editorToolbar="customToolbar" v-model="tableData.chapters[0]"></vue-editor>
  170. <div class="tabTit">
  171. <div><p>预期目标</p></div>
  172. </div>
  173. <vue-editor :editorToolbar="customToolbar" v-model="tableData.chapters[1]"></vue-editor>
  174. <div class="tabTit">
  175. <div><p>活动受面</p></div>
  176. </div>
  177. <vue-editor :editorToolbar="customToolbar" v-model="tableData.chapters[2]"></vue-editor>
  178. <div class="tabTit">
  179. <div><p>经费支出计划</p></div>
  180. </div>
  181. <vue-editor :editorToolbar="customToolbar" v-model="tableData.chapters[3]"></vue-editor>
  182. <!-- 多行文本框部分结束 -->
  183. <div class="baseBtn">
  184. <div class="BtnStyle">
  185. <el-button type="primary" @click="submit" size='small'>保存</el-button>
  186. <el-button type="primary" @click="getData" size='small'>重置</el-button>
  187. <el-button v-if="tableData.state==0" type="primary" @click="processDialog = true" size='small'>立即审核</el-button>
  188. <el-button v-if="tableData.state==1" type="info" style="background-color: gray;" disabled size='small'>立即审核</el-button>
  189. </div>
  190. </div>
  191. <!--添加成员dialog对话框开始 -->
  192. <el-dialog
  193. :title="Member.Id==''?'添加指导老师':'修改指导老师信息'"
  194. :visible.sync="addMemberDialog"
  195. class="AddMember"
  196. :before-close="handleClose">
  197. <div class="littleBlock">
  198. <div class="dialogLabel">姓名</div>
  199. <div>
  200. <el-input v-model="Member.Name"></el-input>
  201. </div>
  202. </div>
  203. <div class="littleBlock">
  204. <div class="dialogLabel">工作单位</div>
  205. <div>
  206. <el-input v-model="Member.work"></el-input>
  207. </div>
  208. </div>
  209. <div class="littleBlock">
  210. <div class="dialogLabel">活动分工</div>
  211. <div>
  212. <el-input v-model="Member.takeCharge"></el-input>
  213. </div>
  214. </div>
  215. <div slot="footer" class="footer">
  216. <el-button v-if="Member.Id==''" type="primary" @click="commit" class="diaBtn" size="small">确认提交</el-button>
  217. <el-button v-if="Member.Id!=''" type="primary" @click="change" class="diaBtn" size="small">确认修改</el-button>
  218. <el-button @click="handleClose" class="diaBtn" size="small">取消</el-button>
  219. </div>
  220. </el-dialog>
  221. <!--添加成员dialog对话框结束 -->
  222. <!-- 提交对话框开始 -->
  223. <el-dialog
  224. title="提示"
  225. :visible.sync="dialogVisible1"
  226. width="600px"
  227. class="MAputIn AddMember">
  228. <div class="addDialogLogo">LOGO</div>
  229. <div class="deleteContent">是否修改“{{ tableData.title}}”项目活动?</div>
  230. <span slot="footer" class="dialog-footer">
  231. <el-button type="primary" @click="save" class="btn5" size="small">确认提交</el-button>
  232. <el-button @click="dialogVisible1=false;" class="btn5" style="background:#cccccc" size="small">取消</el-button>
  233. </span>
  234. </el-dialog>
  235. <!-- 删除文件对话框结束 -->
  236. <el-dialog
  237. title="提示"
  238. :visible.sync="DelFileDialog"
  239. width="600px"
  240. class="MAputIn AddMember">
  241. <div class="addDialogLogo">LOGO</div>
  242. <div class="deleteContent" >是否删除“{{DelFileData.fileName}}”文件?</div>
  243. <span slot="footer" class="dialog-footer">
  244. <el-button type="danger" @click="DelFileYes" class="btn5" size="small">确认删除</el-button>
  245. <el-button @click="DelFileDialog=false;" class="btn5" style="background:#cccccc" size="small">取消</el-button>
  246. </span>
  247. </el-dialog>
  248. <!-- 删除文件对话框结束 -->
  249. <!-- 提交对话框开始 -->
  250. <el-dialog
  251. title="提示"
  252. :visible.sync="processDialog"
  253. width="600px"
  254. class="MAputIn AddMember">
  255. <div class="addDialogLogo">LOGO</div>
  256. <div class="deleteContent">是否审核“{{ tableData.title}}”项目活动?</div>
  257. <span slot="footer" class="dialog-footer">
  258. <el-button type="primary" @click="process" class="btn5" size="small">确认审核</el-button>
  259. <el-button @click="processDialog=false;" class="btn5" style="background:#cccccc" size="small">取消</el-button>
  260. </span>
  261. </el-dialog>
  262. </div>
  263. </template>
  264. <script>
  265. import { VueEditor } from "vue2-editor";
  266. import { uuid } from 'vue-uuid';
  267. import BeUpload from '../../components/tool/beUpload.vue'
  268. export default {
  269. components:{
  270. VueEditor,
  271. BeUpload
  272. },
  273. data() {
  274. return {
  275. accept:"*",
  276. loading:false,
  277. DelFileDialog:false,
  278. dialogVisible1:false,
  279. addMemberDialog:false,
  280. processDialog:false,
  281. customToolbar: [
  282. ["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }],
  283. [{ align: "" }, { align: "center" }, { align: "right"}, { align: "justify"}],
  284. [{header:[false,1,2,3,4]}]
  285. ],
  286. tableData:{
  287. acId:"",
  288. title:"",
  289. pid:"",
  290. userid:"",
  291. money:0,
  292. pro_leader:"",
  293. classid:"",
  294. begin_at:[],
  295. students:0,
  296. state:0,
  297. phone:"",
  298. course_teacher:[],
  299. brief:"",
  300. chapters:["","","",""],
  301. reportFile:"",
  302. },
  303. selectInput:{
  304. project:[],
  305. class:[]
  306. },
  307. DelFileData:{
  308. fid:"",
  309. fileName:"",
  310. },
  311. Member:{
  312. Id:'',
  313. Name:'',
  314. work:'',
  315. takeCharge:''
  316. },
  317. }
  318. },
  319. methods:{
  320. DelFileYes(){
  321. let newFile = this.tableData.reportFile.filter(item=>item.fid!=this.DelFileData.fid);
  322. this.ajax.post(this.$store.state.api+"/UploadActivityFile",{
  323. uid:this.$store.state.userInfo.userid,
  324. aid:this.$route.query['Id'],
  325. file:JSON.stringify(newFile)
  326. }).then(res=>{
  327. if(res.data==1){
  328. this.$message.success("删除成功");
  329. }else{
  330. this.$message.error("删除失败")
  331. }
  332. this.getData();
  333. this.DelFileDialog = false;
  334. }).catch(err=>{
  335. this.$message.error(err.message)
  336. })
  337. },
  338. checkDelFile(Id){
  339. this.DelFileData = this.tableData.reportFile.filter(item=>item.fid==Id)[0];
  340. this.DelFileDialog = true;
  341. },
  342. // delFile(Id){
  343. // let file = this.tableData.reportFile.filter(item=>item.fid==Id)[0];
  344. // this.$confirm(`确定删除${file.fileName}这个文件吗?`, '提示', {
  345. // confirmButtonText: '确定',
  346. // cancelButtonText: '取消',
  347. // type: 'warning'
  348. // }).then(() => {
  349. // let newFile = this.tableData.reportFile.filter(item=>item.fid!=Id);
  350. // console.log(newFile);
  351. // })
  352. // },
  353. getFile(val) {//上传文件
  354. val.fid = uuid.v1()
  355. let newData = [...this.tableData.reportFile,val];
  356. this.ajax.post(this.$store.state.api+"/UploadActivityFile",{
  357. uid:this.$store.state.userInfo.userid,
  358. aid:this.$route.query['Id'],
  359. file:JSON.stringify(newData)
  360. }).then(res=>{
  361. if(res.data==1){
  362. this.$message.success("添加成功");
  363. this.getData();
  364. }else{
  365. this.$message.error("添加失败")
  366. }
  367. }).catch(err=>{
  368. this.$message.error(err.message);
  369. })
  370. // console.log(val);
  371. },
  372. submit(){
  373. if(this.check()!=1)return;
  374. this.dialogVisible1 = true;
  375. },
  376. DeleteS(Id){
  377. this.tableData.course_teacher = this.tableData.course_teacher.filter(item=>item.Id!=Id);
  378. },
  379. //保存修改
  380. save(){
  381. const data = this.tableData;
  382. const param = {
  383. uid:this.$store.state.userInfo.userid,
  384. aid:data.acId,
  385. tit:data.title,
  386. con:data.brief,
  387. leader:data.pro_leader,
  388. mon:data.money,
  389. stu:data.students,
  390. teacher:JSON.stringify(data.course_teacher),
  391. chap:JSON.stringify(data.chapters),
  392. pid:data.pid,
  393. cid:data.classid,
  394. ph:data.phone,
  395. beginTime:JSON.stringify(data.begin_at)
  396. }
  397. // console.log(param)
  398. // return;
  399. this.ajax.post(this.$store.state.api+"/UpdateActivity",param).then(res=>{
  400. if(res.data==1){
  401. this.$message.success("修改成功");
  402. this.dialogVisible1=false
  403. this.getData();
  404. }else{
  405. this.$message.error("修改失败"+res.data);
  406. }
  407. }).catch(err=>{
  408. this.$message.error(err.message)
  409. })
  410. console.log(this.tableData)
  411. },
  412. change(){
  413. if(this.Member.Id=='')return this.$message.error("错误");
  414. for(let a in this.Member)if(/^\s*$/g.test(this.Member[a]))return this.$message.error("请不要留空")
  415. Object.assign(this.tableData.course_teacher.filter(item=>item.Id==this.Member.Id)[0],this.Member)
  416. for(let i in this.Member)this.Member[i]='';
  417. this.addMemberDialog = true;
  418. this.addMemberDialog = false;
  419. },
  420. updateTeacher(Id){
  421. Object.assign(this.Member,this.tableData.course_teacher.filter(item=>item.Id==Id)[0])
  422. this.addMemberDialog = true;
  423. },
  424. //检查整个表单
  425. check(){
  426. let checkData = this.tableData;
  427. const cEmpty = /^\s*$/g;
  428. for(let i in checkData){
  429. switch(i){
  430. case "chapters":
  431. for(let a in checkData[i]){
  432. switch(a){
  433. case "0":
  434. if(cEmpty.test(checkData[i][a]))return this.$message.error("活动计划不能为空");
  435. break;
  436. case "1":
  437. if(cEmpty.test(checkData[i][a]))return this.$message.error("预期目标不能为空");
  438. break;
  439. case "2":
  440. if(cEmpty.test(checkData[i][a]))return this.$message.error("活动受面不能为空");
  441. break;
  442. case "3":
  443. if(cEmpty.test(checkData[i][a]))return this.$message.error("经费支出计划不能为空");
  444. break;
  445. }
  446. }
  447. break;
  448. case "title":
  449. if(cEmpty.test(checkData[i]))return this.$message.error("活动名称不能为空");
  450. break;
  451. case "course_teacher":
  452. if(checkData[i].length==0)return this.$message.error("请添加至少一名指导老师")
  453. break;
  454. case "fund":
  455. break;
  456. case "people":
  457. break;
  458. case "pro_leader":
  459. if(cEmpty.test(checkData[i]))return this.$message.error("负责人不能为空");
  460. break;
  461. case "pid":
  462. if(cEmpty.test(checkData[i]))return this.$message.error("请选择所属项目");
  463. break;
  464. case "phone":
  465. if(cEmpty.test(checkData[i]))return this.$message.error("电话号码不能为空");
  466. if(!this.checkPhone(checkData[i]))return;
  467. break;
  468. case "begin_at":
  469. if(checkData[i]==null||checkData[i].length<2)return this.$message.error("请选择项目开始时间");
  470. break;
  471. case "classid":
  472. if(cEmpty.test(checkData[i]))return this.$message.error("请选择所在部门");
  473. break;
  474. case "brief":
  475. if(cEmpty.test(checkData[i]))return this.$message.error("活动介绍不能为空");
  476. break;
  477. }
  478. }
  479. return 1;
  480. },
  481. //检查手机号
  482. checkPhone(val){
  483. if(/^\s*$/g.test(val))return;
  484. const cPhone = /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/
  485. if(!cPhone.test(val)){
  486. this.$message.error("电话号码格式不正确");
  487. return false;
  488. }
  489. return true;
  490. },
  491. commit(){
  492. //判断是否全部填写
  493. for(let a in this.Member)if(a!='Id'&&/^\s*$/g.test(this.Member[a]))return this.$message.error("请不要留空")
  494. this.Member.Id = uuid.v1();
  495. let pushData={};
  496. Object.assign(pushData,this.Member)
  497. this.tableData.course_teacher.push(pushData);
  498. for(let i in this.Member)this.Member[i] = '';
  499. this.addMemberDialog=false;
  500. },
  501. handleClose(){
  502. this.addMemberDialog=false;
  503. },
  504. backBtn(){
  505. this.$router.push('/makerActvity')
  506. },
  507. addTeacher(){
  508. this.addMemberDialog=true;
  509. },
  510. getAllClass(){
  511. this.ajax.get(this.$store.state.api+"/SelectAllDepartment",{
  512. uid:this.$store.state.userInfo.userid,
  513. }).then(res=>{
  514. this.selectInput.class = res.data[0];
  515. }).catch(err=>{
  516. this.$message.error(err.message)
  517. })
  518. },
  519. getProject(){
  520. this.ajax.get(this.$store.state.api+"/GetAllProjectName",{
  521. uid:this.$store.state.userInfo.userid,
  522. }).then(res=>{
  523. this.selectInput.project = res.data[0];
  524. }).catch(err=>{
  525. this.$message.error(err.message)
  526. })
  527. },
  528. getData(){
  529. this.ajax.get(this.$store.state.api+"/GetActivityDetail",{
  530. uid:this.$store.state.userInfo.userid,
  531. aId:this.$route.query["Id"]
  532. }).then(res=>{
  533. if(!res.data[0][0])return this.$message.error("错误")
  534. let data = res.data[0][0];
  535. data.begin_at = JSON.parse(data.begin_at);
  536. data.course_teacher = JSON.parse(data.course_teacher);
  537. data.chapters = JSON.parse(data.chapters)
  538. // console.log(data.reportFile)
  539. // console.log(data.reportFile==''||data.reportFile==null?[]:JSON.parse(data.reportFile))
  540. data.reportFile = data.reportFile==''||data.reportFile==null?[]:JSON.parse(data.reportFile)
  541. // data.reportFile = data.reportFile==''||data.reportFile==null?[]:JSON.parse(data.reportFile);
  542. this.tableData = data;
  543. console.log(this.tableData)
  544. // this.$message.success("获取数据成功")
  545. }).catch(err=>{
  546. this.$message.error(err.message)
  547. })
  548. },
  549. //立项审核
  550. process(){
  551. this.ajax.post(this.$store.state.api+"/UpdateActivityState",{
  552. uid:this.$store.state.userInfo.userid,
  553. aid:this.$route.query["Id"],
  554. st:1,
  555. }).then(res=>{
  556. if(res.data==1){
  557. this.$message.success("审核成功");
  558. this.processDialog = false;
  559. }else{
  560. this.$message.error("审核失败")
  561. }
  562. this.getData();
  563. }).catch(err=>{
  564. this.$message.error(err.message)
  565. })
  566. }
  567. },
  568. mounted(){
  569. this.getAllClass();
  570. this.getProject();
  571. this.getData();
  572. }
  573. }
  574. </script>
  575. <style lang="less">
  576. .makerActvityDetails{
  577. .download{ //pdf下载
  578. margin: 10px 10px;
  579. width: 500px;
  580. line-height: 35px;
  581. text-align: left;
  582. font-size: 16px;
  583. font-weight: bold;
  584. color: #5391fd;
  585. display: flex;
  586. justify-content: space-between;
  587. cursor: pointer;
  588. span{
  589. display: block;
  590. max-width: 250px;
  591. white-space: nowrap;
  592. overflow: hidden;
  593. text-overflow: ellipsis;
  594. }
  595. }
  596. textarea{
  597. font-size: 16px;
  598. resize: none;
  599. }
  600. }
  601. .MAputIn{ //提交对话框样式
  602. .deleteContent{
  603. width: 100%;
  604. text-align: center;
  605. font-size: 25px;
  606. color: #000;
  607. }
  608. .addDialogLogo{
  609. width: 60px;
  610. height: 30px;
  611. line-height: 30px;
  612. background: #f2f2f2;
  613. position: absolute;
  614. left: 10px;
  615. top: 10px;
  616. text-align: center;
  617. }
  618. .el-dialog__title{
  619. // margin-left:250px;
  620. display: flex;
  621. justify-content: center;
  622. color:rgb(246, 247, 246);
  623. }
  624. .dialog-footer{
  625. display: flex;
  626. justify-content: center;
  627. .btn5{
  628. // background: #0e72e6;
  629. height: 40px;
  630. width: 200px;
  631. font-size: 16px;
  632. }
  633. }
  634. }
  635. .BtnStyle{
  636. display: flex;
  637. justify-content:space-between;
  638. [type='button']{
  639. color: #fff !important;
  640. display: flex;
  641. justify-content: center;
  642. font-size: 16px;
  643. width: 120px;
  644. margin-left: 20px;
  645. height: 40px;
  646. align-items: center;
  647. }
  648. }
  649. </style>