index.vue 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600
  1. <template>
  2. <div class="app-container">
  3. <!-- <div class="box-lfet"> -->
  4. <!-- <div class="data">
  5. <p>单位</p>
  6. <div class="a1"></div>
  7. <el-date-picker
  8. v-model="time"
  9. type="date"
  10. :editable="false"
  11. placeholder="选择日期"
  12. value-format="yyyy-MM-dd"
  13. @change="shiJian"
  14. >
  15. </el-date-picker>
  16. </div> -->
  17. <el-row :gutter="20">
  18. <el-col :span="4" :xs="24">
  19. <div class="dadui">
  20. <img src="../../../images/星星.png" alt />
  21. 大队
  22. </div>
  23. <div class="tree">
  24. <el-tree
  25. class="userAgrees"
  26. style="height: calc(100vh - 170px); overflow: auto"
  27. :data="deptOptions"
  28. :props="defaultProps"
  29. @node-click="handleNodeClick"
  30. default-expand-all
  31. highlight-current
  32. :expand-on-click-node="false"
  33. ></el-tree>
  34. </div>
  35. </el-col>
  36. <!-- <div class="dadui">
  37. <img src="../../../images/星星.png" alt="" />
  38. 大队
  39. </div>
  40. <div class="tree">
  41. <el-tree
  42. class="userAgrees"
  43. style="height: 700px; overflow: auto"
  44. :data="deptOptions"
  45. :props="defaultProps"
  46. @node-click="handleNodeClick"
  47. default-expand-all
  48. highlight-current
  49. :expand-on-click-node="false"
  50. ></el-tree>
  51. </div> -->
  52. <!-- </div> -->
  53. <!-- <div class="box-right"> -->
  54. <!-- <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  55. <el-form-item prop="creatTime">
  56. <el-date-picker clearable size="small"
  57. v-model="queryParams.creatTime"
  58. type="date"
  59. value-format="yyyy-MM-dd"
  60. placeholder="选择创建时间">
  61. </el-date-picker>
  62. </el-form-item>
  63. <el-form-item prop="creatName">
  64. <el-input
  65. v-model="queryParams.creatName"
  66. placeholder="请输入创建人姓名"
  67. clearable
  68. size="small"
  69. @keyup.enter.native="handleQuery"
  70. />
  71. </el-form-item> -->
  72. <!-- <el-form-item label="创建人id" prop="creatId">
  73. <el-input
  74. v-model="queryParams.creatId"
  75. placeholder="请输入创建人id"
  76. clearable
  77. size="small"
  78. @keyup.enter.native="handleQuery"
  79. />
  80. </el-form-item> -->
  81. <!-- <el-form-item prop="unitName">
  82. <el-input
  83. v-model="queryParams.unitName"
  84. placeholder="请输入单位名称"
  85. clearable
  86. size="small"
  87. @keyup.enter.native="handleQuery"
  88. />
  89. </el-form-item> -->
  90. <!-- <el-form-item label="单位id" prop="unitId">
  91. <el-input
  92. v-model="queryParams.unitId"
  93. placeholder="请输入单位id"
  94. clearable
  95. size="small"
  96. @keyup.enter.native="handleQuery"
  97. />
  98. </el-form-item> -->
  99. <!-- <el-form-item prop="dutyLeader">
  100. <el-input
  101. v-model="queryParams.dutyLeader"
  102. placeholder="请输入值班领导"
  103. clearable
  104. size="small"
  105. @keyup.enter.native="handleQuery"
  106. />
  107. </el-form-item> -->
  108. <!-- <el-form-item label="值班领导id" prop="dutyLeaderId">
  109. <el-input
  110. v-model="queryParams.dutyLeaderId"
  111. placeholder="请输入值班领导id"
  112. clearable
  113. size="small"
  114. @keyup.enter.native="handleQuery"
  115. />
  116. </el-form-item> -->
  117. <!-- <el-form-item prop="phone">
  118. <el-input
  119. v-model="queryParams.phone"
  120. placeholder="请输入电话"
  121. clearable
  122. size="small"
  123. @keyup.enter.native="handleQuery"
  124. />
  125. </el-form-item>
  126. <el-form-item prop="militaryOfficer">
  127. <el-input
  128. v-model="queryParams.militaryOfficer"
  129. placeholder="请输入军事长官 "
  130. clearable
  131. size="small"
  132. @keyup.enter.native="handleQuery"
  133. />
  134. </el-form-item> -->
  135. <!-- <el-form-item label="军事长官id" prop="militaryOfficerId">
  136. <el-input
  137. v-model="queryParams.militaryOfficerId"
  138. placeholder="请输入军事长官id"
  139. clearable
  140. size="small"
  141. @keyup.enter.native="handleQuery"
  142. />
  143. </el-form-item> -->
  144. <!-- <el-form-item prop="politicalOfficer">
  145. <el-input
  146. v-model="queryParams.politicalOfficer"
  147. placeholder="请输入政治长官"
  148. clearable
  149. size="small"
  150. @keyup.enter.native="handleQuery"
  151. />
  152. </el-form-item> -->
  153. <!-- <el-form-item label="政治长官id" prop="politicalOfficerId">
  154. <el-input
  155. v-model="queryParams.politicalOfficerId"
  156. placeholder="请输入政治长官id"
  157. clearable
  158. size="small"
  159. @keyup.enter.native="handleQuery"
  160. />
  161. </el-form-item> -->
  162. <!-- <el-form-item prop="jobTitle">
  163. <el-input
  164. v-model="queryParams.jobTitle"
  165. placeholder="请输入工作标题"
  166. clearable
  167. size="small"
  168. @keyup.enter.native="handleQuery"
  169. />
  170. </el-form-item> -->
  171. <!-- <el-form-item label="开始时间" prop="startTime">
  172. <el-date-picker clearable size="small"
  173. v-model="queryParams.startTime"
  174. type="date"
  175. value-format="yyyy-MM-dd"
  176. placeholder="选择开始时间">
  177. </el-date-picker>
  178. </el-form-item>
  179. <el-form-item label="结束时间" prop="endTime">
  180. <el-date-picker clearable size="small"
  181. v-model="queryParams.endTime"
  182. type="date"
  183. value-format="yyyy-MM-dd"
  184. placeholder="选择结束时间">
  185. </el-date-picker>
  186. </el-form-item> -->
  187. <!-- <el-form-item> -->
  188. <!-- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> -->
  189. <!-- <el-button icon="el-icon-refresh" size="btr" @click="resetQuery">重置</el-button>
  190. </el-form-item>
  191. </el-form> -->
  192. <!-- <el-row :gutter="10" class="mb8"> -->
  193. <el-col :span="1.5" class="mb8">
  194. <el-button
  195. type="primary"
  196. plain
  197. icon="el-icon-plus"
  198. size="mini"
  199. @click="handleAdd"
  200. v-hasPermi="['thought:weekjob:add']"
  201. >新增</el-button
  202. >
  203. </el-col>
  204. <el-col :span="1.5">
  205. <el-button
  206. type="success"
  207. plain
  208. icon="el-icon-edit"
  209. size="mini"
  210. :disabled="single"
  211. @click="handleUpdate"
  212. v-hasPermi="['thought:weekjob:edit']"
  213. >修改</el-button
  214. >
  215. </el-col>
  216. <el-col :span="1.5">
  217. <el-button
  218. type="danger"
  219. plain
  220. icon="el-icon-delete"
  221. size="mini"
  222. :disabled="multiple"
  223. @click="handleDelete"
  224. v-hasPermi="['thought:weekjob:remove']"
  225. >删除</el-button
  226. >
  227. </el-col>
  228. <el-col :span="1.5">
  229. <!-- <el-button
  230. type="warning"
  231. plain
  232. icon="el-icon-download"
  233. size="mini"
  234. :loading="exportLoading"
  235. @click="handleExport"
  236. v-hasPermi="['thought:weekjob:export']"
  237. >导出</el-button
  238. > -->
  239. </el-col>
  240. <right-toolbar
  241. :showSearch.sync="showSearch"
  242. @queryTable="getList"
  243. ></right-toolbar>
  244. <!-- </el-row> -->
  245. <el-col :span="20" :xs="24">
  246. <el-table
  247. v-loading="loading"
  248. :data="weekjobList"
  249. @selection-change="handleSelectionChange"
  250. >
  251. <el-table-column type="selection" width="55" align="center" />
  252. <!-- <el-table-column label="主键id" align="center" prop="id" /> -->
  253. <el-table-column
  254. label="序号"
  255. type="index"
  256. width="50"
  257. align="center"
  258. />
  259. <el-table-column
  260. label="单位名称"
  261. align="center"
  262. prop="unitName"
  263. show-overflow-tooltip
  264. :formatter="unit2Format"
  265. />
  266. <el-table-column
  267. label="工作标题"
  268. align="center"
  269. prop="jobTitle"
  270. show-overflow-tooltip
  271. />
  272. <el-table-column
  273. label="开始时间"
  274. align="center"
  275. prop="startTime"
  276. width="100"
  277. >
  278. <template slot-scope="scope">
  279. <span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
  280. </template>
  281. </el-table-column>
  282. <el-table-column
  283. label="结束时间"
  284. align="center"
  285. prop="endTime"
  286. width="100"
  287. >
  288. <template slot-scope="scope">
  289. <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
  290. </template>
  291. </el-table-column>
  292. <el-table-column
  293. label="连值班领导"
  294. align="center"
  295. prop="dutyLeader"
  296. show-overflow-tooltip
  297. />
  298. <el-table-column
  299. label="电话"
  300. align="center"
  301. prop="phone"
  302. show-overflow-tooltip
  303. />
  304. <el-table-column
  305. label="军事长官 "
  306. align="center"
  307. prop="militaryOfficer"
  308. show-overflow-tooltip
  309. />
  310. <!-- <el-table-column label="军事长官id" align="center" prop="militaryOfficerId" /> -->
  311. <el-table-column
  312. label="政治长官"
  313. align="center"
  314. prop="politicalOfficer"
  315. show-overflow-tooltip
  316. />
  317. <el-table-column
  318. label="操作"
  319. align="center"
  320. class-name="small-padding fixed-width"
  321. width="200px"
  322. >
  323. <template slot-scope="scope">
  324. <el-button
  325. size="btk"
  326. type="text"
  327. @click="handlelook(scope.row)"
  328. v-hasPermi="['thought:weekjob:edit']"
  329. >查看</el-button
  330. >
  331. <el-button
  332. size="btu"
  333. type="text"
  334. @click="handleUpdate(scope.row)"
  335. v-hasPermi="['thought:weekjob:edit']"
  336. >修改</el-button
  337. >
  338. <el-button
  339. size="btd"
  340. type="text"
  341. @click="handleDelete(scope.row)"
  342. v-hasPermi="['thought:weekjob:remove']"
  343. >删除</el-button
  344. >
  345. </template>
  346. </el-table-column>
  347. </el-table>
  348. <pagination
  349. v-show="total > 0"
  350. :total="total"
  351. :page.sync="queryParams.pageNum"
  352. :limit.sync="queryParams.pageSize"
  353. @pagination="getList"
  354. />
  355. </el-col>
  356. </el-row>
  357. <!-- 添加或修改周工作对话框 -->
  358. <el-dialog
  359. :title="title"
  360. :visible.sync="open"
  361. width="1100px"
  362. append-to-body
  363. :close-on-click-modal="false"
  364. >
  365. <div class="userAgree">
  366. <el-form
  367. ref="form"
  368. :model="form"
  369. :rules="rules"
  370. label-width="100px"
  371. :inline="true"
  372. >
  373. <div class="jiben">基本信息</div>
  374. <el-form-item label="单位" prop="unitId">
  375. <!-- <el-input v-model="form.unitName" placeholder="请输入单位名称" /> -->
  376. <treeselect
  377. v-model="form.unitId"
  378. :options="users"
  379. placeholder="请选择单位"
  380. class="threeselects"
  381. @select="selectPeo"
  382. >
  383. </treeselect>
  384. <!-- </el-form-item> -->
  385. </el-form-item>
  386. <el-form-item label="连值班领导" prop="dutyLeader">
  387. <!-- <el-input v-model="form.dutyLeader" placeholder="请输入值班领导" /> -->
  388. <el-select
  389. filterable
  390. v-model="form.dutyLeader"
  391. placeholder="请选择连值班领导"
  392. ref="peoplenames"
  393. >
  394. <el-option
  395. v-for="item in executor"
  396. :key="item.id"
  397. :label="item.name"
  398. :value="item.name"
  399. @click.native="peopleIds(item)"
  400. />
  401. </el-select>
  402. </el-form-item>
  403. <el-form-item label="电话" prop="phone">
  404. <el-input v-model="form.phone" placeholder="请输入电话" />
  405. </el-form-item>
  406. <el-form-item label="军事长官 " prop="militaryOfficer">
  407. <!-- <el-input
  408. v-model="form.militaryOfficer"
  409. placeholder="请输入军事长官 "
  410. /> -->
  411. <el-select
  412. filterable
  413. v-model="form.militaryOfficer"
  414. ref="militaryOfficer"
  415. placeholder="请选择军事长官"
  416. >
  417. <el-option
  418. v-for="item in junshiexecutor"
  419. :key="item.id"
  420. :label="item.name"
  421. :value="item.name"
  422. @click.native="zuzhiPeople(item.id)"
  423. />
  424. </el-select>
  425. </el-form-item>
  426. <el-form-item label="政治长官" prop="politicalOfficer">
  427. <!-- <el-input
  428. v-model="form.politicalOfficer"
  429. placeholder="请输入政治长官"
  430. /> -->
  431. <el-select
  432. filterable
  433. v-model="form.politicalOfficer"
  434. ref="militaryOfficer"
  435. placeholder="请选择政治长官"
  436. >
  437. <el-option
  438. v-for="item in zhengzhiexecutor"
  439. :key="item.id"
  440. :label="item.name"
  441. :value="item.name"
  442. @click.native="jiluPeople(item.id)"
  443. />
  444. </el-select>
  445. </el-form-item>
  446. <el-form-item label="工作标题" prop="jobTitle">
  447. <el-input v-model="form.jobTitle" placeholder="请输入工作标题" />
  448. </el-form-item>
  449. <!-- <el-form-item label="创建人姓名" prop="creatName">
  450. <el-input v-model="form.creatName" placeholder="请输入创建人姓名" />
  451. </el-form-item>
  452. <el-form-item label="创建时间" prop="creatTime">
  453. <el-date-picker
  454. clearable
  455. size="small"
  456. v-model="form.creatTime"
  457. type="date"
  458. value-format="yyyy-MM-dd"
  459. placeholder="选择创建时间"
  460. >
  461. </el-date-picker>
  462. </el-form-item> -->
  463. <!-- <el-form-item label="创建人id" prop="creatId">
  464. <el-input v-model="form.creatId" placeholder="请输入创建人id" />
  465. </el-form-item> -->
  466. <!-- <el-form-item label="单位id" prop="unitId">
  467. <el-input v-model="form.unitId" placeholder="请输入单位id" />
  468. </el-form-item> -->
  469. <!-- <el-form-item label="值班领导id" prop="dutyLeaderId">
  470. <el-input v-model="form.dutyLeaderId" placeholder="请输入值班领导id" />
  471. </el-form-item> -->
  472. <!-- <el-form-item label="军事长官id" prop="militaryOfficerId">
  473. <el-input v-model="form.militaryOfficerId" placeholder="请输入军事长官id" />
  474. </el-form-item> -->
  475. <!-- <el-form-item label="政治长官id" prop="politicalOfficerId">
  476. <el-input v-model="form.politicalOfficerId" placeholder="请输入政治长官id" />
  477. </el-form-item> -->
  478. <el-form-item label="开始时间" prop="startTime">
  479. <el-date-picker
  480. editable
  481. clearable
  482. size="small"
  483. v-model="form.startTime"
  484. type="date"
  485. value-format="yyyy-MM-dd"
  486. placeholder="选择开始时间"
  487. >
  488. </el-date-picker>
  489. </el-form-item>
  490. <el-form-item label="结束时间" prop="endTime" label-width="115px">
  491. <el-date-picker
  492. editable
  493. clearable
  494. size="small"
  495. v-model="form.endTime"
  496. type="date"
  497. value-format="yyyy-MM-dd"
  498. placeholder="选择结束时间"
  499. >
  500. </el-date-picker>
  501. </el-form-item>
  502. <div class="jiben">工作登记</div>
  503. <div class="box3" v-for="(item, i) in tomList" :key="i">
  504. <el-form
  505. ref="refform"
  506. :model="form"
  507. :rules="rules"
  508. label-width="80px"
  509. :inline="true"
  510. >
  511. <el-form-item label="" prop="daytime">
  512. <el-date-picker
  513. v-model="item.time"
  514. type="date"
  515. value-format="yyyy-MM-dd"
  516. placeholder="选择时间"
  517. @change="
  518. (val) => {
  519. change_time(val, i);
  520. }
  521. "
  522. >
  523. </el-date-picker>
  524. </el-form-item>
  525. <el-form-item label="" prop="week">
  526. <el-input placeholder="星期" v-model="item.week" disabled />
  527. </el-form-item>
  528. <el-form-item>
  529. <el-button
  530. type="primary"
  531. icon="el-icon-plus"
  532. size="mini"
  533. style="padding: 11px 10px 10px 10px"
  534. @click="addForms"
  535. v-if="i == tomList.length - 1"
  536. ></el-button>
  537. <el-button
  538. type="danger"
  539. icon="el-icon-close"
  540. size="mini"
  541. style="padding: 11px 10px 10px 10px"
  542. v-if="i > 0"
  543. @click="delForms(i)"
  544. ></el-button>
  545. </el-form-item>
  546. <el-form-item label="" prop="">
  547. <quill-editor
  548. class="quill-editor"
  549. ref="myTextEditor"
  550. v-model="item.contents"
  551. style="
  552. height: 150px;
  553. width: 1010px;
  554. margin-left: 0px;
  555. color: white;
  556. margin-bottom: 60px;
  557. "
  558. ></quill-editor>
  559. </el-form-item>
  560. </el-form>
  561. </div>
  562. <!-- <div class="zhankai" @click="zhankai">展开更多工作登记</div> -->
  563. </el-form>
  564. </div>
  565. <div slot="footer" class="dialog-footer">
  566. <el-button type="primary" @click="submitForm">确 定</el-button>
  567. <el-button @click="cancel" size="btn">取 消</el-button>
  568. </div>
  569. </el-dialog>
  570. <!-- 查看按钮操作 -->
  571. <!-- 查看周工作对话框 -->
  572. <el-dialog
  573. :title="title1"
  574. :visible.sync="open1"
  575. width="1100px"
  576. append-to-body
  577. :close-on-click-modal="false"
  578. >
  579. <div class="userAgree">
  580. <el-form
  581. ref="form"
  582. :model="form1"
  583. :rules="rules"
  584. label-width="100px"
  585. :inline="true"
  586. >
  587. <div class="jiben">基本信息</div>
  588. <el-form-item label="单位" prop="unitId">
  589. <treeselect
  590. disabled
  591. v-model="form1.unitId"
  592. :options="users"
  593. placeholder="请选择到访单位"
  594. class="threeselects"
  595. @select="selectPeo"
  596. >
  597. </treeselect>
  598. <!-- </el-form-item> -->
  599. </el-form-item>
  600. <el-form-item label="连值班领导" prop="dutyLeader">
  601. <el-select
  602. disabled
  603. filterable
  604. v-model="form1.dutyLeader"
  605. placeholder="请选择人员"
  606. ref="peoplenames"
  607. >
  608. <el-option
  609. v-for="item in executor"
  610. :key="item.id"
  611. :label="item.name"
  612. :value="item.name"
  613. @click.native="peopleIds(item)"
  614. />
  615. </el-select>
  616. </el-form-item>
  617. <el-form-item label="电话" prop="phone">
  618. <el-input v-model="form1.phone" placeholder="请输入电话" disabled />
  619. </el-form-item>
  620. <el-form-item label="军事长官 " prop="militaryOfficer">
  621. <el-select
  622. disabled
  623. filterable
  624. v-model="form1.militaryOfficer"
  625. ref="militaryOfficer"
  626. placeholder="请选择军事长官"
  627. >
  628. <el-option
  629. v-for="item in junshiexecutor"
  630. :key="item.id"
  631. :label="item.name"
  632. :value="item.name"
  633. @click.native="zuzhiPeople(item.id)"
  634. />
  635. </el-select>
  636. </el-form-item>
  637. <el-form-item label="政治长官" prop="politicalOfficer">
  638. <el-select
  639. disabled
  640. filterable
  641. v-model="form1.politicalOfficer"
  642. ref="militaryOfficer"
  643. placeholder="请选择军事长官"
  644. >
  645. <el-option
  646. v-for="item in zhengzhiexecutor"
  647. :key="item.id"
  648. :label="item.name"
  649. :value="item.name"
  650. @click.native="jiluPeople(item.id)"
  651. />
  652. </el-select>
  653. </el-form-item>
  654. <el-form-item label="工作标题" prop="jobTitle">
  655. <el-input
  656. v-model="form1.jobTitle"
  657. placeholder="请输入工作标题"
  658. disabled
  659. />
  660. </el-form-item>
  661. <el-form-item label="开始时间" prop="startTime">
  662. <el-date-picker
  663. disabled
  664. editable
  665. clearable
  666. size="small"
  667. v-model="form1.startTime"
  668. type="date"
  669. value-format="yyyy-MM-dd"
  670. placeholder="选择开始时间"
  671. >
  672. </el-date-picker>
  673. </el-form-item>
  674. <el-form-item label="结束时间" prop="endTime" label-width="115px">
  675. <el-date-picker
  676. disabled
  677. editable
  678. clearable
  679. size="small"
  680. v-model="form1.endTime"
  681. type="date"
  682. value-format="yyyy-MM-dd"
  683. placeholder="选择结束时间"
  684. >
  685. </el-date-picker>
  686. </el-form-item>
  687. <div class="jiben">工作登记</div>
  688. <div class="box3" v-for="(item, i) in tomList" :key="i">
  689. <el-form
  690. ref="refform"
  691. :model="form1"
  692. :rules="rules"
  693. label-width="80px"
  694. :inline="true"
  695. >
  696. <el-form-item label="" prop="daytime">
  697. <el-date-picker
  698. disabled
  699. v-model="item.time"
  700. type="date"
  701. value-format="yyyy-MM-dd"
  702. placeholder="选择时间"
  703. @change="
  704. (val) => {
  705. change_time(val, i);
  706. }
  707. "
  708. >
  709. </el-date-picker>
  710. </el-form-item>
  711. <el-form-item label="" prop="week">
  712. <el-input placeholder="星期" v-model="item.week" disabled />
  713. </el-form-item>
  714. <el-form-item>
  715. <el-button
  716. type="primary"
  717. icon="el-icon-plus"
  718. size="mini"
  719. style="padding: 11px 10px 10px 10px"
  720. @click="addForms"
  721. v-if="i == tomList.length - 1"
  722. ></el-button>
  723. <el-button
  724. type="danger"
  725. icon="el-icon-close"
  726. size="mini"
  727. style="padding: 11px 10px 10px 10px"
  728. v-if="i > 0"
  729. @click="delForms(i)"
  730. ></el-button>
  731. </el-form-item>
  732. <el-form-item label="" prop="">
  733. <quill-editor
  734. class="quill-editor"
  735. ref="myTextEditor"
  736. v-model="item.contents"
  737. style="
  738. height: 150px;
  739. width: 1010px;
  740. margin-left: 0px;
  741. color: white;
  742. margin-bottom: 60px;
  743. "
  744. ></quill-editor>
  745. </el-form-item>
  746. </el-form>
  747. </div>
  748. </el-form>
  749. </div>
  750. <div slot="footer" class="dialog-footer">
  751. <el-button type="primary" @click="open1 = false">关 闭</el-button>
  752. <!-- <el-button @click="open1=false" size="btn">取 消</el-button> -->
  753. </div>
  754. </el-dialog>
  755. <!-- </div> -->
  756. </div>
  757. </template>
  758. <script>
  759. import {
  760. listWeekjob,
  761. getWeekjob,
  762. delWeekjob,
  763. addWeekjob,
  764. updateWeekjob,
  765. exportWeekjob,
  766. } from "@/api/thought/weekjob";
  767. import {
  768. getDept2,
  769. getAll,
  770. getWeiShu,
  771. } from "@/api/grassrootsregistration/bdglmeeting";
  772. import Treeselect from "@riophae/vue-treeselect";
  773. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  774. import { deptUser } from "@/api/doormanManage/bdglVisit";
  775. import { getDeptList } from "@/api/workingArrangements/workTask";
  776. export default {
  777. name: "Weekjob",
  778. components: {
  779. Treeselect,
  780. },
  781. data() {
  782. return {
  783. // 遮罩层
  784. loading: true,
  785. // 导出遮罩层
  786. exportLoading: false,
  787. // 选中数组
  788. ids: [],
  789. // 非单个禁用
  790. single: true,
  791. // 非多个禁用
  792. multiple: true,
  793. // 显示搜索条件
  794. showSearch: true,
  795. // 总条数
  796. total: 0,
  797. // 周工作表格数据
  798. weekjobList: [],
  799. // 弹出层标题
  800. title: "",
  801. // 是否显示弹出层
  802. open: false,
  803. // 查询参数
  804. queryParams: {
  805. pageNum: 1,
  806. pageSize: 10,
  807. creatTime: null,
  808. creatName: null,
  809. creatId: null,
  810. unitName: null,
  811. unitId: null,
  812. dutyLeader: null,
  813. dutyLeaderId: null,
  814. phone: null,
  815. militaryOfficer: null,
  816. militaryOfficerId: null,
  817. politicalOfficer: null,
  818. politicalOfficerId: null,
  819. jobTitle: null,
  820. startTime: null,
  821. endTime: null,
  822. },
  823. // 表单参数
  824. form: {},
  825. // 表单校验
  826. rules: {
  827. unitName: [
  828. { required: true, message: "单位不能为空", trigger: "blur" },
  829. ],
  830. startTime: [
  831. { required: true, message: "开始时间不能为空", trigger: "blur" },
  832. ],
  833. endTime: [
  834. { required: true, message: "结束时间不能为空", trigger: "blur" },
  835. ],
  836. dutyLeader: [
  837. { required: true, message: "连值班领导不能为空", trigger: "blur" },
  838. ],
  839. phone: [{ required: true, message: "电话不能为空", trigger: "blur" }],
  840. militaryOfficer: [
  841. { required: true, message: "军事长官不能为空", trigger: "blur" },
  842. ],
  843. politicalOfficer: [
  844. { required: true, message: "政治长官不能为空", trigger: "blur" },
  845. ],
  846. jobTitle: [
  847. { required: true, message: "工作标题不能为空", trigger: "blur" },
  848. ],
  849. },
  850. // 左侧树形
  851. deptOptions: [],
  852. //左侧时间选择
  853. pickerOptions: {
  854. disabledDate(time) {
  855. return time.getTime() > Date.now();
  856. },
  857. },
  858. // 树形配置
  859. defaultProps: {
  860. children: "children",
  861. label: "label",
  862. },
  863. // 搜索时间的保存
  864. timeDate: "",
  865. users: [],
  866. // 连值班领导
  867. executor: [],
  868. // 军事长官列表
  869. junshiexecutor: [],
  870. // 政治长官列表
  871. zhengzhiexecutor: [],
  872. // 单位名称
  873. unitName: "",
  874. //星期选择
  875. week: [
  876. {
  877. value: "选项1",
  878. label: "星期一",
  879. },
  880. {
  881. value: "选项2",
  882. label: "星期二",
  883. },
  884. {
  885. value: "选项3",
  886. label: "星期三",
  887. },
  888. {
  889. value: "选项4",
  890. label: "星期四",
  891. },
  892. {
  893. value: "选项5",
  894. label: "星期五",
  895. },
  896. {
  897. value: "选项6",
  898. label: "星期六",
  899. },
  900. {
  901. value: "选项7",
  902. label: "星期日",
  903. },
  904. ],
  905. time: "",
  906. //添加对话框查铺表格为空
  907. tomList: [
  908. {
  909. // 开始时间
  910. time: null,
  911. // 星期
  912. week: null,
  913. content: null,
  914. },
  915. ],
  916. getdeptList: [],
  917. form1: {},
  918. open1: false,
  919. title1: "",
  920. };
  921. },
  922. created() {
  923. this.getList();
  924. this.treeselect();
  925. this.getSuoYou();
  926. // 获取执行单位列表
  927. getDept2().then((res) => {
  928. this.users = res.data;
  929. });
  930. // 获取部门列表
  931. getDeptList().then((res) => {
  932. this.getdeptList = res.data;
  933. });
  934. },
  935. methods: {
  936. unit2Format(row) {
  937. var deptName = "";
  938. this.getdeptList.map((item) => {
  939. // if(ite)
  940. if (item.deptId == row.unitId) {
  941. deptName = item.deptName;
  942. }
  943. });
  944. return deptName;
  945. },
  946. // 搜索时间触发
  947. shiJian(data) {
  948. this.queryParams.diaryTime = data;
  949. this.timeDate = data;
  950. this.getList();
  951. this.getShuJu(data);
  952. },
  953. // 获取部门数据
  954. getShuJu(data) {
  955. exportBdgShuju(data).then((res) => {
  956. this.DataTime = data;
  957. this.registrationData = res;
  958. this.cg = res.cg;
  959. this.sb = res.sb;
  960. // this.yishenpi = res.yiShenPi;
  961. // this.weishenpi = res.weiShenPi;
  962. this.tiems = res.time;
  963. });
  964. },
  965. // 增加工作登记
  966. addForms() {
  967. this.tomList.push({
  968. time: null,
  969. week: null,
  970. content: null,
  971. });
  972. },
  973. // 删除对话框工作登记
  974. delForms(i) {
  975. this.tomList.splice(i, 1);
  976. },
  977. // 选中时间获取星期
  978. change_time(date, i) {
  979. if (date) {
  980. // 通过全局的getNowWeek方法获取当前时间是星期几
  981. this.tomList[i].week = this.getNowWeek(date);
  982. } else {
  983. this.tomList[i].week = "";
  984. }
  985. },
  986. // 军事长官id
  987. zuzhiPeople(id) {
  988. this.form.militaryOfficerId = id;
  989. },
  990. // 政治长官id
  991. jiluPeople(id) {
  992. this.form.politicalOfficerId = id;
  993. },
  994. // 获取所有人员
  995. getSuoYou() {
  996. getAll().then((response) => {
  997. // 军事长官列表
  998. this.junshiexecutor = response.rows;
  999. // 政治长官列表
  1000. this.zhengzhiexecutor = response.rows;
  1001. // // 记录人
  1002. // this.recodeexecutor=response.rows
  1003. });
  1004. },
  1005. // 选中单位
  1006. selectPeo(val) {
  1007. this.form.dutyLeader = "";
  1008. this.form.unitId = val.id;
  1009. // this.unitName = val.label;
  1010. this.form.phone = "";
  1011. this.getZhuChi(this.form.unitId);
  1012. },
  1013. // 获取电话
  1014. peopleIds(item) {
  1015. this.form.dutyLeaderId = item.id;
  1016. this.form.phone = item.phone;
  1017. },
  1018. // 获取执行人
  1019. getZhuChi(id) {
  1020. deptUser(id).then((res) => {
  1021. // 连值班领导
  1022. this.executor = res.data;
  1023. this.executors = res.data;
  1024. // this.form.unitName=this.executor
  1025. });
  1026. },
  1027. // 获取外面部门树形
  1028. treeselect() {
  1029. getWeiShu().then((res) => {
  1030. this.deptOptions = res.data;
  1031. });
  1032. },
  1033. //外面树形选择搜索
  1034. handleNodeClick(data) {
  1035. this.queryParams.unitId = data.id;
  1036. this.getList();
  1037. },
  1038. /** 查询周工作列表 */
  1039. getList() {
  1040. this.loading = true;
  1041. listWeekjob(this.queryParams).then((response) => {
  1042. this.weekjobList = response.rows;
  1043. this.total = response.total;
  1044. this.loading = false;
  1045. });
  1046. },
  1047. // 取消按钮
  1048. cancel() {
  1049. this.open = false;
  1050. this.reset();
  1051. },
  1052. // 表单重置
  1053. reset() {
  1054. this.form = {
  1055. id: null,
  1056. creatTime: null,
  1057. updateTime: null,
  1058. creatName: null,
  1059. creatId: null,
  1060. remark: null,
  1061. unitName: null,
  1062. unitId: null,
  1063. dutyLeader: null,
  1064. dutyLeaderId: null,
  1065. phone: null,
  1066. militaryOfficer: null,
  1067. militaryOfficerId: null,
  1068. politicalOfficer: null,
  1069. politicalOfficerId: null,
  1070. jobTitle: null,
  1071. startTime: null,
  1072. endTime: null,
  1073. };
  1074. this.resetForm("form");
  1075. },
  1076. /** 搜索按钮操作 */
  1077. handleQuery() {
  1078. this.queryParams.pageNum = 1;
  1079. this.getList();
  1080. },
  1081. /** 重置按钮操作 */
  1082. resetQuery() {
  1083. this.resetForm("queryForm");
  1084. this.handleQuery();
  1085. },
  1086. // 多选框选中数据
  1087. handleSelectionChange(selection) {
  1088. this.ids = selection.map((item) => item.id);
  1089. this.single = selection.length !== 1;
  1090. this.multiple = !selection.length;
  1091. },
  1092. /** 新增按钮操作 */
  1093. handleAdd() {
  1094. (this.tomList = [
  1095. {
  1096. // 开始时间
  1097. time: null,
  1098. // 星期
  1099. week: null,
  1100. content: null,
  1101. },
  1102. ]),
  1103. this.reset();
  1104. this.open = true;
  1105. this.title = "添加周工作";
  1106. },
  1107. /** 修改按钮操作 */
  1108. handleUpdate(row) {
  1109. this.reset();
  1110. const id = row.id || this.ids;
  1111. getWeekjob(id).then((response) => {
  1112. this.form = response.data;
  1113. this.form.unitName = this.form.unitName;
  1114. this.tomList = this.form.thoughtWeekjobFuList;
  1115. this.open = true;
  1116. this.title = "修改周工作";
  1117. });
  1118. },
  1119. handlelook(row) {
  1120. this.reset();
  1121. const id = row.id || this.ids;
  1122. getWeekjob(id).then((response) => {
  1123. this.form1 = response.data;
  1124. this.tomList = this.form1.thoughtWeekjobFuList;
  1125. this.open1 = true;
  1126. this.title1 = "查看周工作";
  1127. });
  1128. },
  1129. /** 提交按钮 */
  1130. submitForm() {
  1131. this.form.unitName = this.form.unitId;
  1132. if (this.tomList) {
  1133. this.form.thoughtWeekjobFuList = this.tomList;
  1134. }
  1135. this.$refs["form"].validate((valid) => {
  1136. if (valid) {
  1137. if (this.form.id != null) {
  1138. updateWeekjob(this.form).then((response) => {
  1139. this.$modal.msgSuccess("修改成功");
  1140. this.open = false;
  1141. this.getList();
  1142. });
  1143. } else {
  1144. addWeekjob(this.form).then((response) => {
  1145. this.$modal.msgSuccess("新增成功");
  1146. this.open = false;
  1147. this.getList();
  1148. });
  1149. }
  1150. }
  1151. });
  1152. },
  1153. /** 删除按钮操作 */
  1154. handleDelete(row) {
  1155. const ids = row.id || this.ids;
  1156. this.$modal
  1157. .confirm("是否确认删除?")
  1158. .then(function () {
  1159. return delWeekjob(ids);
  1160. })
  1161. .then(() => {
  1162. this.getList();
  1163. this.$modal.msgSuccess("删除成功");
  1164. })
  1165. .catch(() => {});
  1166. },
  1167. /** 导出按钮操作 */
  1168. handleExport() {
  1169. const queryParams = this.queryParams;
  1170. this.$modal
  1171. .confirm("是否确认导出所有周工作数据项?")
  1172. .then(() => {
  1173. this.exportLoading = true;
  1174. return exportWeekjob(queryParams);
  1175. })
  1176. .then((response) => {
  1177. this.$download.name(response.msg);
  1178. this.exportLoading = false;
  1179. })
  1180. .catch(() => {});
  1181. },
  1182. },
  1183. };
  1184. </script>
  1185. <style scoped>
  1186. /*定义滚动条宽高及背景,宽高分别对应横竖滚动条的尺寸*/
  1187. .userAgree::-webkit-scrollbar {
  1188. width: 14px;
  1189. /* height: 2px !important; */
  1190. background: #3d83b8;
  1191. }
  1192. /* 备注 */
  1193. .thistext {
  1194. color: white;
  1195. width: 1010px;
  1196. border: 1px solid #fff;
  1197. border-radius: 4px;
  1198. height: auto;
  1199. min-height: 35px;
  1200. text-indent: 1em;
  1201. padding: 2px;
  1202. line-height: 35px;
  1203. margin-bottom: 20px;
  1204. /* margin: auto; */
  1205. }
  1206. /* 附件名称样式 */
  1207. .filename {
  1208. display: inline-block;
  1209. color: white;
  1210. width: 900px;
  1211. height: 30px;
  1212. border: 1px solid white;
  1213. line-height: 30px;
  1214. text-indent: 1em;
  1215. }
  1216. /* 下载按钮 */
  1217. .downloadfile {
  1218. border: 1px solid white;
  1219. display: inline-block;
  1220. width: 100px;
  1221. height: 33px;
  1222. border-radius: 5px;
  1223. line-height: 33px;
  1224. text-align: center;
  1225. }
  1226. .zhankai {
  1227. margin-top: -30px;
  1228. width: 1015px;
  1229. height: 36px;
  1230. background: #196299;
  1231. border-radius: 4px;
  1232. font-size: 14px;
  1233. font-family: Source Han Sans CN;
  1234. font-weight: 400;
  1235. color: #fefefe;
  1236. line-height: 36px;
  1237. padding-left: 10px;
  1238. background-image: url("../../../images/renoften/展开.png");
  1239. background-repeat: no-repeat;
  1240. background-position: 980px 12px;
  1241. }
  1242. /* ::v-deep .box3{
  1243. border: 1px solid white;
  1244. width: 98%;
  1245. height: 270px;
  1246. padding-left: 10px;
  1247. padding-top: 10px;
  1248. margin-top: 10px;
  1249. } */
  1250. ::v-deep .el-pagination__sizes .el-input__suffix {
  1251. right: 6px;
  1252. }
  1253. /* 树形样式 */
  1254. ::v-deep .vue-treeselect__control {
  1255. background-color: #004d86;
  1256. width: 216px;
  1257. margin-right: 25px;
  1258. color: white;
  1259. }
  1260. .threeselects {
  1261. width: 216px;
  1262. margin-right: 22px;
  1263. }
  1264. ::v-deep .vue-treeselect__single-value {
  1265. color: white;
  1266. }
  1267. ::v-deep .el-dialog {
  1268. background-color: #004d86 !important;
  1269. }
  1270. /* 输入框 */
  1271. ::v-deep .el-dialog .el-input__inner {
  1272. background-color: #004d86 !important;
  1273. width: 216px;
  1274. color: white;
  1275. margin-right: 20px;
  1276. border: 1px solid white !important;
  1277. }
  1278. ::v-deep .el-input__inner {
  1279. border: 1px solid white !important;
  1280. }
  1281. /* 表格样式 */
  1282. ::v-deep .el-table .el-table__header-wrapper th {
  1283. background-color: #004d86 !important;
  1284. color: white;
  1285. }
  1286. /* 标题弹框 */
  1287. ::v-deep .el-dialog__title {
  1288. color: white;
  1289. /* border-bottom: 1px solid white; */
  1290. }
  1291. /* 标题下划线 */
  1292. ::v-deep .el-dialog__header {
  1293. border-bottom: 1px solid white;
  1294. }
  1295. /* 日历样式 */
  1296. ::v-deep .el-date-editor .el-input__inner {
  1297. height: 36px !important;
  1298. line-height: 36px;
  1299. }
  1300. ::v-deep .datesend .el-form-item__label {
  1301. width: 115px !important;
  1302. }
  1303. /* 会议文本域样式 */
  1304. ::v-deep .el-form-item__content .el-textarea {
  1305. width: 660px;
  1306. /* height: 80px !important; */
  1307. }
  1308. ::v-deep .el-form-item__content .el-textarea .el-textarea__inner {
  1309. /* width: 1000px; */
  1310. height: 80px !important;
  1311. }
  1312. ::v-deep .el-dialog__body {
  1313. padding-left: 45px !important;
  1314. padding-right: 0px !important;
  1315. padding-bottom: 0px !important;
  1316. }
  1317. /* 富文本内容 */
  1318. /* ::v-deep .editor{
  1319. width: 1010px;
  1320. color: white;
  1321. } */
  1322. /* 富文本 */
  1323. ::v-deep .ql-snow .ql-picker:focus {
  1324. outline: none !important;
  1325. }
  1326. ::v-deep .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label:focus {
  1327. outline: none !important;
  1328. }
  1329. ::v-deep .ql-toolbar.ql-snow .ql-picker-label {
  1330. border: none !important;
  1331. }
  1332. ::v-deep .ql-formats:focus {
  1333. outline: none !important;
  1334. }
  1335. ::v-deep .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
  1336. border-color: none !important;
  1337. color: black !important;
  1338. }
  1339. ::v-deep .ql-snow .ql-picker-options .ql-picker-item:focus {
  1340. outline: none !important;
  1341. }
  1342. /* normal */
  1343. ::v-deep .ql-active {
  1344. outline: none !important;
  1345. }
  1346. ::v-deep .ql-snow .ql-fill,
  1347. .ql-snow .ql-stroke.ql-fill {
  1348. fill: #fff !important;
  1349. }
  1350. ::v-deep .ql-snow .ql-stroke {
  1351. stroke: #fff !important;
  1352. }
  1353. ::v-deep .ql-snow .ql-picker {
  1354. color: #fff !important;
  1355. }
  1356. ::v-deep .ql-editor ql-blank {
  1357. color: #fff !important;
  1358. }
  1359. ::v-deep .ql-snow .ql-picker-label {
  1360. position: absolute;
  1361. bottom: 5px;
  1362. }
  1363. ::v-deep .ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
  1364. margin-top: -2px;
  1365. }
  1366. ::v-deep .ql-toolbar.ql-snow {
  1367. display: flex;
  1368. justify-content: space-around;
  1369. }
  1370. /* 富文本删除功能 */
  1371. /* 富文本删除功能 */
  1372. ::v-deep .ql-blockquote {
  1373. display: none !important;
  1374. }
  1375. ::v-deep .ql-strike {
  1376. display: none !important;
  1377. }
  1378. ::v-deep .ql-script {
  1379. display: none !important;
  1380. }
  1381. ::v-deep .ql-code-block {
  1382. display: none !important;
  1383. }
  1384. ::v-deep .ql-direction {
  1385. display: none !important;
  1386. }
  1387. .ql-toolbar.ql-snow .ql-formats {
  1388. margin-right: 7px !important;
  1389. }
  1390. ::v-deep .el-input__inner {
  1391. /* height: 36px !important; */
  1392. color: white;
  1393. background-color: #00365f !important;
  1394. }
  1395. /* 文字多余部分省略 */
  1396. ::v-deep .el-table__cell .cell {
  1397. overflow: hidden;
  1398. text-overflow: ellipsis;
  1399. white-space: nowrap;
  1400. }
  1401. ::v-deep .el-input__suffix {
  1402. right: 22px;
  1403. }
  1404. /* 基本样式 */
  1405. /* .jiben {
  1406. width: 660px;
  1407. } */
  1408. ::v-deep .data .el-date-editor.el-input {
  1409. width: 100%;
  1410. border: none;
  1411. }
  1412. ::v-deep .data .el-input__inner {
  1413. width: 100% !important;
  1414. border: none !important;
  1415. }
  1416. ::v-deep .data .el-input--medium .el-input__icon {
  1417. line-height: 36px;
  1418. position: absolute;
  1419. right: -223px;
  1420. top: 2px;
  1421. }
  1422. ::v-deep .data .el-input__inner {
  1423. background-color: transparent !important;
  1424. color: #fff;
  1425. text-align: center;
  1426. margin-top: 2px;
  1427. }
  1428. ::v-deep .data .el-input__suffix {
  1429. position: absolute;
  1430. right: 281px;
  1431. }
  1432. .app-container {
  1433. display: flex;
  1434. }
  1435. .app-container .box-lfet .data {
  1436. height: 40px;
  1437. background: #003156;
  1438. margin-bottom: 12px;
  1439. color: #fff;
  1440. display: flex;
  1441. font-size: 13px;
  1442. line-height: 25px;
  1443. position: relative;
  1444. }
  1445. .box-lfet .data p {
  1446. position: absolute;
  1447. top: -5px;
  1448. left: 15px;
  1449. }
  1450. .box-lfet .data .a1 {
  1451. width: 128px;
  1452. height: 26px;
  1453. background: rgba(23, 74, 112, 0.4);
  1454. border-radius: 13px;
  1455. position: absolute;
  1456. top: 7px;
  1457. left: 60px;
  1458. }
  1459. ::v-deep .data .el-date-editor.el-input {
  1460. width: 100%;
  1461. border: none;
  1462. }
  1463. ::v-deep .data .el-input__inner {
  1464. width: 100% !important;
  1465. border: none;
  1466. }
  1467. ::v-deep .data .el-input--medium .el-input__icon {
  1468. line-height: 36px;
  1469. position: absolute;
  1470. right: -223px;
  1471. top: 2px;
  1472. }
  1473. ::v-deep .data .el-input__inner {
  1474. background-color: transparent;
  1475. color: #fff;
  1476. text-align: center;
  1477. margin-top: 2px;
  1478. }
  1479. ::v-deep .data .el-input__suffix {
  1480. position: absolute;
  1481. right: 281px;
  1482. }
  1483. /* 头部样式 */
  1484. .dadui {
  1485. height: 40px;
  1486. background: #003156;
  1487. /* border-bottom: 1px solid #718A9D ; */
  1488. background-image: url(../../../images/矩形底部边框.png);
  1489. background-repeat: no-repeat;
  1490. background-position: 0px 39px;
  1491. font-size: 16px;
  1492. color: #1d96ff;
  1493. }
  1494. .dadui img {
  1495. margin: 10px 10px 0px 10px;
  1496. }
  1497. .box-lfet .data p {
  1498. position: absolute;
  1499. top: -5px;
  1500. left: 15px;
  1501. }
  1502. .box-lfet .data .a1 {
  1503. width: 128px;
  1504. height: 26px;
  1505. background: rgba(23, 74, 112, 0.4);
  1506. border-radius: 13px;
  1507. position: absolute;
  1508. top: 7px;
  1509. left: 60px;
  1510. }
  1511. /* 划过效果 */
  1512. ::v-deep .el-tree-node__content:hover {
  1513. /* color: #fff; */
  1514. background-color: #003156;
  1515. background-image: url("../../../assets/images/选中.png");
  1516. background-size: 100% 100%;
  1517. background-repeat: no-repeat;
  1518. }
  1519. .app-container {
  1520. display: flex;
  1521. }
  1522. /* 左侧树状盒子 */
  1523. .app-container .box-lfet {
  1524. width: 15%;
  1525. min-height: 740px;
  1526. /* background: #003156; */
  1527. /* padding: 10px; */
  1528. margin-right: 10px;
  1529. /* border: 1px solid white; */
  1530. }
  1531. /* 右侧内容盒子 */
  1532. .app-container .box-right {
  1533. flex: 1;
  1534. }
  1535. .app-container .box-lfet .data {
  1536. height: 40px;
  1537. background: #003156;
  1538. margin-bottom: 12px;
  1539. color: #fff;
  1540. display: flex;
  1541. font-size: 13px;
  1542. line-height: 25px;
  1543. position: relative;
  1544. }
  1545. .el-tree {
  1546. background: #003156;
  1547. color: #fff;
  1548. margin-right: 2px;
  1549. padding-top: 7px;
  1550. }
  1551. ::v-deep .el-dialog {
  1552. background-color: #004d86 !important;
  1553. }
  1554. ::v-deep .el-input__suffix {
  1555. right: 22px;
  1556. }
  1557. ::v-deep .el-tree-node__content {
  1558. height: 32px;
  1559. }
  1560. ::v-deep
  1561. .el-tree--highlight-current
  1562. .el-tree-node.is-current
  1563. > .el-tree-node__content {
  1564. height: 32px;
  1565. color: #fff !important;
  1566. background-color: #003156;
  1567. background-image: url("../../../assets/images/选中.png");
  1568. background-size: 100% 100%;
  1569. background-repeat: no-repeat;
  1570. }
  1571. /* 卡片样式 */
  1572. .app-container {
  1573. height: calc(100vh - 108px) !important;
  1574. }
  1575. </style>