detail.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. <template>
  2. <div class="page" v-loading="pageLoading">
  3. <el-form label-width="130px">
  4. <div class="content-detail" v-show="num == 1">
  5. <div class="basic-details">
  6. <HeaderTitle title="基本信息" size="16px">
  7. <el-button
  8. type="primary"
  9. @click="
  10. $router.push({
  11. path: '/doneTickets',
  12. query: { title: '保养工单' }
  13. })
  14. "
  15. >返回</el-button
  16. >
  17. </HeaderTitle>
  18. <el-row>
  19. <el-col :span="12">
  20. <el-col :span="12">
  21. <el-form-item label="计划单号">
  22. <span> {{ infoData.planCode }} </span>
  23. </el-form-item>
  24. </el-col>
  25. <el-col :span="12">
  26. <el-form-item label="来源计划配置单号">
  27. <span> {{ infoData.planConfigCode }} </span>
  28. </el-form-item>
  29. </el-col>
  30. <el-col :span="12">
  31. <el-form-item label="名称">
  32. <span> {{ infoData.planName }} </span>
  33. </el-form-item>
  34. </el-col>
  35. <el-col :span="12">
  36. <el-form-item label="部门">
  37. <span>
  38. {{ infoData.executeGroupName }}
  39. </span>
  40. </el-form-item>
  41. </el-col>
  42. <el-col :span="12">
  43. <el-form-item label="人员">
  44. <span>
  45. {{ infoData.executeUserName }}
  46. </span>
  47. </el-form-item>
  48. </el-col>
  49. <el-col :span="12">
  50. <el-form-item label="计划完成时长">
  51. <span v-if="infoData.duration >= 0"
  52. >{{ infoData.duration }}分钟</span
  53. >
  54. </el-form-item>
  55. </el-col>
  56. <el-col :span="12">
  57. <el-form-item label="周期">
  58. <span v-if="infoData.ruleInfo">
  59. {{ infoData.ruleInfo.cycleValue
  60. }}{{
  61. getDictValue('巡点检周期', infoData.ruleInfo.cycleType)
  62. }}
  63. </span>
  64. </el-form-item>
  65. </el-col>
  66. <el-col :span="12">
  67. <el-form-item label="设备分类">
  68. <span> {{ infoData.categoryLevelName }} </span>
  69. </el-form-item>
  70. </el-col>
  71. <el-col :span="12">
  72. <el-form-item label="规则名称">
  73. <span>
  74. {{ infoData.ruleName }}
  75. </span>
  76. </el-form-item>
  77. </el-col>
  78. <el-col :span="12">
  79. <el-form-item label="创建部门">
  80. <span> {{ infoData.createGroupName }} </span>
  81. </el-form-item>
  82. </el-col>
  83. <el-col :span="12">
  84. <el-form-item label="创建人">
  85. <span> {{ infoData.createUserName }} </span>
  86. </el-form-item>
  87. </el-col>
  88. <el-col :span="12">
  89. <el-form-item label="创建时间">
  90. <span> {{ infoData.createTime }} </span>
  91. </el-form-item>
  92. </el-col>
  93. <el-col :span="24">
  94. <el-form-item label="备注">
  95. <span> {{ infoData.remark }} </span>
  96. </el-form-item>
  97. </el-col>
  98. </el-col>
  99. <el-col :span="12">
  100. <img :src="data.imageUrl" alt="" />
  101. </el-col>
  102. </el-row>
  103. </div>
  104. <!-- 巡点检、执行信息 -->
  105. <!-- <div class="execute_info">
  106. <div class="execute_info_title">
  107. <span>执行信息</span>
  108. <span
  109. >执行人:{{ data.executeUserName }}
  110. <i style="margin: 0 18px"></i> 执行时间:{{
  111. data.acceptTime
  112. }}</span
  113. >
  114. </div>
  115. <HeaderTitle title="执行信息" size="16px"></HeaderTitle>
  116. <el-row class="execute_row">
  117. <el-col :span="8" class="column">
  118. <span class="label">确认结果:</span>
  119. <span class="value">{{
  120. infoData.status ? infoData.status.descp : ''
  121. }}</span>
  122. </el-col>
  123. <el-col :span="8" class="column">
  124. <span class="label">实际开始时间:</span>
  125. <span class="value">{{ infoData.acceptTime }}</span>
  126. </el-col>
  127. <el-col :span="8" class="column">
  128. <span class="label">实际结束时间:</span>
  129. <span class="value">{{ infoData.finishTime }}</span>
  130. </el-col>
  131. <el-col :span="24" class="column">
  132. <span class="label">超期原因:</span>
  133. <span class="value">{{ infoData.timeoutCause }}</span>
  134. </el-col>
  135. </el-row>
  136. </div> -->
  137. <!-- 巡点检、保养设备 -->
  138. <div class="maintain_equipment_info">
  139. <HeaderTitle title="保养设备" size="16px"></HeaderTitle>
  140. <div class="maintain_equipment_info_content">
  141. <div
  142. class="equipment_item"
  143. v-for="item in infoData.deviceList"
  144. :key="item.id"
  145. >
  146. <div class="equipment_info" v-if="item.substance">
  147. <div class="item_info">
  148. <span class="item_label">设备编码</span>
  149. <span class="item_value">{{ item.substance.code }}</span>
  150. </div>
  151. <div class="item_info">
  152. <span class="item_label">设备名称</span>
  153. <span class="item_value">{{ item.substance.name }}</span>
  154. </div>
  155. <div class="item_info">
  156. <span class="item_label">设备型号</span>
  157. <span class="item_value">{{ item.substance.model }}</span>
  158. </div>
  159. <div class="item_info">
  160. <span class="item_label">设备位置</span>
  161. <span class="item_value">{{
  162. item.substance.positionNames
  163. }}</span>
  164. </div>
  165. </div>
  166. <p>操作事项</p>
  167. <div class="ruleMatters_box">
  168. <el-table :data="item.workItems" border>
  169. <el-table-column label="序号" width="50">
  170. <template slot-scope="scope">
  171. <span>{{ scope.$index + 1 }}</span>
  172. </template>
  173. </el-table-column>
  174. <el-table-column label="事项" prop="name" width="100">
  175. <template slot-scope="scope">
  176. <div>
  177. <span>{{ scope.row.name }}</span>
  178. </div>
  179. </template>
  180. </el-table-column>
  181. <el-table-column label="内容" prop="content" width="300">
  182. <template slot-scope="scope">
  183. <div>
  184. <span>{{ scope.row.content }}</span>
  185. </div>
  186. </template>
  187. </el-table-column>
  188. <el-table-column label="操作指导" prop="operationGuide">
  189. <template slot-scope="scope">
  190. <div class="operationGuide_box">
  191. <div class="left_content">
  192. <template v-if="scope.row.operationGuide">
  193. <div
  194. v-for="(item, index) in scope.row.operationGuide
  195. .toolList"
  196. :key="item.id"
  197. >{{ index + 1 }}.{{ item.name }}</div
  198. >
  199. </template>
  200. </div>
  201. <div class="line"></div>
  202. <div class="right_content">
  203. <template v-if="scope.row.operationGuide">
  204. <div
  205. v-for="(item, index) in scope.row.operationGuide
  206. .procedureList"
  207. :key="item.id"
  208. >{{ index + 1 }}.{{ item.content }}</div
  209. >
  210. </template>
  211. </div>
  212. </div>
  213. </template>
  214. </el-table-column>
  215. <el-table-column label="标准" prop="norm" width="100">
  216. <template slot-scope="scope">
  217. <div>
  218. <span>{{ scope.row.norm }}</span>
  219. </div>
  220. </template>
  221. </el-table-column>
  222. <el-table-column label="状态" prop="status" width="100">
  223. <template slot-scope="scope">
  224. <div>
  225. <span>{{ options[scope.row.status] }}</span>
  226. </div>
  227. </template>
  228. </el-table-column>
  229. <el-table-column
  230. label="现场照片"
  231. prop="photoList"
  232. width="300"
  233. >
  234. <template slot-scope="scope">
  235. <div>
  236. <el-image
  237. v-for="imgItem in scope.row.photoList"
  238. :key="imgItem"
  239. style="width: 100px; height: 100px"
  240. :src="imgItem"
  241. :preview-src-list="scope.row.photoList"
  242. >
  243. </el-image>
  244. </div>
  245. </template>
  246. </el-table-column>
  247. <el-table-column label="结果" prop="result" width="200">
  248. </el-table-column>
  249. </el-table>
  250. </div>
  251. <!-- <div class="matter_info">
  252. <el-table :data="item.workItems || []" border>
  253. <el-table-column label="序号" align="center" width="80">
  254. <template slot-scope="scope">
  255. <span>{{ scope.$index + 1 }}</span>
  256. </template>
  257. </el-table-column>
  258. <el-table-column label="事项" prop="item" />
  259. <el-table-column label="内容" prop="content" />
  260. <el-table-column label="标准" prop="standard" />
  261. </el-table>
  262. </div> -->
  263. </div>
  264. <!-- <div class="btnbox" v-if="$route.query.isshow">
  265. <el-button class="confirm-btn" type="danger" plain @click="reject"
  266. >驳回</el-button
  267. >
  268. <el-button class="confirm-btn" type="success" plain @click="pass"
  269. >通过</el-button
  270. >
  271. <el-button class="cancel-btn">关闭</el-button>
  272. </div> -->
  273. <!-- <div class="textbox" v-if="showtext">
  274. <el-input
  275. type="textarea"
  276. placeholder="请输入驳回原因"
  277. v-model="cause"
  278. maxlength="30"
  279. rows="5"
  280. show-word-limit
  281. >
  282. </el-input>
  283. <div class="textbtnbox">
  284. <el-button size="small" round @click="cancelreject"
  285. >取消</el-button
  286. >
  287. <el-button size="small" round @click="surereject"
  288. >提交</el-button
  289. >
  290. </div>
  291. </div> -->
  292. </div>
  293. </div>
  294. <!-- <div class="maintain_equipment_info">
  295. <HeaderTitle title="巡点检设备" size="16px"></HeaderTitle>
  296. <div class="maintain_equipment_info_content">
  297. <div
  298. class="equipment_item"
  299. v-for="item in infoData.deviceList"
  300. :key="item.id"
  301. >
  302. <div class="equipment_info" v-if="item.substance">
  303. <div class="item_info">
  304. <span class="item_label">设备编码</span>
  305. <span class="item_value">{{ item.substance.code }}</span>
  306. </div>
  307. <div class="item_info">
  308. <span class="item_label">设备名称</span>
  309. <span class="item_value">{{ item.substance.name }}</span>
  310. </div>
  311. <div class="item_info">
  312. <span class="item_label">设备型号</span>
  313. <span class="item_value">{{ item.substance.model }}</span>
  314. </div>
  315. <div class="item_info">
  316. <span class="item_label">设备位置</span>
  317. <span class="item_value">{{
  318. item.substance.positionNames
  319. }}</span>
  320. </div>
  321. </div>
  322. <p>操作事项</p>
  323. <div class="ruleMatters_box">
  324. <el-table :data="item.workItems" border>
  325. <el-table-column label="序号" width="50">
  326. <template slot-scope="scope">
  327. <span>{{ scope.$index + 1 }}</span>
  328. </template>
  329. </el-table-column>
  330. <el-table-column label="事项" prop="name" width="100">
  331. <template slot-scope="scope">
  332. <div>
  333. <span>{{ scope.row.name }}</span>
  334. </div>
  335. </template>
  336. </el-table-column>
  337. <el-table-column label="内容" prop="content" width="300">
  338. <template slot-scope="scope">
  339. <div>
  340. <span>{{ scope.row.content }}</span>
  341. </div>
  342. </template>
  343. </el-table-column>
  344. <el-table-column label="操作指导" prop="operationGuide">
  345. <template slot-scope="scope">
  346. <div class="operationGuide_box">
  347. <div class="left_content">
  348. <template v-if="scope.row.operationGuide">
  349. <div
  350. v-for="(item, index) in scope.row.operationGuide
  351. .toolList"
  352. :key="item.id"
  353. >{{ index + 1 }}.{{ item.name }}</div
  354. >
  355. </template>
  356. </div>
  357. <div class="line"></div>
  358. <div class="right_content">
  359. <template v-if="scope.row.operationGuide">
  360. <div
  361. v-for="(item, index) in scope.row.operationGuide
  362. .procedureList"
  363. :key="item.id"
  364. >{{ index + 1 }}.{{ item.content }}</div
  365. >
  366. </template>
  367. </div>
  368. </div>
  369. </template>
  370. </el-table-column>
  371. <el-table-column label="标准" prop="norm" width="100">
  372. <template slot-scope="scope">
  373. <div>
  374. <span>{{ scope.row.norm }}</span>
  375. </div>
  376. </template>
  377. </el-table-column>
  378. <el-table-column label="状态" prop="status" width="100">
  379. <template slot-scope="scope">
  380. <div>
  381. <span>{{ options[scope.row.status] }}</span>
  382. </div>
  383. </template>
  384. </el-table-column>
  385. <el-table-column label="结果" prop="result" width="200">
  386. </el-table-column>
  387. </el-table>
  388. </div>
  389. </div> -->
  390. <!-- <div class="btnbox" v-if="$route.query.isshow">
  391. <el-button class="confirm-btn" type="danger" plain @click="reject"
  392. >驳回</el-button
  393. >
  394. <el-button class="confirm-btn" type="success" plain @click="pass"
  395. >通过</el-button
  396. >
  397. <el-button class="cancel-btn">关闭</el-button>
  398. </div> -->
  399. <!-- <div class="textbox" v-if="showtext">
  400. <el-input
  401. type="textarea"
  402. placeholder="请输入驳回原因"
  403. v-model="cause"
  404. maxlength="30"
  405. rows="5"
  406. show-word-limit
  407. >
  408. </el-input>
  409. <div class="textbtnbox">
  410. <el-button size="small" round @click="cancelreject"
  411. >取消</el-button
  412. >
  413. <el-button size="small" round @click="surereject"
  414. >提交</el-button
  415. >
  416. </div>
  417. </div> -->
  418. <!-- </div>
  419. </div> -->
  420. <!-- 巡点检、缺陷设备报修记录 -->
  421. <!-- <div class="repair_notes">
  422. <HeaderTitle title="缺陷设备报修记录" size="16px"></HeaderTitle>
  423. <div class="repair_notes_equipment_item">
  424. <el-row class="equipment_item_tilte">
  425. <el-col :span="8">
  426. <span class="label">设备名称:</span>
  427. <span>{{ repairNotes.equiName }}</span>
  428. </el-col>
  429. <el-col :span="8">
  430. <span class="label">规格型号:</span>
  431. <span>{{ repairNotes.equiModel }}</span>
  432. </el-col>
  433. <el-col :span="8">
  434. <span class="label">设备编码:</span>
  435. <span>{{ repairNotes.equiCode }}</span>
  436. </el-col>
  437. </el-row>
  438. <div class="main_info">
  439. <div>
  440. <span>报修记录编号:</span>
  441. <span>{{ repairNotes.repairsCode }}</span>
  442. </div>
  443. <div>
  444. <span>故障描述:</span>
  445. <span>{{ repairNotes.repairsDescription }}</span>
  446. </div>
  447. <div>
  448. <span>处理进度:</span>
  449. <span>{{ statusObj[repairNotes.status] }}</span>
  450. </div>
  451. </div>
  452. </div>
  453. </div> -->
  454. </div>
  455. </el-form>
  456. </div>
  457. </template>
  458. <script>
  459. import dictMixins from '@/mixins/dictMixins';
  460. import { getWordOrderDetail } from '@/api/tickets';
  461. export default {
  462. mixins: [dictMixins],
  463. data() {
  464. return {
  465. options: {
  466. 0: '正常',
  467. '-1': '缺陷'
  468. },
  469. num: 1,
  470. infoData: {},
  471. dialogVisible: false,
  472. data: {},
  473. repairNotes: {},
  474. pageLoading: false,
  475. typeValue: null,
  476. contract_type: [],
  477. status: [
  478. {
  479. value: true,
  480. label: '失效'
  481. },
  482. {
  483. value: false,
  484. label: '生效'
  485. }
  486. ],
  487. ruleItem: [],
  488. cause: '',
  489. showtext: false,
  490. from: null
  491. };
  492. },
  493. created() {
  494. this.requestDict('巡点检周期');
  495. this.getInfo();
  496. },
  497. methods: {
  498. // getStatus: useDictLabel(patrolMatterStatus),
  499. delete() {},
  500. // 点击切换事件
  501. tab(index) {
  502. this.num = index;
  503. },
  504. goBack() {
  505. window.sessionStorage.setItem('patrolTabType', 'work');
  506. if (this.form) {
  507. this.$router.push({
  508. path: '/workspace/workOrder',
  509. query: { activeName: 'polling' }
  510. });
  511. } else {
  512. this.$router.go(-1);
  513. }
  514. },
  515. // 表格数据
  516. getInfo() {
  517. this.pageLoading = true;
  518. getWordOrderDetail(this.$route.query.id)
  519. .then((data) => {
  520. this.infoData = data;
  521. // if (res.success) {
  522. // this.data = res.data;
  523. // this.data.planEquiList = this.data.planEquiList.filter(
  524. // (item) => item.itemList && item.itemList.length > 0
  525. // );
  526. // // 获取 缺陷设备报修记录
  527. // const repairId = res.data.planEquiList[0].repairId;
  528. // if (repairId) {
  529. // this.getRepairNotes(repairId);
  530. // }
  531. // }
  532. this.pageLoading = false;
  533. })
  534. .catch(() => {
  535. this.pageLoading = false;
  536. });
  537. },
  538. // 获取 缺陷设备报修记录
  539. async getRepairNotes(repairId) {
  540. const res = await repair.getInfo(repairId);
  541. if (res?.success) {
  542. console.log('缺陷设备报修记录:', res.data);
  543. this.repairNotes = res.data;
  544. }
  545. },
  546. //通过按钮事件
  547. pass() {
  548. let params = {
  549. planId: this.$route.query.id,
  550. checked: 2,
  551. myHandleId: this.$route.query.dbid,
  552. cause: this.cause,
  553. type: 2, //1维修;2保养,巡点检
  554. handleType: 0 //办理类型(0 审批 1 验收)
  555. };
  556. sendAudit(params).then((res) => {
  557. if (res.success) {
  558. this.$message.success('审批通过!');
  559. this.$router.back();
  560. }
  561. });
  562. },
  563. //驳回按钮事件
  564. reject() {
  565. this.showtext = true;
  566. },
  567. cancelreject() {
  568. this.showtext = false;
  569. this.cause = '';
  570. },
  571. surereject() {
  572. if (!this.cause) {
  573. this.$message.info('请填写驳回原因!');
  574. } else {
  575. let params = {
  576. id: this.$route.query.id,
  577. checked: 0,
  578. myHandleId: this.$route.query.dbid,
  579. cause: this.cause,
  580. type: 2, //1维修;2保养,巡点检
  581. handleType: 0 //办理类型(0 审批 1 验收)
  582. };
  583. sendAudit(params).then((res) => {
  584. if (res.success) {
  585. this.$message.error('审批驳回!');
  586. this.$router.back();
  587. }
  588. });
  589. }
  590. }
  591. }
  592. };
  593. </script>
  594. <style lang="scss" scoped>
  595. // @import '@/assets/css/oaa.scss';
  596. .page {
  597. padding: 10px;
  598. }
  599. .page-title {
  600. background: #fff;
  601. font-size: 18px;
  602. padding: 6px 20px;
  603. font-weight: 500;
  604. .page-title-div {
  605. margin: 5px 0;
  606. height: 30px;
  607. line-height: 30px;
  608. border-bottom: 1px solid #eaeefb;
  609. .title-div-no {
  610. margin-left: 10px;
  611. font-weight: 400;
  612. color: #909090;
  613. font-size: 14px;
  614. }
  615. }
  616. }
  617. .page-data {
  618. padding-top: 10px;
  619. }
  620. .content-detail {
  621. background: #fff;
  622. padding: 20px;
  623. }
  624. .flows {
  625. .flow-left {
  626. width: 156px;
  627. height: 70px;
  628. border: 1px dashed #ccc;
  629. padding: 10px;
  630. }
  631. .row {
  632. margin-top: 13px;
  633. }
  634. }
  635. .basic-details-title {
  636. margin-bottom: 12px;
  637. margin-top: 20px;
  638. border-bottom: 1px solid #1890ff;
  639. padding-bottom: 8px;
  640. display: flex;
  641. justify-content: space-between;
  642. }
  643. .basic-details-title .border-span {
  644. height: 18px;
  645. font-size: 16px;
  646. border-left: 4px solid #1890ff;
  647. padding-left: 8px;
  648. font-weight: 500;
  649. }
  650. .heade-right {
  651. // float: right;
  652. .heade-right-content {
  653. margin-right: 12px;
  654. font-size: 14px;
  655. display: inline-block;
  656. .content-key {
  657. color: #3e3e3e;
  658. margin-right: 12px;
  659. font-weight: 500;
  660. }
  661. .content-value {
  662. color: #000;
  663. }
  664. }
  665. }
  666. .list-title {
  667. font-size: 14px;
  668. color: #3e3e3e;
  669. margin: 10px 0px;
  670. }
  671. .goods {
  672. background: #a30014;
  673. border: 1px solid #a30014;
  674. }
  675. .details-title {
  676. display: inline-block;
  677. color: #6e6e6e;
  678. font-size: 14px;
  679. font-weight: bold;
  680. margin-right: 13px;
  681. width: 70px;
  682. text-align: right;
  683. }
  684. .details-con {
  685. color: #3e3e3e;
  686. font-size: 14px;
  687. }
  688. .detailed-tab {
  689. margin-left: 10px;
  690. margin-top: 10px;
  691. }
  692. ::v-deep .el-form-item--medium .el-form-item__label {
  693. color: #6e6e6e;
  694. font-size: 14px;
  695. font-weight: bold;
  696. }
  697. .warehouse {
  698. display: block;
  699. border-bottom: 1px solid #eaeefb;
  700. padding: 10px 0;
  701. }
  702. .box-card {
  703. .store-box {
  704. width: 80%;
  705. .store-box-span {
  706. display: inline-block;
  707. font-size: 14px;
  708. height: 50px;
  709. width: 50px;
  710. text-align: center;
  711. line-height: 50px;
  712. color: #fff;
  713. margin: 2px;
  714. }
  715. }
  716. }
  717. .vacant {
  718. background: #3196fb;
  719. }
  720. .inUse {
  721. background: #157a2c;
  722. }
  723. .invalid {
  724. background: #cccccc;
  725. }
  726. .full {
  727. background: #cc3300;
  728. }
  729. .maintain_equipment_info {
  730. .maintain_equipment_info_title {
  731. border-bottom: 1px solid #1890ff;
  732. padding-bottom: 3px;
  733. margin-bottom: 20px;
  734. > span {
  735. display: inline-block;
  736. line-height: 16px;
  737. border-left: 6px solid #1890ff;
  738. padding-left: 6px;
  739. }
  740. }
  741. .maintain_equipment_info_content {
  742. padding: 0 30px;
  743. .equipment_item {
  744. border: 1px solid #ccc;
  745. font-size: 14px;
  746. padding: 15px;
  747. margin-bottom: 30px;
  748. .equipment_info {
  749. display: flex;
  750. flex-wrap: wrap;
  751. border: 1px solid #ddd;
  752. .item_info {
  753. width: 33.33%;
  754. height: 24px;
  755. line-height: 24px;
  756. display: flex;
  757. .item_label {
  758. width: 90px;
  759. text-align: center;
  760. background-color: #f2f2f2;
  761. font-weight: 700;
  762. }
  763. .item_value {
  764. border-bottom: 1px solid #f2f2f2;
  765. flex: 1;
  766. padding-left: 5px;
  767. }
  768. &:last-child {
  769. width: 100%;
  770. .item_value {
  771. border: 0;
  772. }
  773. }
  774. }
  775. }
  776. > p {
  777. margin-top: 20px;
  778. color: #797979;
  779. }
  780. .matter_info {
  781. ::v-deep .el-table {
  782. th.el-table__cell {
  783. background-color: #f2f2f2;
  784. padding: 0;
  785. }
  786. td.el-table__cell {
  787. padding: 0;
  788. }
  789. }
  790. }
  791. .ruleMatters_box {
  792. flex: 3;
  793. height: 100%;
  794. display: flex;
  795. flex-direction: column;
  796. .divider {
  797. flex: 0 0 50px;
  798. .title {
  799. height: 35px;
  800. }
  801. }
  802. .el-table {
  803. overflow: auto;
  804. .operationGuide_box {
  805. width: 100%;
  806. display: flex;
  807. position: relative;
  808. .left_content {
  809. flex: 0 0 300px;
  810. padding: 10px;
  811. margin-right: 10px;
  812. overflow-y: auto;
  813. }
  814. .line {
  815. position: absolute;
  816. top: -10px;
  817. left: 300px;
  818. bottom: -10px;
  819. height: 110%;
  820. width: 1px;
  821. background-color: #ededed;
  822. }
  823. .right_content {
  824. flex: 1;
  825. padding: 10px;
  826. overflow-y: auto;
  827. }
  828. }
  829. }
  830. }
  831. }
  832. }
  833. }
  834. .execute_info {
  835. margin: 30px 0;
  836. .execute_info_title {
  837. border-bottom: 1px solid #1890ff;
  838. padding-bottom: 3px;
  839. margin-bottom: 20px;
  840. display: flex;
  841. justify-content: space-between;
  842. > span:first-child {
  843. line-height: 16px;
  844. border-left: 6px solid #1890ff;
  845. padding-left: 6px;
  846. }
  847. }
  848. .execute_row {
  849. padding: 0 30px;
  850. .column {
  851. display: flex;
  852. font-size: 14px;
  853. margin-bottom: 20px;
  854. .label {
  855. // width: 110px;
  856. text-align: center;
  857. font-weight: 700;
  858. }
  859. }
  860. }
  861. }
  862. .repair_notes {
  863. .repair_notes_title {
  864. border-bottom: 1px solid #1890ff;
  865. padding-bottom: 3px;
  866. margin-bottom: 20px;
  867. > span {
  868. display: inline-block;
  869. line-height: 16px;
  870. border-left: 6px solid #1890ff;
  871. padding-left: 6px;
  872. }
  873. }
  874. .repair_notes_equipment_item {
  875. padding: 0 20px;
  876. .equipment_item_tilte {
  877. background-color: #f7f7f7;
  878. height: 36px;
  879. line-height: 36px;
  880. .label {
  881. font-weight: 700;
  882. }
  883. }
  884. .main_info {
  885. font-size: 14px;
  886. margin-top: 15px;
  887. > div {
  888. margin-bottom: 10px;
  889. }
  890. }
  891. }
  892. }
  893. .btnbox {
  894. display: flex;
  895. justify-content: center;
  896. }
  897. ::v-deep .el-button {
  898. padding: 10px 20px;
  899. margin-right: 10px;
  900. }
  901. .textbtnbox {
  902. margin-top: 10px;
  903. display: flex;
  904. justify-content: center;
  905. }
  906. </style>