projectApplicationApplyMain.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. <template>
  2. <!-- 项目立项申请表单区域 -->
  3. <div class="projectApplicationApplyPAapply">
  4. <!-- 上方导航区开始 -->
  5. <div class="PAheader">
  6. <div class="PAheaderBlock" :style="{opacity: status!=0?0.8:1}" @click="status=0">
  7. <img src="@/assets/vector/first.png" class="vector" alt="">
  8. 立项基础信息
  9. </div>
  10. <div class="PAheaderBlock" :style="{opacity: status!=1?0.8:1}" @click="status=1">
  11. <img src="@/assets/vector/second.png" class="vector" alt="">
  12. 项目内容
  13. </div>
  14. <div class="PAheaderBlock" :style="{opacity: status!=2?0.8:1}" @click="status=2">
  15. <img src="@/assets/vector/fouth.png" class="vector" alt="">
  16. 预算经费
  17. </div>
  18. </div>
  19. <!-- 上方导航区结束-->
  20. <!--下方内容区开始-->
  21. <div class="Main_area">
  22. <!-- 学生创客项目 5e21b204-c206-11ed-a4cd-509a4c5b67cf -->
  23. <!-- 特色创客空间建设项目 5f7a66d5-c206-11ed-a4cd-509a4c5b67cf -->
  24. <!-- <projectApplicationApply :data="projectApplicationApply1" :next="next" :back="back"/> -->
  25. <projectApplicationApply :data="projectApplicationApply1" :next="next" :back="back" v-if="status==0 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/>
  26. <!-- 特色创客空间建设项目 -->
  27. <projectApplicationApplyMakerSpace :data="MakerSpace" :next="next" :back="back" v-if="status==0 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/>
  28. <projectApplicationApplyMakerSpace2 :data="MakerSpace2" :next="next" :back="back" v-if="status==1 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/>
  29. <!-- <projectApplicationApply :data="projectApplicationApply1" :next="next" :back="back" v-if="status==0 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/> -->
  30. <!-- <projectApplicationApplyMakerSpace :data="MakerSpace" :next="next" :back="back" v-if="status==0 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/> -->
  31. <projectApplicationApply2 :data="projectApplicationApply2" :next="next" :back="back" v-if="status==1 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/>
  32. <projectApplicationApply3 :data="projectApplicationApply3" :confirmSetFund="confirmSetFund" :data2="pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'?projectApplicationApply1:MakerSpace" :next="next" :back="back" :submitBtn="submitBtn" v-show="status==2"/>
  33. </div>
  34. <!--下方内容区结束-->
  35. <!-- 提交对话框开始 -->
  36. <el-dialog
  37. title="提示"
  38. :visible.sync="submitHint"
  39. width="600px"
  40. class="pageSubmitData"
  41. :before-close="init">
  42. <div class="addDialogLogo">LOGO</div>
  43. <div class="deleteContent">确定提交“{{pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'?projectApplicationApply1.select.projectName:MakerSpace.select.projectName}}”项目立项?</div>
  44. <span slot="footer" class="dialog-footer">
  45. <el-button type="primary" @click="submitAll" class="AllDialogBtn">确认提交</el-button>
  46. <el-button @click="init" class="AllDialogBtn">取消</el-button>
  47. </span>
  48. </el-dialog>
  49. <!-- 提交对话框结束 -->
  50. <!-- 选择分类开始 -->
  51. <el-dialog
  52. title="提示"
  53. :visible.sync="selectType"
  54. width="600px"
  55. class="pageSubmitData"
  56. :close-on-click-modal='false'
  57. :close-on-press-escape="false"
  58. :show-close="false"
  59. >
  60. <!-- <div class="addDialogLogo">LOGO</div> -->
  61. <div class="" style="display: flex;align-items: center;justify-content: center;margin-top: 10px;">
  62. <div style="margin-right: 10px;">选择分类</div>
  63. <el-cascader v-model="pageType" :options="projectApplicationApply1.sortOptions" clearable></el-cascader>
  64. </div>
  65. <span slot="footer" class="dialog-footer">
  66. <el-button type="primary" @click="selectTypeButton" class="AllDialogBtn">确定</el-button>
  67. <el-button @click="$router.back()" class="AllDialogBtn">取消</el-button>
  68. </span>
  69. </el-dialog>
  70. <!-- 选择分类结束 -->
  71. </div>
  72. </template>
  73. <script>
  74. // 引入项目详情三个页面
  75. // import { uuid } from 'vue-uuid';
  76. //学生创业项目
  77. import projectApplicationApply from './components/projectApplicationApply.vue';
  78. import projectApplicationApply2 from './components/projectApplicationApply2.vue';
  79. import projectApplicationApply3 from './components/projectApplicationApply3.vue';
  80. //创客空间建设项目立项申报
  81. import projectApplicationApplyMakerSpace from './components/projectApplicationApplyMakerSpace.vue';
  82. import projectApplicationApplyMakerSpace2 from './components/projectApplicationApplyMakerSpace2.vue'
  83. export default {
  84. // 进行注册使用
  85. components:{
  86. projectApplicationApply,
  87. projectApplicationApply2,
  88. projectApplicationApply3,
  89. projectApplicationApplyMakerSpace,
  90. projectApplicationApplyMakerSpace2,
  91. },
  92. data() {
  93. return {
  94. // selectType:true, //选择分类对话框
  95. selectType:true, //选择分类对话框
  96. pageType:[], //判断页面显示分类 学生创客项目 学院特色创客空间
  97. status:0, //判断顶部导航跳转
  98. submitHint:false, //提交按钮
  99. //创客空间建设项目立项申报数据
  100. MakerSpace:{
  101. dialogImageUrl:"", //封面
  102. select:{ //基本信息数据框
  103. projectName:'', //项目名称
  104. person:'', //项目负责人
  105. Data:[], //项目时间
  106. value:"", //部门
  107. fund:0, //预算总经费
  108. leader:"",//学院牵头领导
  109. },
  110. options: [], //部门下拉框
  111. textarea:'', //项目简介
  112. teacherData:[],//教师组
  113. studentData:[],//学生组
  114. },
  115. //创客空间建设项目立项申报项目内容数据
  116. MakerSpace2:{
  117. Construction:"",//建设内容
  118. ProjectBasis:"",//立项依据
  119. development:"",//创客空间物理环境、制度建设及软件设施建设情况
  120. studio:"",//学生创客工作室建设情况
  121. studentTeam:"",//学生创客团队(人才)培养预期成果、数量
  122. studentActivities:"",//学生创客活动组织实施情况
  123. Transforming:"",//学生创客团队孵化、转化创业项目情况
  124. condition:"",//立 项基 础及条 件
  125. },
  126. projectApplicationApply1:{ //立项基础信息页面
  127. amendMemberDialog:false, //修改人员对话框显示判断
  128. telVerify:true, //判断基础信息里联系电话
  129. dialogImageUrl:"", //封面!!!!!!!!
  130. tableStudentData:[], //学生成员成员列表!!!!!!!!
  131. tableTeacherData:[], //老师成员成员列表!!!!!!!
  132. textarea:'', //项目简介!!!!!!!
  133. select:{ //要提交的数据!!!!!!!!!!!!!!!!!!!!!!!
  134. projectName:'', //项目名称
  135. leader:'', //项目负责人
  136. projectDate:'', //开始结束日期
  137. department:"", //部门
  138. fund:'', //资金
  139. MultiSelectProjectNameS:[], //优先支持项目
  140. schoolRemould:'', //校园改造项目
  141. tel:'', //电话
  142. projectApplyPerson:'', //项目申请人
  143. },
  144. departmentOptions: [], //部门下拉框
  145. sortOptions: [ //选择分类下拉框数据
  146. {
  147. value:"",
  148. label: '',
  149. children: [{
  150. value: 0,
  151. label: '创意组',
  152. },
  153. {
  154. value: 1,
  155. label: '初创组',
  156. }
  157. ]},
  158. {
  159. value:"",
  160. label: '',
  161. children: [{
  162. value: 0,
  163. label: '已建设',
  164. }, {
  165. value: 1,
  166. label: '待建设',
  167. }]
  168. }],
  169. },
  170. projectApplicationApply2:{ //项目内容页面
  171. back:'',
  172. innovate:'',
  173. path:'',
  174. scene:'',
  175. worth:'',
  176. team:'',
  177. cost:'',
  178. expectResults:'',
  179. expectResultsTeacher:'',
  180. expectConversion:'',
  181. plan:''
  182. },
  183. projectApplicationApply3:{ //预算经费页面
  184. tableData: // 经费月支出计划列表数据默认显示数据
  185. [
  186. {
  187. one:'-',
  188. two:'-',
  189. three:'-',
  190. four:'-',
  191. five:'-',
  192. six:'-',
  193. seven:'-',
  194. eight:'-',
  195. nine:'-',
  196. ten:'-',
  197. eleven:'-',
  198. twelve:'-',
  199. remark:'-'
  200. }
  201. ],
  202. items:{ //经费月支出计划dialog对话框要提交的数据
  203. one:'',
  204. two:'',
  205. three:'',
  206. four:'',
  207. five:'',
  208. six:'',
  209. seven:'',
  210. eight:'',
  211. nine:'',
  212. ten:'',
  213. eleven:'',
  214. twelve:'',
  215. remark:''
  216. },
  217. items2:{}, //复制items,可以确定后清除数据
  218. tableData2:[],// 经费明细列表数据
  219. dialog:{ //经费明细添加对话框
  220. // id:'',
  221. fund:'', //金额
  222. type:'', //支出类别
  223. disburseProject:'', //支出项目
  224. textarea:'', //备注
  225. isOk:''
  226. },
  227. }
  228. }
  229. },
  230. methods:{
  231. selectTypeButton(){ //分类选项 学生 学校
  232. // this.$message.error('请选择分类')
  233. // console.log(this.pageType[0]==false);
  234. if (!this.pageType[0]) return this.$message.error('请选择分类')
  235. this.selectType=false
  236. },
  237. next(){ //顶部导航栏页面下一条跳转
  238. if(this.status>=2)return;
  239. this.status++;
  240. },
  241. back(){ //顶部导航栏页面上一条
  242. if(this.status==0)return;
  243. this.status--;
  244. },
  245. getProjectDepartmentData(){ //获取项目立项申请基础信息页面所在部门数据
  246. let param={
  247. uid:this.$store.state.userInfo.userid
  248. }
  249. this.ajax
  250. .get(this.$store.state.api+'/SelectAllDepartment',param)
  251. .then(res=>{
  252. // console.log(res.data[0]);
  253. let p=res.data[0]
  254. let a=this.projectApplicationApply1
  255. a.options=p
  256. this.MakerSpace.options = p;
  257. this.projectApplicationApply1.departmentOptions=p;
  258. },err=>{
  259. console.log(err);
  260. })
  261. },
  262. getProjectTypeData(){ //获取项目立项申请基础信息页面分类数据
  263. let param={
  264. uid:this.$store.state.userInfo.userid
  265. }
  266. this.ajax
  267. .get(this.$store.state.api+'/SelectAllType',param)
  268. .then(res=>{
  269. // console.log(res.data[0]);
  270. let p=res.data[0]
  271. let a=this.projectApplicationApply1
  272. a.sortOptions[0].value=p[0].id
  273. a.sortOptions[0].label=p[0].name
  274. a.sortOptions[1].value=p[1].id
  275. a.sortOptions[1].label=p[1].name
  276. },err=>{
  277. console.log(err);
  278. })
  279. },
  280. //立项基础信息页面删除功能在它自己页面人员信息
  281. init(){
  282. //重置
  283. this.submitHint=false;
  284. // this.selectType=false
  285. },
  286. confirmSetFund(){ //预算经费经费月支出计划对话框提交
  287. let data=this.projectApplicationApply3;
  288. for(let key in data.items){
  289. if (data.items[key]=='') {
  290. data.items[key]='-'
  291. }
  292. }
  293. Object.assign(data.tableData[0],data.items)
  294. this.$message.success('设置经费成功')
  295. },
  296. submitBtn(){ //预算经费页面提交显示对话框
  297. //先判断项目名称是否为空
  298. if(this.pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'){//学生创客项目
  299. if(this.projectApplicationApply1.select.projectName=='')return this.$message.error("请先输入项目名称")
  300. this.submitHint = true;
  301. }else if(this.pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'){//特色创客空间建设项目
  302. if(this.MakerSpace.select.projectName=="")return this.$message.error("请先输入项目名称");
  303. this.submitHint = true;
  304. }else{
  305. return this.$message.error("项目分类错误")
  306. }
  307. },
  308. submitAll(){
  309. if(this.pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'){//学生创客项目
  310. //在这里判断数据
  311. this.submitData()
  312. }else if(this.pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'){//特色创客空间建设项目
  313. //在这里判断项目
  314. this.InsertProjectMakerSpace();
  315. }
  316. },
  317. submitData(){ //提交页面所有数据
  318. let a=this.projectApplicationApply1;
  319. let b=this.projectApplicationApply2;
  320. let c=this.projectApplicationApply3
  321. let param={
  322. uid:this.$store.state.userInfo.userid,
  323. tit:a.select.projectName,
  324. leader:a.select.leader,
  325. begDate:a.select.projectDate[0],
  326. endDate:a.select.projectDate[1],
  327. department:a.select.department,
  328. fund:a.select.fund,
  329. imgsrc:a.dialogImageUrl,
  330. teacher:JSON.stringify(a.tableTeacherData),
  331. student:JSON.stringify(a.tableStudentData),
  332. con:a.textarea,
  333. chapters:JSON.stringify(b),
  334. tid:this.pageType[0],
  335. tName:this.pageType[1],
  336. // message:JSON.stringify([d,[newData1,c.tableData2]]),
  337. mon:JSON.stringify(this.projectApplicationApply3),//预算经费,
  338. tel:a.select.tel,
  339. Mul:JSON.stringify(a.select.MultiSelectProjectNameS),
  340. schoolRemould:a.select.schoolRemould,
  341. person:a.select.projectApplyPerson,
  342. }
  343. const cEmpty = /^\s*$/g;
  344. for(let i in param){
  345. switch(i){
  346. case 'leader':
  347. if(cEmpty.test(param[i]))return this.$message.error("项目负责人不能为空")
  348. break;
  349. case 'begDate':
  350. if(!param[i])return this.$message.error("请选择项目开始时间")
  351. break;
  352. case 'department':
  353. if(cEmpty.test(param[i]))return this.$message.error("请选择项目所属部门")
  354. break;
  355. case "fund":
  356. if(cEmpty.test(param[i]))return this.$message.error("请输入预算经费")
  357. break;
  358. case 'Mul':
  359. console.log(111);
  360. if(!JSON.parse(param[i]).length) return this.$message.error("请选择优先支持项目")
  361. break;
  362. case 'schoolRemould':
  363. if(!param[i])return this.$message.error("请选择美丽校园改造项目")
  364. break;
  365. case "tel":
  366. if(cEmpty.test(param[i]))return this.$message.error("请输入联系方式")
  367. break;
  368. case 'person':
  369. if(cEmpty.test(param[i]))return this.$message.error("请选择项目申请人")
  370. break;
  371. case 'imgsrc':
  372. if(cEmpty.test(param[i]))return this.$message.error("请选择项目封面图片")
  373. break;
  374. case 'teacher':
  375. if(JSON.parse(param[i]).length<2 || JSON.parse(param[i]).length>4)return this.$message.error("需要教师团队3人以上,至少应包含1名教研室主任")
  376. break;
  377. case 'student':
  378. if(JSON.parse(param[i]).length<5)return this.$message.error("需要学生团队5人以上")
  379. break;
  380. case 'con':
  381. if(param[i].length<200 || param[i]>=300)return this.$message.error("项目简介需要200-300字")
  382. break;
  383. }
  384. }
  385. // return console.log(a.textarea.length);
  386. // if(a.select.projectName=='') return this.$message.error('请输入项目名称')
  387. // if(a.select.leader=='') return this.$message.error('请输入项目负责人')
  388. // if(a.select.department=='') return this.$message.error('请选择所在部门')
  389. // if(!a.select.MultiSelectProjectNameS[0]) return this.$message.error('请选择优先支持项目')
  390. // if(a.select.tel=='') return this.$message.error('请输入联系电话')
  391. // if(a.select.projectDate=='') return this.$message.error('请选择项目开始时间')
  392. // if(a.select.fund=='') return this.$message.error('请输入预算总经费')
  393. // if(a.select.fund=='') return this.$message.error('请选择美丽校园改造计划')
  394. // if(a.select.person=='') return this.$message.error('请选择项目申请人')
  395. // if(!a.telVerify) return this.$message.error('请输入正确联系电话格式')
  396. // if(a.tableTeacherData.length<2 || a.tableTeacherData.length>3) return this.$message.error('老师成员2-3人')
  397. // if(a.tableStudentData.length<5) return this.$message.error('学生成员5人以上')
  398. // return console.log(param);
  399. this.ajax
  400. .post(this.$store.state.api+'/InsertProjectStudent',param)
  401. .then(res=>{
  402. console.log(res)
  403. if(res.data==1){
  404. this.$message.success("创建成功")
  405. this.$router.push('projectApplication')
  406. }else{
  407. this.$message.error("创建失败")
  408. }
  409. },err=>{
  410. console.log(err);
  411. })
  412. },
  413. //添加特色创客空间建设项目立项申报
  414. InsertProjectMakerSpace(){
  415. let param = {
  416. uid:this.$store.state.userInfo.userid,//用户ID,
  417. title:this.MakerSpace.select.projectName,//项目名称
  418. pro_leader:this.MakerSpace.select.person,//项目负责人
  419. startTime:this.MakerSpace.select.Data[0],//项目开始时间
  420. endTime:this.MakerSpace.select.Data[1],//项目结束时间
  421. classid:this.MakerSpace.select.value,//部门ID
  422. fund:this.MakerSpace.select.fund,//预算总经费
  423. lead_leader:this.MakerSpace.select.leader,//学院牵头领导
  424. image:this.MakerSpace.dialogImageUrl,//项目封面
  425. course_teacher:JSON.stringify(this.MakerSpace.teacherData),//教师团队
  426. course_student:JSON.stringify(this.MakerSpace.studentData),//学生团队
  427. brief:this.MakerSpace.textarea,//项目简介
  428. chapters:JSON.stringify(this.MakerSpace2),//项目内容
  429. typeid:this.pageType[0],//分类一级ID,
  430. typeName:this.pageType[1],//分类二级
  431. mon:JSON.stringify(this.projectApplicationApply3),//预算经费,
  432. }
  433. //判断数据
  434. const cEmpty = /^\s*$/g;
  435. for(let i in param){
  436. switch(i){
  437. case 'pro_leader':
  438. if(cEmpty.test(param[i]))return this.$message.error("项目负责人不能为空")
  439. break;
  440. case 'startTime':
  441. if(cEmpty.test(param[i]))return this.$message.error("请选择项目开始时间")
  442. break;
  443. case 'endTime':
  444. if(cEmpty.test(param[i]))return this.$message.error("请选择项目计划结束时间")
  445. break
  446. case 'classid':
  447. if(cEmpty.test(param[i]))return this.$message.error("请选择项目所属部门")
  448. break;
  449. case "lead_leader":
  450. if(cEmpty.test(param[i]))return this.$message.error("请输入学院牵头领导")
  451. break;
  452. case 'image':
  453. if(cEmpty.test(param[i]))return this.$message.error("请选择项目封面图片")
  454. break;
  455. case 'course_teacher':
  456. if(JSON.parse(param[i]).length<3)return this.$message.error("需要教师团队3人以上,至少应包含1名教研室主任")
  457. break;
  458. case 'course_student':
  459. if(JSON.parse(param[i]).length<5)return this.$message.error("需要学生团队5人以上")
  460. break;
  461. case 'brief':
  462. if(param[i].length<200&&param[i]<=300)return this.$message.error("项目简介需要200-300字")
  463. break;
  464. }
  465. }
  466. this.ajax.post(this.$store.state.api+"/InsertProjectMakerSpace",param).then(res=>{
  467. if(res.data==1){
  468. this.$message.success("提交成功")
  469. this.$router.push('/projectApplication')
  470. }else{
  471. this.$message.error("提交失败")
  472. }
  473. }).catch(err=>{
  474. console.log(err)
  475. })
  476. }
  477. },
  478. created(){ //实例初始化完成后调用
  479. this.getProjectDepartmentData() //获取项目立项申请基础信息页面所在部门数据
  480. this.getProjectTypeData() //获取项目立项申请基础信息页面分类数据
  481. // this.submitData()
  482. // if(this.$route.query["id"]){
  483. // //弹窗
  484. // }else{
  485. // // this.$route.push(`/projectApplicationApplyMain?id=`)
  486. // }
  487. }
  488. }
  489. </script>
  490. <style lang="less">
  491. .projectApplicationApplyPAapply{
  492. width: 100%;
  493. background: #e6eaf0;
  494. display: flex;
  495. flex-direction: column;
  496. align-items: center;
  497. // 顶部导航区开始
  498. .PAheader{
  499. width: 71.4%;
  500. height: 70px;
  501. position: relative;
  502. top: 15px;
  503. border-radius: 5px;
  504. background: #ffffff;
  505. display: flex;
  506. justify-content: center;
  507. align-items: center;
  508. .PAheaderBlock{
  509. background: #4a83d0;
  510. width: 13%;
  511. height: 70%;
  512. border-radius: 10px;
  513. display: flex;
  514. justify-content: center;
  515. align-items: center;
  516. color: #fff;
  517. font-size: 16px;
  518. cursor: pointer;
  519. }
  520. .PAheaderBlock:nth-of-type(2){
  521. margin: 10%;
  522. }
  523. }
  524. .vector{ //矢量图大小
  525. height: 50%;
  526. margin-top: 5px;
  527. }
  528. .Main_area{ //宽度
  529. width: 75%;
  530. min-height: 80%;
  531. margin-bottom: 20px;
  532. }
  533. // 顶部导航区结束
  534. //提交对话框开始 选择分类
  535. // .projectApplicationfundAddDialog{
  536. // .el-dialog__header{
  537. // display: flex;
  538. // justify-content: center;
  539. // }
  540. // .el-dialog{
  541. // border-radius: 5px;
  542. // overflow: hidden;
  543. // top: 10%;
  544. // }
  545. // .deleteContent{
  546. // width: 100%;
  547. // text-align: center;
  548. // font-size: 22px;
  549. // color: #000;
  550. // }
  551. // .addDialogLogo{
  552. // width: 60px;
  553. // height: 30px;
  554. // border-radius: 5px;
  555. // display: flex;
  556. // justify-content: center;
  557. // line-height: 30px;
  558. // background: #f2f2f2;
  559. // position: absolute;
  560. // left: 20px; top: 15px;
  561. // }
  562. // .el-dialog__header{
  563. // background: #32455b;
  564. // }
  565. // .el-dialog__title{
  566. // color:#fff;
  567. // display: flex;
  568. // justify-content: center;
  569. // font-size: 18px;
  570. // position: relative;
  571. // top: -2px;
  572. // }
  573. // .addDialogMid{
  574. // box-sizing: border-box;
  575. // padding:0 60px 0 10px;
  576. // .addDialogTit{
  577. // display: flex;
  578. // span{
  579. // width: 80px;
  580. // line-height: 40px;
  581. // text-align: left;
  582. // }
  583. // }
  584. // .addDialogTit1{
  585. // display: flex;
  586. // justify-content: space-between;
  587. // margin-bottom: 15px;
  588. // }
  589. // .addDialogTit2{
  590. // margin-top: 10px;
  591. // font-size: 18px;
  592. // color: #000;
  593. // text-indent: 2em;
  594. // }
  595. // .addDialogCon{
  596. // margin-top: 20px;
  597. // }
  598. // }
  599. // .dialog-footer{
  600. // display: flex;
  601. // justify-content: center;
  602. // // .btn5{
  603. // // height: 40px;
  604. // // font-size: 16px;
  605. // // background: #0e72e6;
  606. // // width: 200px;
  607. // // }
  608. // }
  609. // }
  610. //提交对话框结束
  611. .right{
  612. width: 83%;
  613. background: #fff;
  614. box-sizing: border-box;
  615. padding: 15px 30px;
  616. min-height: 740px;
  617. // margin-bottom: 60px;
  618. border-radius: 5px;
  619. }
  620. // 左边栏开始
  621. .left{
  622. width: 10%;
  623. min-width: 110px;
  624. height: 740px;
  625. background: #32455b;
  626. display: flex;
  627. justify-content: center;
  628. margin-right: 2%;
  629. box-sizing: border-box;
  630. padding: 0 10px;
  631. border-radius: 5px;
  632. .leftTits{
  633. display: flex;
  634. flex-direction: column;
  635. margin: 50px 0 0 10px;
  636. div{
  637. width: 97px;
  638. color: #fff;
  639. cursor: pointer;
  640. margin-bottom: 30px;
  641. p{
  642. white-space: nowrap;
  643. overflow: hidden;
  644. text-overflow:ellipsis;
  645. }
  646. }
  647. }
  648. div:hover{
  649. color: #ccc;
  650. }
  651. .sx{
  652. margin-top: 53.5px;
  653. margin-left: 8px;
  654. width: 1px;
  655. height: 400px;
  656. background: #84888d;
  657. .qiu{
  658. width: 10px;
  659. height: 10px;
  660. background: #fff;
  661. border-radius: 50px;
  662. margin-left: -4.5px;
  663. }
  664. }
  665. }
  666. // 左边栏结束
  667. }
  668. </style>