index.vue 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055
  1. <template>
  2. <div class="app-container home">
  3. <el-row :gutter="5">
  4. <el-col :sm="24" :lg="17" style="padding-left: 15px">
  5. <div class="index_heade">
  6. <img src="../assets/images/icon_more.png" alt="" class="index_headerImg">
  7. <p class="index_headetab">
  8. <span :class="[num == index ? ' spanto' : '']" v-for="(item,index) in editableTabs" :key="index" @click="tabSbu(item.dictValue)">{{item.dictLabel}}</span>
  9. </p>
  10. <div >
  11. <ul class="index_headerUl">
  12. <li v-for="(item,index) in configList" :key="index">
  13. <img src="../assets/images/icon_list_sj.png" alt="">
  14. <p>{{item.notice_title}}</p>
  15. <span>{{item.create_time}}</span>
  16. </li>
  17. </ul>
  18. <div class="index_haderPagin">
  19. <el-pagination
  20. v-show="total>0"
  21. @size-change="handleSizeChange"
  22. @current-change="handleCurrentChange"
  23. :current-page.sync="currentPage3"
  24. :page-size="pageSize"
  25. layout="prev, pager, next, jumper"
  26. :total="total">
  27. </el-pagination>
  28. <span>共 {{total}} 条 每页显示 6 条 </span>
  29. </div>
  30. </div>
  31. </div>
  32. <!-- 列表 -->
  33. <el-col :sm="24" :lg="24" style="margin-top: 20px;">
  34. <div class="index_heade index_headeNav">
  35. <img src="../assets/images/icon_more.png" alt="" class="index_headerImg">
  36. <p class="index_headetab">
  37. <span :class="[num == index ? ' spanto' : '']" v-for="(item,index) in editableTabs" :key="index" @click="tabSbu(index)">{{item.title}} <p class="tab_i">3</p></span></span>
  38. </p>
  39. <!-- <el-tabs v-model="activeName" @tab-click="handleClick" > -->
  40. <!-- <el-tab-pane name="first">
  41. <span slot="label" class="index_heseviewed"><p class="tab_i">3</p> 我的行程</span> -->
  42. <div v-if="num == 0">
  43. <el-table :data="tableDataalid" style="width: 100%;margin-top: 10px;" :stripe="true" >
  44. <!-- <el-table-column type="selection" width="55" align="center" /> -->
  45. <el-table-column label="序号" align="center" prop="noticeId" width="60" height="53" max-height="53" />
  46. <el-table-column
  47. label="申请人"
  48. align="center"
  49. prop="name"
  50. :show-overflow-tooltip="true"
  51. width="70"
  52. />
  53. <el-table-column
  54. label="部门"
  55. align="center"
  56. prop="name"
  57. width="70"
  58. />
  59. <!-- :formatter="typeFormat" -->
  60. <el-table-column
  61. label="请假类型"
  62. align="center"
  63. prop="status"
  64. width="75"
  65. />
  66. <!-- :formatter="statusFormat" -->
  67. <el-table-column label="请假事由" align="center" prop="createBy" width="100" :show-overflow-tooltip="true"/>
  68. <el-table-column label="请假时间" align="center" prop="date" width="150"/>
  69. <!-- <template slot-scope="scope">
  70. <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
  71. </template> -->
  72. <!-- </el-table-column> -->
  73. <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  74. <template slot-scope="scope">
  75. <el-button
  76. size="small"
  77. type="success"
  78. @click="handleUpdate(scope.row)"
  79. v-hasPermi="['system:notice:edit']"
  80. >详情</el-button>
  81. <el-button
  82. size="small"
  83. type="primary"
  84. @click="handleDelete(scope.row)"
  85. v-hasPermi="['system:notice:remove']"
  86. >同意</el-button>
  87. <el-button
  88. size="small"
  89. type="danger"
  90. @click="handleDelete(scope.row)"
  91. v-hasPermi="['system:notice:remove']"
  92. >驳回</el-button>
  93. </template>
  94. </el-table-column>
  95. </el-table>
  96. <div class="index_haderPagin">
  97. <el-pagination
  98. @size-change="handleSizeChange"
  99. @current-change="handleCurrentChange"
  100. :current-page.sync="currentPage3"
  101. :page-size="pageSize"
  102. layout="prev, pager, next, jumper"
  103. :total="1000">
  104. </el-pagination>
  105. <span>共 85 条 每页显示 5 条 当前 1/17 页</span>
  106. </div>
  107. </div>
  108. </div>
  109. </el-col>
  110. <!-- </el-row> -->
  111. <!-- 公司概况 -->
  112. <el-col :sm="24" :lg="24">
  113. <div class="index_heade index_headeProfile">
  114. <img src="../assets/images/icon_tjbj.png" alt="" class="index_headerImg">
  115. <p class="index_headetab">
  116. <span :class="[numprofile == index ? ' spanto' : '']" v-for="(item,index) in editableTabsteo" :key="index" @click="tabSbuprofile(item.dictValue)">{{item.dictLabel}} </span>
  117. </p>
  118. <!-- <el-tabs v-model="activeName" @tab-click="handleClick">
  119. <el-tab-pane label="用户管理" name="first"> -->
  120. <div >
  121. <h3 style="text-align: center;">{{tieku}}</h3>
  122. <!-- {{getLisprofileone[0].info_title}} -->
  123. <p class="index_profilep" > {{comg}} </p>
  124. <!-- {{getLisprofileone[0].info_content}} -->
  125. <div class="index_haderPagin">
  126. <el-pagination
  127. @size-change="handleSizeChangeprofile"
  128. @current-change="handleCurrentChangeprofile"
  129. :current-page.sync="currentPage3"
  130. :page-size="queryParamstabprofile.pageSize"
  131. layout="prev, pager, next, jumper"
  132. :total="totalprofile">
  133. </el-pagination>
  134. <span>共 {{totalprofile}} 条 每页显示 1条 </span>
  135. </div>
  136. </div>
  137. </div>
  138. </el-col>
  139. </el-col>
  140. <el-col :sm="24" :lg="7" style="padding-left: 15px">
  141. <div class="index_nav">
  142. <div class="index_navTime">
  143. <p class="index_navTimep" @click="handleAdd">
  144. <span>日程</span>
  145. <span><i class="el-icon-date" ></i>创建日程</span>
  146. </p>
  147. <el-calendar id="calendar">
  148. <!-- 这里使用的是 2.5 slot 语法,对于新项目请使用 2.6 slot 语法-->
  149. <template
  150. slot="dateCell"
  151. slot-scope="{date, data}">
  152. <!--自定义内容-->
  153. <div>
  154. <div class="calendar-day" style="text-align: center">
  155. <el-tooltip v-if="brightDate.indexOf(data.day) != -1" class="item" effect="dark" :content="content(data.day)" placement="right">
  156. <span class="everyDay">{{ data.day.split('-').slice(2).join('-') }}</span>
  157. </el-tooltip>
  158. <span v-else>{{ data.day.split('-').slice(2).join('-') }}</span>
  159. <!-- <p :class="data.isSelected ? 'is-selected' : ''">
  160. {{ data.day.split('-').slice(1).join('-') }} {{ data.isSelected ? '✔️' : ''}}
  161. </p> -->
  162. </div>
  163. </div>
  164. </template>
  165. </el-calendar>
  166. <img src="../assets/images/pic_kpbg.png" alt="" class="index_navTimeimg">
  167. </div>
  168. </div>
  169. <!-- 备忘录 -->
  170. <el-col :sm="24" :lg="24" >
  171. <div class="index_nav index_memoranduNnavTime">
  172. <div class="index_navTime ">
  173. <p class="index_navTimep">
  174. <span>备忘录</span>
  175. <span><i class="el-icon-date"></i>创建备忘录</span>
  176. </p>
  177. <ul >
  178. <li v-for="(item,index) in getmemorandum" :key="index">
  179. <p>{{item.memorandum_title}}
  180. </p>
  181. <span>{{item.remind_time}}</span>
  182. </li>
  183. </ul>
  184. <img src="../assets/images/icon_more.png" alt="">
  185. <!-- <el-calendar v-model="value">
  186. </el-calendar> -->
  187. <img src="../assets/images/pic_kpbg.png" alt="" class="index_navTimeimg">
  188. </div>
  189. </div>
  190. </el-col >
  191. <!-- 通讯录 -->
  192. <el-col :sm="24" :lg="24">
  193. <div class="index_nav index_memoranduMail">
  194. <div class="index_navTime ">
  195. <p class="index_navTimep">
  196. <span>通讯录</span>
  197. <img src="../assets/images/icon_more.png" alt="" class="index_navTimeimgtwo">
  198. <!-- <span><i class="el-icon-date"></i>创建日程</span> -->
  199. </p>
  200. <div class="index_memoranduMailnav">
  201. <div class="tab_tol">
  202. <tr class="tr_one">
  203. <th style=" text-align: center;" v-for="(item,index) in tableDataalid" :key="index">{{item.columnComment}}</th>
  204. </tr>
  205. <tr v-for="(item,index) in getLisaillie" :key="index" :class=" [index%2 ==0 ? 'two_tr two_trtwo':'two_tr']" @click="chakn(item)">
  206. <td style=" text-align: center;" >{{ item.contacts_name }}</td>
  207. <td style="text-align: center;">{{ item.dept_id }}</td>
  208. <td style=" text-align: center;" >{{ item.phone }}</td>
  209. <td style=" text-align: center;" >{{ item.is_del == 1? '删除' : '未删除'}}</td>
  210. <td style="text-align: center; " >{{ item.remark}}</td>
  211. </tr>
  212. </div>
  213. <div class="index_haderPagin index_haderPaginfoiu">
  214. <el-pagination
  215. @size-change="handleSizeChangeali"
  216. @current-change="handleCurrentChangeali"
  217. :current-page.sync="currentPage3"
  218. :page-size="queryParamsail.pageSize"
  219. :small= "true"
  220. layout="prev, pager, next, jumper"
  221. :total="totalali">
  222. </el-pagination>
  223. </div>
  224. </div>
  225. <img src="../assets/images/pic_kpbg.png" alt="" class="index_navTimeimg">
  226. </div>
  227. </div>
  228. </el-col>
  229. </el-col>
  230. </el-row>
  231. <!-- <el-divider /> -->
  232. <!-- 添加或修改公告对话框 -->
  233. <el-dialog :title="title" :visible.sync="open" width="980px" append-to-body>
  234. <el-form ref="form" :model="form" :rules="rules" label-width="160px">
  235. <el-row>
  236. <el-col :span="24" >
  237. <dynamic-forms :config="form" @inputs = "changeFn" :formConfig="item" v-for="(item,index) in form.columns" :key='index' />
  238. </el-col>
  239. </el-row>
  240. </el-form>
  241. <div slot="footer" class="dialog-footer">
  242. <el-button type="primary" @click="submitForm">确 定</el-button>
  243. <el-button @click="cancel">取 消</el-button>
  244. </div>
  245. </el-dialog>
  246. </div>
  247. </template>
  248. <script>
  249. import { listIndex, listIndextwo, listIndextherr, listIndexfou, listIndextanl, getConfig, delConfig, addConfig, updateConfig, clearCache } from "@/api/system/config";
  250. import Editor from '@/components/Editor';
  251. export default {
  252. name: "index",
  253. components: {
  254. Editor
  255. },
  256. data() {
  257. return {
  258. // 版本号
  259. version: "2.5.0",
  260. currentPage3: 1,
  261. total:0,
  262. totalprofile:0,
  263. totalali:0,
  264. pageSize:6,
  265. activeName: 'second',
  266. // 是否显示弹出层
  267. open: false,
  268. // 弹出层标题
  269. title: "",
  270. value: new Date(),
  271. editableTabs: [],
  272. editableTabsteo:[],
  273. configList:[],
  274. queryParams:{
  275. table:'sys_notice',
  276. orderBy:'create_time desc',
  277. pageNo:1,
  278. pageSize:6,
  279. condition:{
  280. notice_type:1
  281. }
  282. },
  283. queryParamstab:{
  284. table:'sys_notice',
  285. orderBy:'create_time desc',
  286. pageNo:1,
  287. pageSize:6,
  288. condition:{
  289. notice_type:1
  290. }
  291. },
  292. // 公司概况
  293. queryParamstabprofile:{
  294. table:'sys_info',
  295. orderBy:'create_time desc',
  296. pageNo:1,
  297. pageSize:1,
  298. condition:{
  299. notice_type:1
  300. }
  301. },
  302. // 日历
  303. queryParamscalendar:{
  304. table:'sys_schedule',
  305. orderBy:'create_time desc',
  306. pageNo:1,
  307. pageSize:10,
  308. },
  309. // 备忘录
  310. queryParamstabmemorandum:{
  311. table:'sys_memorandum',
  312. orderBy:'create_time desc',
  313. pageNo:1,
  314. pageSize:6,
  315. },
  316. // 通讯录
  317. queryParamsail:{
  318. table:'sys_contacts',
  319. orderBy:'create_time desc',
  320. pageNo:1,
  321. pageSize:6,
  322. },
  323. num:0,
  324. numprofile:0,
  325. dictType:'sys_notice_type',
  326. // 公司概况
  327. dictTypetwo:'sys_describe_type',
  328. gettabList:[],
  329. getLisprofileone:[],
  330. // 备忘录
  331. getmemorandum:[],
  332. //通讯录参数
  333. aliemg:{
  334. table:'sys_memorandum'
  335. },
  336. tableDataalid:[],
  337. getLisaillie:[],
  338. alendarList:[],
  339. calendarData: [
  340. ],
  341. ary:[],
  342. tieku:'',
  343. comg:'',
  344. aekti:'',
  345. // 弹框数据
  346. form:{
  347. },
  348. // 表单校验
  349. rules: {
  350. },
  351. //日历弹框
  352. calendaradd:{
  353. table:'sys_schedule'
  354. },
  355. // input
  356. inputList:[],
  357. // 时间
  358. dataList:[],
  359. //单选框
  360. radiolist:[],
  361. // 复选框
  362. chekbosList:[],
  363. //下拉框
  364. selectList:[],
  365. editorList:[]
  366. };
  367. },
  368. created() {
  369. this.getLisalendar()//日历
  370. this.getList()
  371. this.getListtab()
  372. this.getLiser()
  373. this.getLisprofile()
  374. this.getLismemorandum() //备忘录
  375. this.getLisail()//通讯录
  376. this.getLisailtwo()
  377. },
  378. computed: {
  379. // 时间高亮的数组
  380. brightDate () {
  381. // let ary = []
  382. var that = this
  383. console.log(that.calendarData)
  384. for (var i = 0 ; i < that.calendarData.length; i++) {
  385. // that.ary.push(that.calendarData[i].startDate)
  386. // that.ary.push(that.calendarData[i].begin_time.slice(0,10))
  387. that.ary = that.calendarData[i].all_date
  388. console.log(that.calendarData[i].begin_time)
  389. }
  390. console.log(that.ary)
  391. return that.ary
  392. }
  393. },
  394. methods: {
  395. // Tooltip 文字提示
  396. content (date) {
  397. console.log(date,37645)
  398. let content = ''
  399. // console.log(data,37645)
  400. for (var i = 0 ; i < this.calendarData.length; i++) {
  401. // this.calendarData[i].begin_time = this.calendarData[i].begin_time.slice(0,10)
  402. console.log(this.calendarData[i].begin_time,123)
  403. // if (date === this.calendarData[i].begin_time) {
  404. content = this.calendarData[i].remind_type
  405. // }
  406. }
  407. console.log(content)
  408. return content
  409. },
  410. //数据 第一部分列表
  411. getList() {
  412. this.loading = true;
  413. listIndex(this.queryParams).then(response => {
  414. this.configList = response.data.rows;
  415. console.log(this.configList)
  416. this.total = response.data.total;
  417. this.loading = false;
  418. }
  419. );
  420. },
  421. //数据 第二部分列表
  422. getListtabone() {
  423. this.loading = true;
  424. listIndex(this.queryParams).then(response => {
  425. this.configList = response.data.rows;
  426. console.log(this.configList)
  427. this.total = response.data.total;
  428. this.loading = false;
  429. }
  430. );
  431. },
  432. //数据 第三部分列表
  433. getLisprofile() {
  434. this.loading = true;
  435. listIndex(this.queryParamstabprofile).then(response => {
  436. if(response.data !== undefined){
  437. this.getLisprofileone = response.data.rows;
  438. this.tieku = this.getLisprofileone[0].info_title
  439. this.comg = this.getLisprofileone[0].info_content
  440. console.log(this.getLisprofileone[0].info_title,98)
  441. this.totalprofile = response.data.total;
  442. }
  443. this.loading = false;
  444. }
  445. );
  446. },
  447. //数据 日历数据列表
  448. getLisalendar() {
  449. this.loading = true;
  450. listIndex(this.queryParamscalendar).then(response => {
  451. if(response.data !== undefined){
  452. this.calendarData = response.data.rows;
  453. console.log(this.calendarData,9845765)
  454. }
  455. this.loading = false;
  456. }
  457. );
  458. },
  459. //数据 备忘录数据列表
  460. getLismemorandum() {
  461. this.loading = true;
  462. listIndex(this.queryParamstabmemorandum).then(response => {
  463. if(response.data !== undefined){
  464. this.getmemorandum = response.data.rows;
  465. console.log(this.getmemorandum,98765)
  466. }
  467. this.loading = false;
  468. }
  469. );
  470. },
  471. // 数据列表 通讯录数据
  472. getLisailtwo() {
  473. this.loading = true;
  474. listIndex(this.queryParamsail).then(response => {
  475. if(response.data !== undefined){
  476. this.getLisaillie = response.data.rows;
  477. // console.log(this.configList)
  478. }
  479. this.totalali = response.data.total
  480. this.loading = false;
  481. }
  482. );
  483. },
  484. //tab 公告 栏数据
  485. getListtab() {
  486. this.loading = true;
  487. listIndextwo(this.dictType).then(response => {
  488. this.editableTabs = response.data;
  489. this.queryParams.dictType = response.data[1].dictType
  490. console.log(this.editableTabs)
  491. // this.total = response.total;
  492. this.loading = false;
  493. }
  494. )
  495. },
  496. // 公司概况 tab
  497. getLiser() {
  498. this.loading = true;
  499. listIndextherr(this.dictTypetwo).then(response => {
  500. this.editableTabsteo = response.data;
  501. console.log(this.editableTabsteo)
  502. // this.total = response.total;
  503. this.loading = false;
  504. }
  505. )
  506. },
  507. // 通讯录表头
  508. getLisail() {
  509. this.loading = true;
  510. listIndexfou(this.aliemg).then(response => {
  511. if(response.data !== undefined){
  512. this.tableDataalid = response.data.tableHeadList;
  513. console.log(this.tableDataalid,67)
  514. this.totalprofile = response.data.total;
  515. }
  516. this.loading = false;
  517. }
  518. );
  519. },
  520. //日历新增弹框数据
  521. getLisalendaraddd() {
  522. this.loading = true;
  523. listIndextanl(this.calendaradd).then(response => {
  524. if(response.data !== undefined){
  525. this.form = response.data
  526. this.form.columns.filter(route => {
  527. // console.log(route)
  528. if(route.htmlType == "input" || route.htmlType == 'textarea'){
  529. this.inputList.push(route)
  530. }else if(route.htmlType == "select"){
  531. this.selectList.push(route)
  532. }else if(route.htmlType == "datetime"){
  533. this.dataList.push(route)
  534. }else if(route.htmlType == "editor"){
  535. this.editorList.push(route)
  536. }
  537. })
  538. console.log(this.selectList)
  539. }
  540. this.loading = false;
  541. }
  542. );
  543. },
  544. goTarget(href) {
  545. window.open(href, "_blank");
  546. },
  547. handleSizeChange(val) {
  548. console.log(`每页 ${val} 条`);
  549. },
  550. handleCurrentChange(val) {
  551. this.queryParams.pageNo = val
  552. this.getList()
  553. console.log(`当前页: ${val}`);
  554. },
  555. // 公司概况
  556. handleSizeChangeprofile(val) {
  557. console.log(`每页 ${val} 条`);
  558. },
  559. handleCurrentChangeprofile(val) {
  560. this.queryParamstabprofile.pageNo = val
  561. this.getLisprofile()
  562. console.log(`当前页: ${val}`);
  563. },
  564. // 通讯录
  565. handleSizeChangeali(val) {
  566. console.log(`每页 ${val} 条`);
  567. },
  568. handleCurrentChangeali(val) {
  569. this.queryParamsail.pageNo = val
  570. this.getLisailtwo()
  571. console.log(`当前页: ${val}`);
  572. },
  573. handleClick(tab, event) {
  574. console.log(tab, event);
  575. },
  576. // 第一部分tab点击
  577. tabSbu(index){
  578. console.log(index)
  579. this.num = index - 1
  580. this.queryParams.condition.notice_type = index
  581. this.getList()
  582. },
  583. // 第三部分tab点击
  584. tabSbuprofile(index){
  585. this.numprofile = index - 1
  586. this.queryParamstabprofile.condition.notice_type = index
  587. this.getLisprofile()
  588. },
  589. // 表单重置
  590. reset() {
  591. this.form = {
  592. };
  593. this.resetForm("form");
  594. },
  595. // 取消按钮
  596. cancel() {
  597. this.open = false;
  598. this.reset();
  599. },
  600. /** 新增按钮操作 */
  601. handleAdd() {
  602. console.log(this.open)
  603. this.reset();
  604. this.getLisalendaraddd()
  605. this.open = true;
  606. this.title = "添加日程";
  607. },
  608. /** 提交按钮 */
  609. submitForm: function() {
  610. console.log(this.form)
  611. // this.$refs["form"].validate(valid => {
  612. // if (valid) {
  613. // if (this.form.id != undefined) {
  614. // updateNotice(this.form).then(response => {
  615. // this.msgSuccess("修改成功");
  616. // this.open = false;
  617. // this.getList();
  618. // });
  619. // } else {
  620. // addNotice(this.form).then(response => {
  621. // this.msgSuccess("新增成功");
  622. // this.open = false;
  623. // this.getList();
  624. // });
  625. // }
  626. // }
  627. // });
  628. },
  629. // 弹框
  630. changeFn(obj) {
  631. for(let key in obj){
  632. this.form[key] = obj[key]
  633. }
  634. },
  635. },
  636. };
  637. </script>
  638. <style lang="scss">
  639. .home{
  640. .el-tabs__header{
  641. margin-bottom: 5px !important;
  642. }
  643. .el-calendar-table tr td:first-child{
  644. border: 0 !important;
  645. }
  646. .el-calendar-table tr:first-child td{
  647. border: 0 !important;
  648. }
  649. .el-calendar-table td{
  650. border: 0 !important;
  651. }
  652. .el-calendar-table .el-calendar-day{
  653. height: 30px;
  654. text-align: center;
  655. line-height: 30px;
  656. border-radius: 30px;
  657. padding: 0;
  658. // background-color: #0B18E8;
  659. }
  660. .el-calendar-table td.is-selected{
  661. // background-color: #0B18E8;
  662. border-radius: 30px;
  663. }
  664. .el-calendar__header{
  665. border: 0;
  666. padding: 0 20px;
  667. }
  668. .el-calendar__body{
  669. padding-top: 0;
  670. padding-bottom: 0;
  671. }
  672. .el-pagination{
  673. padding-left: 0;
  674. }
  675. .index_headeNav{
  676. .el-tabs__item{
  677. position: relative;
  678. }
  679. }
  680. .el-table th.is-leaf, .el-table td{
  681. border: 0 !important;
  682. }
  683. .el-calendar__title{
  684. font-size: 12px;
  685. }
  686. .el-table td{
  687. padding: 6px 0;
  688. }
  689. .index_haderPaginfoiu{
  690. .el-pagination__jump{
  691. display: block !important;
  692. text-align: center;
  693. margin-left: 0;
  694. }
  695. }
  696. .everyDay {
  697. display: inline-block;
  698. width: 20px;
  699. height: 20px;
  700. line-height: 20px;
  701. background-color: #409eff;
  702. color: #fff;
  703. border-radius: 50%;
  704. margin-top: 5px;
  705. }
  706. }
  707. </style>
  708. <style scoped lang="scss">
  709. .home {
  710. // tab
  711. .index_headetab{
  712. display: flex;
  713. border-bottom: 1px solid #E5E5E5;
  714. height: 53px;
  715. padding-top: 10px;
  716. padding-bottom: 10px;
  717. span{
  718. width: 70px;
  719. text-align: center;
  720. line-height: 43px;
  721. height: 43px;
  722. font-size: 15px;
  723. font-family: PingFang SC;
  724. font-weight: bold;
  725. color: #666;
  726. position: relative;
  727. // flex: 1;
  728. // border-bottom: ;
  729. }
  730. .span{
  731. content: '';
  732. display: block;
  733. width: 18px;
  734. height: 8px;
  735. border-radius: 3px;
  736. background-color: #3C8DBC;
  737. color: #3C8DBC !important;
  738. // position: absolute;
  739. // border-bottom: ;
  740. }
  741. .spanto{
  742. color:#3C8DBC ;
  743. border-bottom: 3px solid #3C8DBC;
  744. }
  745. }
  746. p{
  747. margin: 0;
  748. }
  749. ul{
  750. margin: 0;
  751. padding: 0;
  752. }
  753. background-color: #eef0ff;
  754. blockquote {
  755. padding: 10px 20px;
  756. margin: 0 0 20px;
  757. font-size: 17.5px;
  758. border-left: 5px solid #eee;
  759. }
  760. .index_heade{
  761. // border: 1px solid #eee;
  762. // width: 100%;
  763. padding: 0 20px;
  764. height: 386px;
  765. background-color: #fff;
  766. position: relative;
  767. border-radius: 6px;
  768. .index_headerImg{
  769. width: 23px;
  770. height: 6px;
  771. position: absolute;
  772. right: 20px;
  773. top:25px;
  774. }
  775. .index_headerUl{
  776. width: 100%;
  777. padding: 0;
  778. margin: 0;
  779. li{
  780. margin: 0;
  781. display: flex;
  782. justify-content: space-between;
  783. align-items: center;
  784. height: 43px;
  785. img{
  786. width: 11px;
  787. height: 13px;
  788. }
  789. p{
  790. font-size: 14px;
  791. font-family: PingFang SC;
  792. font-weight: 400;
  793. color: #343434;
  794. line-height: 36px;
  795. margin: 0;
  796. text-align: left;
  797. flex: 1;
  798. padding: 0 18px;
  799. }
  800. span{
  801. font-size: 14px;
  802. font-family: PingFang SC;
  803. font-weight: 400;
  804. color: #343434;
  805. line-height: 36px;
  806. }
  807. }
  808. }
  809. .index_haderPagin{
  810. display: flex;
  811. justify-content: space-between;
  812. align-items: center;
  813. margin-top: 30px;
  814. span{
  815. flex: 1;
  816. font-size: 12px;
  817. font-family: PingFang SC;
  818. font-weight: 400;
  819. color: #343434;
  820. text-align: right;
  821. // line-height: 36px;
  822. }
  823. }
  824. }
  825. //表格样式
  826. .index_headeNav{
  827. padding: 0 20px;
  828. height: 550px;
  829. background-color: #fff;
  830. position: relative;
  831. border-radius: 6px;
  832. .tab_i{
  833. position: absolute;
  834. right: 1px;
  835. top:5px;
  836. border-radius: 50%;
  837. // display: block;
  838. width: 15px ;
  839. height: 15px;
  840. line-height: 15px;
  841. text-align: center;
  842. color: #fff;
  843. background-color: red;
  844. overflow:hidden; //超出的文本隐藏
  845. text-overflow:ellipsis; //溢出用省略号显示
  846. white-space:nowrap; //溢出不换行
  847. font-size: 11px;
  848. font-family: PingFang SC;
  849. font-weight: bold;
  850. }
  851. }
  852. .index_nav{
  853. // border: 1px solid #eee;
  854. background-color: #fff;
  855. height: 315px;
  856. box-shadow: 0px 4px 4px 0px rgba(130, 150, 162, 0.64);
  857. border-radius: 6px;
  858. .index_navTime{
  859. height: 270px;
  860. position: relative;
  861. }
  862. .index_navTimeimg{
  863. height: 47px;
  864. width: 100%;
  865. position: absolute;
  866. bottom: -76px;
  867. left: 0;
  868. }
  869. .index_navTimep{
  870. padding: 10px 0;
  871. margin: 0 20px;
  872. margin-bottom: 10px;
  873. border-bottom: 1px solid #E5E5E5;
  874. display: flex;
  875. justify-content: space-between;
  876. align-items: center;
  877. span:nth-child(1){
  878. font-size: 15px;
  879. font-family: PingFang SC;
  880. font-weight: bold;
  881. color: #3C8DBC;
  882. }
  883. span:nth-child(1)::before{
  884. content: "";
  885. display: block;
  886. width: 18px;
  887. height: 8px;
  888. background: #3C8DBC;
  889. border-radius: 3px;
  890. }
  891. span:nth-child(2){
  892. font-size: 12px;
  893. font-family: PingFang SC;
  894. font-weight: 400;
  895. color: #3C8DBC;
  896. }
  897. }
  898. }
  899. // 公司概况样式
  900. .index_headeProfile{
  901. margin-top: 20px;
  902. margin-bottom: 20px;
  903. height: 316px;
  904. .index_profilep{
  905. font-size: 12px;
  906. font-family: PingFang SC;
  907. font-weight: bold;
  908. color: #343434;
  909. line-height: 27px;
  910. }
  911. .index_haderPagin{
  912. margin-top: 25px;
  913. }
  914. .index_headerImg{
  915. width: 21px;
  916. height: 21px;
  917. top:9px;
  918. }
  919. }
  920. // 备忘录样式
  921. .index_memoranduNnavTime{
  922. height: 335px;
  923. margin-top: 90px;
  924. position: relative;
  925. .index_navTimep{
  926. padding: 20px 0;
  927. // margin-bottom: 20px;
  928. }
  929. .index_navTimeimg{
  930. height: 47px;
  931. width: 100%;
  932. position: absolute;
  933. bottom: -76px;
  934. left: 0;
  935. bottom: -96px;
  936. }
  937. img{
  938. width: 23px;
  939. height: 6px;
  940. position: absolute;
  941. right: 20px;
  942. bottom: -50px;
  943. }
  944. ul{
  945. padding: 0 20px;
  946. li{
  947. display: flex;
  948. justify-content: space-between;
  949. align-items: center;
  950. border-bottom: 1px dashed #E5E5E5;
  951. p{
  952. font-size: 12px;
  953. font-family: PingFang SC;
  954. font-weight: 400;
  955. color: #343434;
  956. line-height: 36px;
  957. flex: 1;
  958. }
  959. span{
  960. font-size: 12px;
  961. font-family: PingFang SC;
  962. font-weight: 400;
  963. color: #343434;
  964. line-height: 36px;
  965. }
  966. }
  967. }
  968. }
  969. //通讯录样式
  970. .index_memoranduMail{
  971. height: 363px;
  972. margin-top: 100px;
  973. .index_navTimeimgtwo{
  974. width: 23px;
  975. height: 6px;
  976. }
  977. .index_navTimep{
  978. padding: 20px 0;
  979. }
  980. .index_memoranduMailnav{
  981. padding: 0 20px;
  982. }
  983. .index_navTimeimg{
  984. height: 47px;
  985. width: 100%;
  986. position: absolute;
  987. bottom: -76px;
  988. left: 0;
  989. bottom: -126px;
  990. }
  991. .index_haderPagin{
  992. margin-top: 10px;
  993. }
  994. }
  995. }
  996. // table
  997. .tab_tol{
  998. // display: flex;
  999. .tr_one{
  1000. display: flex;
  1001. justify-content: space-around;
  1002. width: 100%;
  1003. th{
  1004. flex: 1;
  1005. font-size: 12px;
  1006. font-family: PingFang SC;
  1007. font-weight: bold;
  1008. color: #343434;
  1009. line-height: 36px;
  1010. overflow: hidden;
  1011. text-overflow:ellipsis;
  1012. white-space: nowrap;
  1013. }
  1014. }
  1015. .two_tr{
  1016. display: flex;
  1017. justify-content: space-around;
  1018. font-size: 12px;
  1019. font-family: PingFang SC;
  1020. font-weight: bold;
  1021. color: #343434;
  1022. line-height: 36px;
  1023. td{
  1024. flex: 1;
  1025. overflow: hidden;
  1026. text-overflow:ellipsis;
  1027. white-space: nowrap;
  1028. }
  1029. }
  1030. .two_trtwo{
  1031. background-color: #F2F2F2;
  1032. }
  1033. }
  1034. </style>