index_20220314105140.vue 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552
  1. <template>
  2. <div class="app-container">
  3. <div class="box-lfet">
  4. <div class="data">
  5. <p>日期</p>
  6. <!-- <el-date-picker
  7. v-model="value"
  8. type="date"
  9. size="mini"
  10. align="right"
  11. placeholder="日期"
  12. >
  13. </el-date-picker> -->
  14. <div class="a1"></div>
  15. <el-date-picker
  16. v-model="tiem"
  17. type="date"
  18. :editable="false"
  19. placeholder="选择日期"
  20. >
  21. </el-date-picker>
  22. </div>
  23. <div class="dadui">
  24. <img src="../../../images/星星.png" alt="" />
  25. 单位
  26. </div>
  27. <div class="tree">
  28. <el-tree
  29. :data="deptOptions"
  30. :props="defaultProps"
  31. @node-click="handleNodeClick"
  32. default-expand-all
  33. :expand-on-click-node="false"
  34. ></el-tree>
  35. </div>
  36. </div>
  37. <div class="box-right">
  38. <!-- 搜索条件区域 -->
  39. <el-form
  40. :model="queryParams"
  41. ref="queryForm"
  42. :inline="true"
  43. v-show="showSearch"
  44. label-width="68px"
  45. >
  46. </el-form>
  47. <!-- 添加,删除 -->
  48. <el-row :gutter="10" class="mb8">
  49. <el-col :span="1.5">
  50. <el-button
  51. type="primary"
  52. plain
  53. icon="el-icon-plus"
  54. size="mini"
  55. @click="handleAdd"
  56. v-hasPermi="['grassrootsregistration :bdgldiary:add']"
  57. >新增</el-button
  58. >
  59. </el-col>
  60. <el-col :span="1.5">
  61. <el-button
  62. type="success"
  63. plain
  64. icon="el-icon-edit"
  65. size="mini"
  66. :disabled="single"
  67. @click="handleUpdate"
  68. v-hasPermi="['grassrootsregistration :bdgldiary:edit']"
  69. >修改</el-button
  70. >
  71. </el-col>
  72. <el-col :span="1.5">
  73. <el-button
  74. type="danger"
  75. plain
  76. icon="el-icon-delete"
  77. size="mini"
  78. :disabled="multiple"
  79. @click="handleDelete"
  80. v-hasPermi="['grassrootsregistration :bdgldiary:remove']"
  81. >删除</el-button
  82. >
  83. </el-col>
  84. <el-col :span="1.5">
  85. <el-button
  86. type="warning"
  87. plain
  88. icon="el-icon-download"
  89. size="mini"
  90. :loading="exportLoading"
  91. @click="handleExport"
  92. v-hasPermi="['grassrootsregistration :bdgldiary:export']"
  93. >导出</el-button
  94. >
  95. </el-col>
  96. </el-row>
  97. <!-- 搜索结果区域 -->
  98. <el-table
  99. v-loading="loading"
  100. :data="bdgldiaryList"
  101. @selection-change="handleSelectionChange"
  102. :header-cell-style="{ background: '#003C69', color: 'white' }"
  103. >
  104. <el-table-column type="selection" width="55" align="center" />
  105. <el-table-column label="序号" align="center" prop="id" />
  106. <el-table-column label="单位" align="center" prop="unitName" />
  107. <el-table-column label="值班人员" align="center" prop="peopleName" />
  108. <el-table-column
  109. label="值班日期"
  110. align="center"
  111. prop="blogDate"
  112. width="180"
  113. :editable="false"
  114. >
  115. <template slot-scope="scope">
  116. <span>{{ parseTime(scope.row.blogDate, "{y}-{m}-{d}") }}</span>
  117. </template>
  118. </el-table-column>
  119. <el-table-column label="编制干部" align="center" prop="orgcadre" />
  120. <el-table-column label="编制战士" align="center" prop="orgsoldier" />
  121. <el-table-column label="编制文职" align="center" prop="orgcivilian" />
  122. <el-table-column
  123. width="200"
  124. label="操作"
  125. align="center"
  126. class-name="small-padding fixed-width"
  127. >
  128. <template slot-scope="scope">
  129. <el-button
  130. size="btk"
  131. type="text"
  132. @click="handleChakan(scope.row)"
  133. v-hasPermi="['grassrootsregistration :bdgldiary:edit']"
  134. ><span class="chakan">查看</span></el-button
  135. >
  136. <el-button
  137. size="btu"
  138. type="text"
  139. @click="handleUpdate(scope.row)"
  140. v-hasPermi="['grassrootsregistration :bdgldiary:edit']"
  141. ><span class="edit">修改</span></el-button
  142. >
  143. <el-button
  144. size="btd"
  145. type="text"
  146. @click="handleDelete(scope.row)"
  147. v-hasPermi="['grassrootsregistration :bdgldiary:remove']"
  148. ><span class="delete">删除</span></el-button
  149. >
  150. </template>
  151. </el-table-column>
  152. </el-table>
  153. <pagination
  154. v-show="total > 0"
  155. :total="total"
  156. :page.sync="queryParams.pageNum"
  157. :limit.sync="queryParams.pageSize"
  158. @pagination="getList"
  159. />
  160. <!-- 添加或修改要事日记对话框 -->
  161. <el-dialog
  162. :title="title"
  163. :visible.sync="open"
  164. width="1016px"
  165. append-to-body
  166. :lock-scroll="false"
  167. >
  168. <el-form
  169. ref="form"
  170. :model="form"
  171. :rules="rules"
  172. label-width="80px"
  173. :inline="true"
  174. >
  175. <div class="jiben">基本信息</div>
  176. <el-form-item label="单位" prop="unitId">
  177. <treeselect
  178. @select="selectPeo"
  179. v-model="form.unitId"
  180. :options="rese"
  181. placeholder="选择单位"
  182. />
  183. </el-form-item>
  184. <el-form-item label="值班人员" prop="peopleId">
  185. <el-select
  186. v-model="form.peopleName"
  187. placeholder="请输入单位"
  188. clearable
  189. @change="btn"
  190. >
  191. <el-option
  192. :label="item.name"
  193. v-for="(item, i) in renYuan"
  194. :key="i"
  195. :value="item"
  196. ></el-option>
  197. </el-select>
  198. </el-form-item>
  199. <el-form-item label="值班日期" prop="blogDate">
  200. <el-date-picker
  201. clearable
  202. size="small"
  203. v-model="form.blogDate"
  204. type="date"
  205. value-format="yyyy-MM-dd"
  206. placeholder="选择值班日期"
  207. class="text"
  208. :editable="false"
  209. @change="blogDate"
  210. >
  211. </el-date-picker>
  212. </el-form-item>
  213. <el-form-item label="天气" prop="weather">
  214. <el-input v-model="form.weather" placeholder="请输入天气" />
  215. </el-form-item>
  216. <el-form-item label="值班首长" prop="peopleId">
  217. <el-select v-model="form.lead" placeholder="请选择首长" clearable>
  218. <el-option
  219. :label="item.userName"
  220. v-for="(item, i) in shouZhang"
  221. :key="i"
  222. :value="item.userId"
  223. ></el-option>
  224. </el-select>
  225. </el-form-item>
  226. <div class="jiben">实力情况</div>
  227. <el-form-item label="编制干部" prop="orgcadre">
  228. <el-input-number
  229. v-model="form.orgcadre"
  230. controls-position="right"
  231. :min="0"
  232. :max="99999999"
  233. ></el-input-number>
  234. </el-form-item>
  235. <el-form-item label="编制战士" prop="orgsoldier">
  236. <!-- <el-input v-model="form.orgsoldier" placeholder="请输入编制战士" /> -->
  237. <el-input-number
  238. v-model="form.orgsoldier"
  239. controls-position="right"
  240. :min="0"
  241. :max="99999999"
  242. ></el-input-number>
  243. </el-form-item>
  244. <el-form-item label="编制文职" prop="orgcivilian">
  245. <!-- <el-input v-model="form.orgcivilian" placeholder="请输入编制文职" /> -->
  246. <el-input-number
  247. v-model="form.orgcivilian"
  248. controls-position="right"
  249. :min="0"
  250. :max="99999999"
  251. ></el-input-number>
  252. </el-form-item>
  253. <el-form-item label="现有干部" prop="nowcadre">
  254. <!-- <el-input v-model="form.nowcadre" placeholder="请输入现有干部" /> -->
  255. <el-input-number
  256. v-model="form.nowcadre"
  257. controls-position="right"
  258. :min="0"
  259. :max="99999999"
  260. ></el-input-number>
  261. </el-form-item>
  262. <el-form-item label="现有战士" prop="nowsoldier">
  263. <el-input-number
  264. v-model="form.nowsoldier"
  265. controls-position="right"
  266. :min="0"
  267. :max="99999999"
  268. ></el-input-number>
  269. </el-form-item>
  270. <el-form-item label="现有文职" prop="nowcivilian">
  271. <!-- <el-input v-model="form.nowcivilian" placeholder="请输入现有文职" /> -->
  272. <el-input-number
  273. v-model="form.nowcivilian"
  274. controls-position="right"
  275. :min="0"
  276. :max="99999999"
  277. ></el-input-number>
  278. </el-form-item>
  279. <div class="jiben">训练、教育或者执行其他任务情况</div>
  280. <div class="box">
  281. <table
  282. border="1"
  283. width="920"
  284. cellspacing="0"
  285. align="center"
  286. style="border-color: white"
  287. >
  288. <tr align="center">
  289. <td width="200">区分</td>
  290. <td colspan="2" width="420">内容</td>
  291. <td width="100">应到人数</td>
  292. <td width="100">实到人数</td>
  293. <td width="100">到课率</td>
  294. </tr>
  295. <tr align="center">
  296. <td>
  297. <el-input v-model="input" placeholder="请输入时间"></el-input>
  298. </td>
  299. <td rowspan="2" colspan="2">
  300. <el-input
  301. type="textarea"
  302. :rows="1"
  303. placeholder="请输入内容"
  304. v-model="textarea"
  305. >
  306. </el-input>
  307. </td>
  308. <td>
  309. <el-input v-model="input" placeholder="应到人数"></el-input>
  310. </td>
  311. <td>
  312. <el-input v-model="input" placeholder="实到人数"></el-input>
  313. </td>
  314. <td>
  315. <el-input v-model="input" placeholder="到课率"></el-input>
  316. </td>
  317. </tr>
  318. </table>
  319. </div>
  320. <div class="jiben">公差勤务</div>
  321. <el-form-item prop="tolerance">
  322. <el-input
  323. v-model="form.tolerance"
  324. type="textarea"
  325. placeholder="请输入内容"
  326. />
  327. </el-form-item>
  328. <div class="jiben">人员调动</div>
  329. <el-form-item prop="transfer">
  330. <el-input
  331. v-model="form.transfer"
  332. type="textarea"
  333. placeholder="请输入内容"
  334. />
  335. </el-form-item>
  336. <div class="jiben">装备变动</div>
  337. <el-form-item prop="equip">
  338. <el-input
  339. v-model="form.equip"
  340. type="textarea"
  341. placeholder="请输入内容"
  342. />
  343. </el-form-item>
  344. <div class="jiben">内务情况</div>
  345. <el-form-item prop="internal">
  346. <el-input
  347. v-model="form.internal"
  348. type="textarea"
  349. placeholder="请输入内容"
  350. />
  351. </el-form-item>
  352. <div class="jiben">配班情况</div>
  353. <el-form-item label="值班组织人" prop="dutylead">
  354. <el-select
  355. v-model="form.dutylead"
  356. placeholder="请输入单位"
  357. clearable
  358. @change="dutylead"
  359. >
  360. <el-option
  361. :label="item.name"
  362. :value="item"
  363. v-for="(item, i) in renYuan"
  364. :key="i"
  365. ></el-option>
  366. </el-select>
  367. </el-form-item>
  368. <el-form-item label="值班交班人" prop="dutya">
  369. <!-- <el-input v-model="form.dutya" placeholder="请输入值班交班人" /> -->
  370. <el-select
  371. v-model="form.dutyA"
  372. placeholder="请输入单位"
  373. clearable
  374. @change="dutya"
  375. >
  376. <el-option
  377. :label="item.name"
  378. :value="item"
  379. v-for="(item, i) in renYuan"
  380. :key="i"
  381. ></el-option>
  382. </el-select>
  383. </el-form-item>
  384. <el-form-item label="值班接班人" prop="dutyb">
  385. <!-- <el-input v-model="form.dutyb" placeholder="请输入值班接班人" /> -->
  386. <el-select
  387. v-model="form.dutyB"
  388. placeholder="请输入单位"
  389. clearable
  390. @change="dutyb"
  391. >
  392. <el-option
  393. :label="item.name"
  394. :value="item"
  395. v-for="(item, i) in renYuan"
  396. :key="i"
  397. ></el-option>
  398. </el-select>
  399. </el-form-item>
  400. <el-form-item label="值日交班人" prop="dutyc">
  401. <!-- <el-input v-model="form.dutyc" placeholder="请输入值日交班人" /> -->
  402. <el-select
  403. v-model="form.dutyC"
  404. placeholder="请输入单位"
  405. clearable
  406. @change="dutyc"
  407. >
  408. <el-option
  409. :label="item.name"
  410. :value="item"
  411. v-for="(item, i) in renYuan"
  412. :key="i"
  413. ></el-option>
  414. </el-select>
  415. </el-form-item>
  416. <el-form-item label="值日接班人" prop="dutyd">
  417. <!-- <el-input v-model="form.dutyd" placeholder="请输入值日接班人" /> -->
  418. <el-select
  419. v-model="form.dutyD"
  420. placeholder="请输入单位"
  421. clearable
  422. @change="dutyd"
  423. >
  424. <el-option
  425. :label="item.name"
  426. :value="item"
  427. v-for="(item, i) in renYuan"
  428. :key="i"
  429. ></el-option>
  430. </el-select>
  431. </el-form-item>
  432. <el-form-item label="厨房交班人" prop="dutye">
  433. <!-- <el-input v-model="form.dutye" placeholder="请输入厨房交班人" /> -->
  434. <el-select
  435. v-model="form.dutyE"
  436. placeholder="请输入单位"
  437. clearable
  438. @change="dutye"
  439. >
  440. <el-option
  441. :label="item.name"
  442. :value="item"
  443. v-for="(item, i) in renYuan"
  444. :key="i"
  445. ></el-option>
  446. </el-select>
  447. </el-form-item>
  448. <el-form-item label="厨房接班人" prop="dutyf">
  449. <el-select
  450. v-model="form.dutyF"
  451. placeholder="请输入单位"
  452. clearable
  453. @change="dutyf"
  454. >
  455. <el-option
  456. :label="item.name"
  457. :value="item"
  458. v-for="(item, i) in renYuan"
  459. :key="i"
  460. ></el-option>
  461. </el-select>
  462. </el-form-item>
  463. <el-form-item label="交接时间" prop="dutyDate">
  464. <el-date-picker
  465. clearable
  466. size="small"
  467. v-model="form.dutyDate"
  468. type="date"
  469. value-format="yyyy-MM-dd"
  470. placeholder="选择交接时间"
  471. >
  472. </el-date-picker>
  473. </el-form-item>
  474. <div class="jiben">病号处理情况</div>
  475. <el-form-item prop="invalid">
  476. <el-input
  477. v-model="form.invalid"
  478. type="textarea"
  479. placeholder="请输入内容"
  480. />
  481. </el-form-item>
  482. <div class="jiben">上级通知</div>
  483. <el-form-item prop="notice">
  484. <el-input
  485. v-model="form.notice"
  486. type="textarea"
  487. placeholder="请输入内容"
  488. />
  489. </el-form-item>
  490. <div class="jiben">一周工作计划合集</div>
  491. <el-form-item prop="weekwork">
  492. <el-input
  493. v-model="form.weekwork"
  494. type="textarea"
  495. placeholder="请输入内容"
  496. />
  497. </el-form-item>
  498. <el-form-item label="审批" prop="examine" v-show="false">
  499. <el-input v-model="form.examine" placeholder="请输入审批" />
  500. </el-form-item>
  501. <el-form-item label="审批" prop="peopleId1" v-show="false">
  502. <el-input v-model="form.peopleId1" placeholder="请输入审批" />
  503. </el-form-item>
  504. <div class="jiben">审批不通过原因</div>
  505. <el-form-item prop="contents">
  506. <el-input
  507. v-model="form.contents"
  508. placeholder="请输入审批不通过原因"
  509. type="textarea"
  510. />
  511. </el-form-item>
  512. <div class="jiben">查铺查哨</div>
  513. <div class="box3">
  514. <el-form v-for="(item1, e) in checkShop" :key="e">
  515. <div >
  516. <el-form-item label="" prop="">
  517. <el-input
  518. v-model="item1.peopleName"
  519. placeholder="检查人"
  520. ></el-input>
  521. </el-form-item>
  522. <el-form-item label="" prop="">
  523. <el-input
  524. v-model="item1.foremanName"
  525. placeholder="领班员"
  526. ></el-input>
  527. </el-form-item>
  528. <el-form-item label="" prop="">
  529. <el-input
  530. v-model="item1.sentryName"
  531. placeholder="哨兵姓名"
  532. ></el-input>
  533. </el-form-item>
  534. <el-form-item label="" prop="">
  535. <el-date-picker
  536. v-model="item1.examineDate"
  537. type="date"
  538. :editable="false"
  539. size="mini"
  540. placeholder="选择日期"
  541. value-format="yyyy-MM-dd"
  542. >
  543. </el-date-picker>
  544. </el-form-item>
  545. <el-form-item label="" prop="">
  546. <el-input
  547. v-model="item1.dialogue"
  548. placeholder="检查情况"
  549. ></el-input>
  550. </el-form-item>
  551. <el-form-item>
  552. <el-button
  553. type="primary"
  554. icon="el-icon-plus"
  555. size="mini"
  556. @click="addForms"
  557. v-if="e==checkShop.length-1"
  558. ></el-button>
  559. <el-button
  560. type="primary"
  561. icon="el-icon-delete"
  562. size="mini"
  563. v-if="e > 0"
  564. @click="delForms(e)"
  565. ></el-button>
  566. </el-form-item>
  567. </div>
  568. </el-form>
  569. </div>
  570. <div class="jiben">临时来队亲属</div>
  571. <div class="box3" >
  572. <el-form v-for="(item1, i) in relatives" :key="i">
  573. <el-form-item label="" prop="">
  574. <el-select v-model="item1.peopleId" placeholder="军人姓名">
  575. <el-option
  576. v-for="item in renYuan"
  577. :key="item.id"
  578. :label="item.name"
  579. :value="item.id"
  580. >
  581. </el-option>
  582. </el-select>
  583. </el-form-item>
  584. <el-form-item label="" prop="">
  585. <el-input
  586. v-model="item1.name"
  587. placeholder="家属姓名"
  588. ></el-input>
  589. </el-form-item>
  590. <el-form-item label="" prop="">
  591. <el-input
  592. v-model="item1.relation"
  593. placeholder="关系"
  594. ></el-input>
  595. </el-form-item>
  596. <el-form-item label="" prop="">
  597. <el-date-picker
  598. v-model="item1.comeDate"
  599. type="date"
  600. :editable="false"
  601. size="mini"
  602. placeholder="来队时间"
  603. value-format="yyyy-MM-dd"
  604. >
  605. </el-date-picker>
  606. </el-form-item>
  607. <el-form-item label="" prop="">
  608. <el-date-picker
  609. v-model="item1.leaveDate"
  610. type="date"
  611. :editable="false"
  612. size="mini"
  613. placeholder="离队时间"
  614. value-format="yyyy-MM-dd"
  615. >
  616. </el-date-picker>
  617. </el-form-item>
  618. <el-form-item>
  619. <el-button
  620. type="primary"
  621. icon="el-icon-plus"
  622. size="mini"
  623. @click="addFormss"
  624. v-if="i==relatives.length-1"
  625. ></el-button>
  626. <el-button
  627. type="primary"
  628. icon="el-icon-delete"
  629. size="mini"
  630. v-if="i > 0"
  631. @click="delFormss(i)"
  632. ></el-button>
  633. </el-form-item>
  634. </el-form>
  635. </div>
  636. </el-form>
  637. <div slot="footer" class="dialog-footer">
  638. <el-button @click="resertwo">重置</el-button>
  639. <el-button type="primary" @click="submitForm(1)">确 定</el-button>
  640. </div>
  641. </el-dialog>
  642. </div>
  643. </div>
  644. </template>
  645. <script>
  646. import {
  647. listBdgldiary,
  648. getBdgldiary,
  649. delBdgldiary,
  650. addBdgldiary,
  651. updateBdgldiary,
  652. exportBdgldiary,
  653. } from "@/api/grassrootsregistration/bdgldiary";
  654. import {
  655. getDept,
  656. getZhuChiRen,
  657. getUser,
  658. getBdgDay,
  659. getShiLi,
  660. getRed,
  661. } from "@/api/grassrootsregistration/bdglmeeting";
  662. import { getDicts } from "@/api/system/dict/data";
  663. // 导入树形结构
  664. import Treeselect from "@riophae/vue-treeselect";
  665. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  666. import { treeselect } from "@/api/system/dept";
  667. export default {
  668. components: { Treeselect },
  669. name: "Bdgldiary",
  670. data() {
  671. return {
  672. //判断关闭
  673. style: "2",
  674. // 获取首长
  675. shouZhang: [],
  676. // 人员组织
  677. renYuan: [],
  678. // 添加的树形单位
  679. rese: [],
  680. // 遮罩层
  681. loading: true,
  682. // 导出遮罩层
  683. exportLoading: false,
  684. // 选中数组
  685. ids: [],
  686. // 非单个禁用
  687. single: true,
  688. // 非多个禁用
  689. multiple: true,
  690. // 显示搜索条件
  691. showSearch: true,
  692. // 总条数
  693. total: 0,
  694. // 要事日记表格数据
  695. bdgldiaryList: [],
  696. // 弹出层标题
  697. title: "",
  698. // 是否显示弹出层
  699. open: false,
  700. // 查询参数
  701. queryParams: {
  702. pageNum: 1,
  703. pageSize: 10,
  704. unitId: null,
  705. peopleId: null,
  706. blogDate: null,
  707. weather: null,
  708. orgcadre: null,
  709. orgsoldier: null,
  710. orgcivilian: null,
  711. nowcadre: null,
  712. nowsoldier: null,
  713. nowcivilian: null,
  714. tolerance: null,
  715. transfer: null,
  716. equip: null,
  717. internal: null,
  718. dutylead: null,
  719. dutyA: null,
  720. dutyB: null,
  721. dutyC: null,
  722. dutyD: null,
  723. dutyE: null,
  724. dutyF: null,
  725. dutyinfoa: null,
  726. dutyinfoc: null,
  727. dutyinfoe: null,
  728. dutyDate: null,
  729. invalid: null,
  730. notice: null,
  731. lead: null,
  732. weekwork: null,
  733. examine: null,
  734. peopleId1: null,
  735. contents: null,
  736. },
  737. // 表单参数
  738. form: {},
  739. // 表单校验
  740. rules: {
  741. unitId: [
  742. { required: true, message: "单位名称不能为空", trigger: "blur" },
  743. ],
  744. peopleId: [
  745. // { required: true, message: "值班人员不能为空", trigger: "blur" },
  746. ],
  747. blogDate: [
  748. { required: true, message: "值班日期不能为空", trigger: "blur" },
  749. ],
  750. weather: [{ required: true, message: "天气不能为空", trigger: "blur" }],
  751. peopleId: [
  752. // { required: true, message: "值班首长不能为空", trigger: "blur" },
  753. ],
  754. orgcadre: [
  755. { required: true, message: "编制干部不能为空", trigger: "blur" },
  756. ],
  757. orgsoldier: [
  758. { required: true, message: "编制战士不能为空", trigger: "blur" },
  759. ],
  760. orgcivilian: [
  761. { required: true, message: "编制文职不能为空", trigger: "blur" },
  762. ],
  763. nowcadre: [
  764. { required: true, message: "现有干部不能为空", trigger: "blur" },
  765. ],
  766. nowsoldier: [
  767. { required: true, message: "现有战士不能为空", trigger: "blur" },
  768. ],
  769. nowcivilian: [
  770. { required: true, message: "现有文职不能为空", trigger: "blur" },
  771. ],
  772. },
  773. BdgDay: [],
  774. // 搜索人员
  775. Renyuan: [],
  776. // 字典类型查询
  777. dictType: {
  778. dictType: "yssp",
  779. },
  780. // 字典数据
  781. ziDian: [],
  782. //左侧树状
  783. deptOptions: undefined,
  784. //左侧时间选择
  785. pickerOptions: {
  786. disabledDate(time) {
  787. return time.getTime() > Date.now();
  788. },
  789. },
  790. defaultProps: {
  791. children: "children",
  792. label: "label",
  793. },
  794. // 组织人搜索列表00
  795. list: [],
  796. // 下拉选项显示隐藏
  797. xiaLa: false,
  798. // 查铺查岗数组
  799. // checkShop: [
  800. // {
  801. // peopleName: null,
  802. // foremanName: null,
  803. // sentryName: null,
  804. // examineDate: null,
  805. // dialogue: null,
  806. // },
  807. // ],
  808. //添加对话框查铺表格为空
  809. checkShop: [
  810. {
  811. peopleName: null,
  812. foremanName: null,
  813. sentryName: null,
  814. examineDate: null,
  815. dialogue: null,
  816. },
  817. ],
  818. //添加对话框来访人员表格为空
  819. relatives: [
  820. {
  821. peopleId: null,
  822. name: null,
  823. relation: null,
  824. comeDate: null,
  825. leaveDate: null,
  826. },
  827. ],
  828. // 临时来队亲属
  829. relatives: [
  830. {
  831. peopleId: null,
  832. name: null,
  833. relation: null,
  834. comeDate: null,
  835. leaveDate: null,
  836. },
  837. ],
  838. // 搜索时间保存
  839. tiem: null,
  840. input2: "",
  841. options: "",
  842. input: "",
  843. textarea: "",
  844. };
  845. },
  846. created() {
  847. this.getList();
  848. // 获取单位
  849. this.getDept();
  850. // 获取字典通过未通过
  851. this.getdict();
  852. // 获取部门树形
  853. this.treeselect();
  854. // 外部树形
  855. this.getTreeselect();
  856. this.getGreeg();
  857. },
  858. methods: {
  859. // 获取小红小绿状态
  860. getGreeg() {
  861. getRed().then((res) => {
  862. console.log(res);
  863. });
  864. },
  865. // 选中军人触发
  866. junRen(val) {
  867. this.relatives[0].peopleId = val.id;
  868. this.relatives[0].peopleName = val.name;
  869. },
  870. /** 查询部门下拉树结构 */
  871. getTreeselect() {
  872. getDept().then((response) => {
  873. this.rese = response.data;
  874. });
  875. },
  876. // 增加对话框查铺
  877. addForms() {
  878. this.checkShop.push({
  879. peopleName: null,
  880. foremanName: null,
  881. sentryName: null,
  882. examineDate: null,
  883. dialogue: null,
  884. });
  885. },
  886. // 删除对话框查铺
  887. delForms(i) {
  888. this.checkShop.splice(i, 1);
  889. },
  890. //增加对话框临时来访人员
  891. addFormss() {
  892. this.relatives.push({
  893. peopleId: null,
  894. name: null,
  895. relation: null,
  896. comeDate: null,
  897. leaveDate: null,
  898. });
  899. },
  900. //删除对话框临时来访人员
  901. delFormss(e) {
  902. this.relatives.splice(e, 1);
  903. },
  904. // 获取部门树形
  905. treeselect() {
  906. getDept().then((res) => {
  907. this.deptOptions = res.data;
  908. });
  909. },
  910. //外面树形选择搜索
  911. handleNodeClick(data) {
  912. this.queryParams.unitId = data.id;
  913. this.getList();
  914. },
  915. // 选择值班人触发
  916. btn(val) {
  917. // console.log(val);
  918. this.form.peopleId1 = val.id;
  919. this.form.peopleName = val.name;
  920. },
  921. // 选择值班组织人触发
  922. dutylead(val) {
  923. this.form.dutylead = val.name;
  924. },
  925. // 配班情况
  926. dutya(val) {
  927. this.form.dutya = val.name;
  928. },
  929. dutyb(val) {
  930. this.form.dutyb = val.name;
  931. },
  932. dutyc(val) {
  933. this.form.dutyc = val.name;
  934. },
  935. dutyd(val) {
  936. this.form.dutyd = val.name;
  937. },
  938. dutye(val) {
  939. this.form.dutye = val.name;
  940. },
  941. dutyf(val) {
  942. this.form.dutyf = val.name;
  943. },
  944. // 当选择单位时候重置人员
  945. chongZhi(){
  946. this.form={
  947. peopleId:null,
  948. lead:null,
  949. dutyA:null,
  950. dutyB:null,
  951. dutyC:null,
  952. dutyD:null,
  953. dutyE:null,
  954. dutyF:null,
  955. dutylead:null,
  956. },
  957. this.relatives=[
  958. {
  959. peopleId:null
  960. }
  961. ]
  962. },
  963. // 当点击完成值班时间的选择发起请求
  964. blogDate() {
  965. // console.log(11);
  966. getBdgDay(this.form).then((res) => {
  967. this.BdgDay = res.data;
  968. });
  969. },
  970. // 获取实力情况
  971. getShiLiRen(id) {
  972. getShiLi(id).then((res) => {
  973. console.log(res, "获得实力情况");
  974. this.form.orgcadre = res.data.ganbu;
  975. this.form.orgsoldier = res.data.shiBin;
  976. this.form.orgcivilian = res.data.wenZhi;
  977. this.form.nowcadre = res.data.xianYouGanBu;
  978. this.form.nowsoldier = res.data.xianYouShiBin;
  979. this.form.nowcivilian = res.data.xianYouWenZhi;
  980. });
  981. },
  982. // 单位选折触发
  983. selectPeo(data) {
  984. this.chongZhi()
  985. this.form.unitId = data.id;
  986. // 获取实力情况
  987. this.form.deptId = data.id;
  988. this.getShiLiRen(this.form.deptId);
  989. this.getRenYuan(this.form.unitId);
  990. this.getShou(this.form.unitId);
  991. },
  992. // 根据部门获取人员
  993. getRenYuan(id) {
  994. getZhuChiRen(id).then((res) => {
  995. console.log(res);
  996. this.renYuan = res.data;
  997. });
  998. },
  999. // 获取首长
  1000. getShou(id) {
  1001. getUser(id).then((res) => {
  1002. console.log(res, "获取首长");
  1003. this.shouZhang = res.data;
  1004. });
  1005. },
  1006. // 搜索第一个选中触发
  1007. search() {
  1008. getZhuChiRen(this.queryParams.deptId).then((res) => {
  1009. this.Renyuan = res.data;
  1010. });
  1011. this.getList();
  1012. },
  1013. // 搜索审批触发
  1014. approve(val) {
  1015. this.queryParams.examine = val * 1;
  1016. this.getList();
  1017. },
  1018. // 字典查询
  1019. getdict() {
  1020. getDicts(this.dictType.dictType).then((res) => {
  1021. // console.log(res);
  1022. this.ziDian = res.data;
  1023. });
  1024. },
  1025. /** 查询要事日记列表 */
  1026. getList() {
  1027. this.loading = true;
  1028. listBdgldiary(this.queryParams).then((response) => {
  1029. this.bdgldiaryList = response.rows;
  1030. this.total = response.total;
  1031. this.loading = false;
  1032. });
  1033. },
  1034. // 查询单位列表
  1035. async getDept() {
  1036. const res = await getDept();
  1037. this.rese = res.data;
  1038. },
  1039. // 取消按钮
  1040. cancel() {
  1041. this.open = false;
  1042. this.reset();
  1043. },
  1044. // 表单重置
  1045. reset() {
  1046. this.form = {
  1047. id: null,
  1048. unitId: null,
  1049. peopleId: null,
  1050. blogDate: null,
  1051. weather: null,
  1052. orgcadre: null,
  1053. orgsoldier: null,
  1054. orgcivilian: null,
  1055. nowcadre: null,
  1056. nowsoldier: null,
  1057. nowcivilian: null,
  1058. tolerance: null,
  1059. transfer: null,
  1060. equip: null,
  1061. internal: null,
  1062. dutylead: null,
  1063. dutya: null,
  1064. dutyb: null,
  1065. dutyc: null,
  1066. dutyd: null,
  1067. dutye: null,
  1068. dutyf: null,
  1069. dutyinfoa: null,
  1070. dutyinfoc: null,
  1071. dutyinfoe: null,
  1072. dutyDate: null,
  1073. invalid: null,
  1074. notice: null,
  1075. lead: null,
  1076. weekwork: null,
  1077. examine: null,
  1078. peopleId1: null,
  1079. contents: null,
  1080. createId: null,
  1081. createName: null,
  1082. };
  1083. this.relatives= [
  1084. {
  1085. name: null,
  1086. relation: null,
  1087. comeDate: null,
  1088. leaveDate: null,
  1089. peopleId: null,
  1090. peopleName: null,
  1091. },
  1092. ],
  1093. this. checkShop=[
  1094. {
  1095. peopleName: null,
  1096. foremanName: null,
  1097. sentryName: null,
  1098. examineDate: null,
  1099. dialogue: null,
  1100. },
  1101. ],
  1102. this.resetForm("form");
  1103. },
  1104. /** 对话框重置按钮操作 */
  1105. resertwo() {
  1106. this.reset();
  1107. },
  1108. /** 搜索按钮操作 */
  1109. handleQuery() {
  1110. this.queryParams.pageNum = 1;
  1111. this.getList();
  1112. },
  1113. /** 重置按钮操作 */
  1114. resetQuery() {
  1115. this.resetForm("queryForm");
  1116. this.handleQuery();
  1117. },
  1118. // 多选框选中数据
  1119. handleSelectionChange(selection) {
  1120. this.ids = selection.map((item) => item.id);
  1121. this.single = selection.length !== 1;
  1122. this.multiple = !selection.length;
  1123. },
  1124. /** 新增按钮操作 */
  1125. handleAdd(e) {
  1126. // 获取首长
  1127. this.shouZhang= [],
  1128. // 人员组织
  1129. this.renYuan= [],
  1130. this.treeselect();
  1131. this.getTreeselect();
  1132. this.reset();
  1133. this.open = true;
  1134. this.title = "添加要事日记";
  1135. this.style = 2;
  1136. e.preventDefault();
  1137. },
  1138. /** 修改按钮操作 */
  1139. handleUpdate(row) {
  1140. this.getTreeselect();
  1141. this.treeselect();
  1142. this.reset();
  1143. const id = row.id || this.ids;
  1144. getBdgldiary(id).then((response) => {
  1145. this.form = response.data;
  1146. // 请求人员
  1147. this.getRenYuan(this.form.unitId);
  1148. // 请求首长
  1149. this.getShou(this.form.unitId);
  1150. this.open = true;
  1151. this.checkShop = response.data.inspect;
  1152. this.relatives = response.data.kinsfolk;
  1153. this.title = "修改要事日记";
  1154. });
  1155. },
  1156. // 查看按钮操作
  1157. handleChakan(row) {
  1158. this.reset();
  1159. const id = row.id || this.ids;
  1160. getBdgldiary(id).then((response) => {
  1161. this.form = response.data;
  1162. this.open = true;
  1163. this.title = "查看要事日记";
  1164. });
  1165. },
  1166. /** 提交按钮 */
  1167. submitForm(style) {
  1168. this.style = style;
  1169. this.$refs["form"].validate((valid) => {
  1170. if (valid) {
  1171. this.form.inspect = this.checkShop;
  1172. this.form.kinsfolk = this.relatives;
  1173. if (this.form.id != null) {
  1174. updateBdgldiary(this.form).then((response) => {
  1175. console.log(this.form);
  1176. this.$modal.msgSuccess("修改成功");
  1177. this.open = false;
  1178. this.getList();
  1179. });
  1180. } else {
  1181. // 查铺查哨
  1182. this.form.inspect = this.checkShop;
  1183. // 来对亲属
  1184. this.form.kinsfolk = this.relatives;
  1185. addBdgldiary(this.form).then((response) => {
  1186. this.$modal.msgSuccess("新增成功");
  1187. this.open = false;
  1188. this.getList();
  1189. });
  1190. }
  1191. }
  1192. });
  1193. },
  1194. /** 删除按钮操作 */
  1195. handleDelete(row) {
  1196. const ids = row.id || this.ids;
  1197. this.$modal
  1198. .confirm('是否确认删除要事日记编号为"' + ids + '"的数据项?')
  1199. .then(function () {
  1200. return delBdgldiary(ids);
  1201. })
  1202. .then(() => {
  1203. this.getList();
  1204. this.$modal.msgSuccess("删除成功");
  1205. })
  1206. .catch(() => {});
  1207. },
  1208. /** 导出按钮操作 */
  1209. handleExport() {
  1210. const queryParams = this.queryParams;
  1211. this.$modal
  1212. .confirm("是否确认导出所有要事日记数据项?")
  1213. .then(() => {
  1214. this.exportLoading = true;
  1215. return exportBdgldiary(queryParams);
  1216. })
  1217. .then((response) => {
  1218. this.$download.name(response.msg);
  1219. this.exportLoading = false;
  1220. })
  1221. .catch(() => {});
  1222. },
  1223. },
  1224. };
  1225. </script>
  1226. <style scoped>
  1227. /deep/.el-dialog {
  1228. width: 1016px !important;
  1229. background-color: #004d86;
  1230. }
  1231. /deep/.el-dialog__header {
  1232. border-bottom: 1px solid #718a9d;
  1233. }
  1234. /deep/.el-dialog__title {
  1235. color: #fff;
  1236. font: 18px;
  1237. }
  1238. /deep/.el-dialog__headerbtn .el-dialog__close {
  1239. color: #fff;
  1240. }
  1241. /deep/.el-form-item__label {
  1242. font: 16px;
  1243. color: #fff;
  1244. width: 100px !important;
  1245. }
  1246. /deep/.el-input--small .el-input__inner {
  1247. width: 200px !important;
  1248. height: 36px;
  1249. }
  1250. /deep/.el-textarea__inner {
  1251. width: 920px;
  1252. height: 104px;
  1253. }
  1254. /deep/.el-select-dropdown__list {
  1255. border: none;
  1256. }
  1257. .el-date-table,
  1258. .el-select-dropdown__item {
  1259. color: #fff;
  1260. }
  1261. .el-select-dropdown__item.hover,
  1262. .el-select-dropdown__item:hover {
  1263. background-color: #196299;
  1264. }
  1265. .el-select-dropdown__item.hover,
  1266. .el-select-dropdown__item:hover {
  1267. color: #fff !important;
  1268. }
  1269. /deep/.el-dialog__body {
  1270. margin: 0px 20px;
  1271. box-sizing: border-box;
  1272. padding: 30px 12px 30px 28px;
  1273. }
  1274. /* 表单背景 */
  1275. /deep/.el-input__inner {
  1276. background-color: transparent;
  1277. color: #fff;
  1278. }
  1279. /* 调整表单间距 */
  1280. ::v-deep .el-date-editor.el-input,
  1281. .el-date-editor.el-input__inner {
  1282. width: 200px;
  1283. }
  1284. .el-dialog__body .roll-dialog {
  1285. padding: 3px, 30px;
  1286. overflow-y: auto;
  1287. }
  1288. .box {
  1289. font-size: 14px;
  1290. color: #fff;
  1291. padding: 0 12px 0 0;
  1292. }
  1293. /deep/.btn {
  1294. width: 76px;
  1295. height: 36px;
  1296. color: #fff;
  1297. background-color: #1d96ff;
  1298. border-radius: 4px;
  1299. border: none;
  1300. margin-left: 20px;
  1301. font-size: 14px;
  1302. }
  1303. /deep/.el-icon-refresh {
  1304. font-size: 16px;
  1305. margin-left: -3px;
  1306. }
  1307. /deep/.el-input-number__increase {
  1308. background-color: transparent !important;
  1309. border: none;
  1310. color: #cccccc;
  1311. border-bottom: none !important;
  1312. }
  1313. /deep/.el-input-number__decrease {
  1314. background-color: transparent !important;
  1315. border: none !important;
  1316. color: #cccccc;
  1317. }
  1318. ::v-deep .el-form-item__content {
  1319. width: 200px;
  1320. cursor: pointer !important;
  1321. }
  1322. /* 单位框背景颜色 */
  1323. ::v-deep .vue-treeselect__control {
  1324. background: #004d86 !important;
  1325. color: #fff;
  1326. }
  1327. /* 单位下拉菜单选中字体颜色 */
  1328. ::v-deep .vue-treeselect__single-value {
  1329. color: #fff !important;
  1330. }
  1331. /* 分页按钮 */
  1332. ::v-deep .el-pagination.is-background .el-pager li {
  1333. background-color: #004d86;
  1334. color: #fff;
  1335. }
  1336. ::v-deep .el-pagination.is-background .btn-next {
  1337. background-color: #004d86;
  1338. color: #fff;
  1339. }
  1340. ::v-deep .el-pagination.is-background .btn-prev,
  1341. .el-pagination.is-background .btn-next,
  1342. .el-pagination.is-background .el-pager li {
  1343. background: #004d86 !important;
  1344. color: #fff !important;
  1345. }
  1346. .app-container {
  1347. display: flex;
  1348. }
  1349. /* 左侧树状盒子 */
  1350. .app-container .box-lfet {
  1351. width: 15%;
  1352. height: 740px;
  1353. /* background: #003156; */
  1354. /* padding: 10px; */
  1355. margin-right: 10px;
  1356. /* border: 1px solid white; */
  1357. }
  1358. /* 右侧内容盒子 */
  1359. .app-container .box-right {
  1360. flex: 1;
  1361. }
  1362. .app-container .box-lfet .data {
  1363. height: 40px;
  1364. background: #003156;
  1365. margin-bottom: 12px;
  1366. color: #fff;
  1367. display: flex;
  1368. font-size: 13px;
  1369. line-height: 25px;
  1370. position: relative;
  1371. }
  1372. .el-tree {
  1373. padding: 10px;
  1374. background: #003156;
  1375. color: #fff;
  1376. }
  1377. ::v-deep .el-tree-node__content:hover {
  1378. background-color: #004d86 !important;
  1379. }
  1380. ::v-deep .el-tree-node:focus > .el-tree-node__content {
  1381. background-color: #003156 !important;
  1382. }
  1383. ::v-deep .el-table__empty-block {
  1384. background-color: #004d86 !important;
  1385. }
  1386. ::v-deep .el-table .el-table__header-wrapper th,
  1387. .el-table .el-table__fixed-header-wrapper th {
  1388. word-break: break-word;
  1389. background-color: #004d86 !important;
  1390. color: #fff;
  1391. }
  1392. /* ::v-deep .box-lfet .data .el-input__inner {
  1393. background-color: transparent;
  1394. color: #fff;
  1395. width: 130px;
  1396. border: none;
  1397. } */
  1398. /* ::v-deep .box-lfet .data .el-input__prefix {
  1399. right: 0px;
  1400. } */
  1401. .box-lfet .dadui {
  1402. height: 40px;
  1403. background: #003156;
  1404. /* border-bottom: 1px solid #718A9D ; */
  1405. background-image: url(../../../images/矩形底部边框.png);
  1406. background-repeat: no-repeat;
  1407. background-position: 0px 39px;
  1408. font-size: 16px;
  1409. color: #1d96ff;
  1410. }
  1411. .box-lfet .dadui img {
  1412. margin: 10px 10px 0px 10px;
  1413. }
  1414. .box-lfet .data p {
  1415. position: absolute;
  1416. top: -5px;
  1417. left: 15px;
  1418. }
  1419. .box-lfet .data .a1 {
  1420. width: 128px;
  1421. height: 26px;
  1422. background: rgba(23, 74, 112, 0.4);
  1423. border-radius: 13px;
  1424. position: absolute;
  1425. top: 7px;
  1426. left: 60px;
  1427. }
  1428. ::v-deep .data .el-date-editor.el-input {
  1429. width: 100%;
  1430. border: none;
  1431. }
  1432. ::v-deep .data .el-input__inner {
  1433. width: 100% !important;
  1434. border: none;
  1435. }
  1436. ::v-deep .data .el-input--medium .el-input__icon {
  1437. line-height: 36px;
  1438. position: absolute;
  1439. right: -223px;
  1440. top: 2px;
  1441. }
  1442. ::v-deep .data .el-input__inner {
  1443. background-color: transparent;
  1444. color: #fff;
  1445. text-align: center;
  1446. margin-top: 2px;
  1447. }
  1448. ::v-deep .data .el-input__suffix {
  1449. position: absolute;
  1450. right: 281px;
  1451. }
  1452. /* 输入框显示手指 */
  1453. ::v-deep .el-input__inner {
  1454. cursor: pointer !important;
  1455. }
  1456. /* 训练、教育或者执行其他任务情况 */
  1457. .box {
  1458. margin-bottom: 25px;
  1459. }
  1460. ::v-deep .box .el-textarea__inner {
  1461. width: 395px;
  1462. border: none;
  1463. height: 50px;
  1464. }
  1465. ::v-deep .box .el-input__inner {
  1466. width: 100%;
  1467. height: 100%;
  1468. border: none;
  1469. text-align: center;
  1470. }
  1471. /* 查铺查哨-临时来对亲属 */
  1472. .box3 {
  1473. width: 920px;
  1474. min-height: 70px;
  1475. border: 1px solid white;
  1476. border-radius: 5px;
  1477. /* background: #409eff; */
  1478. margin-bottom: 30px;
  1479. padding-top: 15px;
  1480. padding-left: 15px;
  1481. }
  1482. /* 表单长度 */
  1483. ::v-deep .box3 .el-form-item__content {
  1484. width: 116px;
  1485. }
  1486. ::v-deep .box3 .el-input__inner {
  1487. width: 116px;
  1488. height: 37px;
  1489. }
  1490. /* 添加删除按钮 */
  1491. ::v-deep .box3 .el-button {
  1492. width: 32px;
  1493. height: 32px;
  1494. text-align: center;
  1495. margin-left: -6px;
  1496. margin-right: 3px;
  1497. margin-left: 8px;
  1498. }
  1499. ::v-deep .box3 .el-button .el-icon-plus {
  1500. margin-left: -6px;
  1501. }
  1502. ::v-deep .box3 .el-button .el-icon-delete {
  1503. margin-left: -6px;
  1504. }
  1505. ::v-deep .el-input__prefix {
  1506. display: none;
  1507. }
  1508. ::v-deep .el-date-editor.el-input {
  1509. width: 116px;
  1510. height: 36px;
  1511. line-height: 36px;
  1512. }
  1513. ::v-deep .box3 .el-form-item__content .el-input__inner {
  1514. padding: 0px 15px;
  1515. }
  1516. .el-dialog__body {
  1517. color: #fff;
  1518. }
  1519. ::v-deep .vue-treeselect__menu {
  1520. background: #004d86;
  1521. }
  1522. </style>