indexSZ.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. <!--
  2. *@description: 工程历史详情
  3. *@author: yh Fu
  4. *@date: 2024-1-8 10:04:23
  5. *@version: V1.0.5
  6. -->
  7. <template>
  8. <div style="width: 100%;height: 100%;">
  9. <el-dialog
  10. :visible.sync="dialogVisible"
  11. :title="titleName"
  12. width="60%"
  13. append-to-body
  14. custom-class="ConstructionDetailsDialog">
  15. <el-tabs type="card" v-model="activeNames" @tab-click="viewSource" class="projectTabs">
  16. <el-tab-pane
  17. :label="e.label"
  18. :name="e.value"
  19. v-for="(e,idx) in currentDicts"
  20. :key="idx"
  21. >
  22. <el-checkbox-group v-model="checkList">
  23. <el-collapse
  24. class="rmOldPie"
  25. v-for="(e,idx) in currentCollapses"
  26. :key="idx"
  27. >
  28. <el-collapse-item :name="idx">
  29. <template slot="title">
  30. <div style="display: flex;width: 100%;height: 100%;">
  31. <el-checkbox :label="e.id" @change="handleCheckedCitiesChange">
  32. <h2 style="margin-left: 1%;font-weight: 700;">{{ e.updateTime }}</h2>
  33. </el-checkbox>
  34. <h2 style="margin-left: 20%;font-weight: 700;" v-if="['review','put'].includes(status)">
  35. {{ e.state == '0' ? "该施工信息审核未通过" : "" }}</h2>
  36. <h2 style="margin-left: 20%;font-weight: 700; color: #1ab394" v-if="['review','put'].includes(status)">
  37. {{ e.state == 1 ? "该施工信息审核通过" : "" }}</h2>
  38. </div>
  39. </template>
  40. <div class="personInfo">
  41. <span>施工人:{{ userNames[idx].nickName }}</span>
  42. <span>施工人电话:{{ userNames[idx].phonenumber }}</span>
  43. </div>
  44. <hr>
  45. <el-form :model="e">
  46. <el-form-item
  47. :prop="e.remark"
  48. :class="'labelWidth'"
  49. label="施工内容"
  50. label-width="95px"
  51. >
  52. <div class="block" style="display: inline-block; margin-right: 20px;">
  53. <el-input v-model="e.remark" placeholder="请输入施工内容" style="width: 100%" maxlength="100"
  54. type="textarea" :readonly="['review','read-only'].includes(status)"></el-input>
  55. </div>
  56. </el-form-item>
  57. </el-form>
  58. <!-- 用料明细 -->
  59. <div v-if="['焊接、防腐','架空管线','下管','沟下连头'].includes(activeNames)"
  60. v-for="(i,index) in e.zEngineeringMaterialBo || [] "
  61. :key="index"
  62. >
  63. <el-form :model="nodeInfo" class="nodeForm materialForm">
  64. <el-form-item
  65. :prop="i.materialQuality"
  66. :class="'labelWidth'"
  67. :label="'材质'"
  68. label-width="95px"
  69. >
  70. <el-select v-model="i.materialQuality" placeholder="请选择材质" style="width: 100%"
  71. @change="getEnginSpecificationsList(i, index,idx)" :disabled="['review','read-only'].includes(status)">
  72. <el-option
  73. v-for="e in materialQualityList"
  74. :key="e.id"
  75. :label="e.name"
  76. :value="e.id"
  77. ></el-option>
  78. </el-select>
  79. </el-form-item>
  80. <el-form-item
  81. :prop="i.specifications"
  82. :class="'labelWidth'"
  83. label="规格"
  84. label-width="95px"
  85. >
  86. <el-select v-model="i.specifications" placeholder="请选择规格" style="width: 100%"
  87. :disabled="['review','read-only'].includes(status)">
  88. <el-option
  89. v-for="e in corrosionLevelListAll.filter(o => o.materId == i.materialQuality)"
  90. :key="e.id"
  91. :label="e.name"
  92. :value="e.id"
  93. ></el-option>
  94. </el-select>
  95. </el-form-item>
  96. <!-- <el-form-item-->
  97. <!-- :prop="i.remark + ''"-->
  98. <!-- :class="'labelWidth'"-->
  99. <!-- label="施工内容"-->
  100. <!-- label-width="95px"-->
  101. <!-- >-->
  102. <!-- <div class="block" style="display: inline-block; margin-right: 20px;">-->
  103. <!-- <el-input v-model="i.remark" placeholder="请输入施工内容" style="width: 100%" maxlength="100"-->
  104. <!-- type="textarea" :disabled="status == 'read-only'"></el-input>-->
  105. <!-- </div>-->
  106. <!-- </el-form-item>-->
  107. <el-form-item
  108. :prop="i.number + ''"
  109. :class="'labelWidth'"
  110. label="米数"
  111. label-width="95px"
  112. >
  113. <div class="block" style="display: inline-block; margin-right: 20px;">
  114. <el-input v-model="i.number" placeholder="请输入米数" style="width: 100%"
  115. oninput="value=value.match(/\d+(\.\d{0,1})?/) ? value.match(/\d+(\.\d{0,1})?/)[0] : ''"
  116. max="999999999" :disabled="['review','read-only'].includes(status)"></el-input>
  117. </div>
  118. </el-form-item>
  119. <!-- <el-form-item-->
  120. <!-- :prop="i.remark + ''"-->
  121. <!-- label="描述"-->
  122. <!-- >-->
  123. <!-- <div class="block" style="display: inline-block; margin-right: 20px;">-->
  124. <!-- <el-input v-model="i.remark" placeholder="请输入描述" style="width: 100%" maxlength="100"-->
  125. <!-- :disabled="status == 'read-only'"></el-input>-->
  126. <!-- </div>-->
  127. <!-- </el-form-item>-->
  128. </el-form>
  129. </div>
  130. <div v-if="['阀井'].includes(activeNames)"
  131. v-for="(i,index) in e.zEngineeringMaterialBo || [] "
  132. :key="index"
  133. >
  134. <el-form :model="nodeInfo" class="nodeForm materialForm">
  135. <el-form-item
  136. :prop="i.remark"
  137. :class="'labelWidth'"
  138. label="型号"
  139. label-width="95px"
  140. >
  141. <el-input v-model="i.remark" placeholder="请输入型号" style="width: 100%" maxlength="100"
  142. type="textarea" :disabled="['review','read-only'].includes(status)"></el-input>
  143. </el-form-item>
  144. </el-form>
  145. </div>
  146. <div style="display: flex;width: 100%;height: 100%;" v-if="activeNames != '回填、撤场'">
  147. <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">图片</h3>
  148. <ObsImageUpload
  149. :class=" (status == 'read-only' || status == 'review' )? 'obsImageUploads' : '' "
  150. ref="obsImageUpload"
  151. :limit="11"
  152. :fileType="['png', 'jpg', 'jpeg']"
  153. @input="getUrl(arguments,idx)"
  154. :value="e.zEngiineeringPhotoBoList"
  155. :disabled="['review','read-only'].includes(status)"
  156. ></ObsImageUpload>
  157. </div>
  158. <div style="display: flex;width: 100%;height: 100%;" v-if="activeNames == '回填、撤场'">
  159. <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">回填前</h3>
  160. <ObsImageUpload
  161. :class=" (status == 'read-only' || status == 'review' )? 'obsImageUploads' : '' "
  162. ref="obsImageUpload1"
  163. :limit="11"
  164. :fileType="['png', 'jpg', 'jpeg']"
  165. @input="getUrl1(arguments,idx)"
  166. :value="e.zEngiineeringPhotoBoListOne"
  167. :disabled="['review','read-only'].includes(status)"
  168. ></ObsImageUpload>
  169. </div>
  170. <div style="display: flex;width: 100%;height: 100%;" v-if="activeNames == '回填、撤场'">
  171. <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">铺设警示带</h3>
  172. <ObsImageUpload
  173. :class=" (status == 'read-only' || status == 'review' )? 'obsImageUploads' : '' "
  174. ref="obsImageUpload2"
  175. :limit="11"
  176. :fileType="['png', 'jpg', 'jpeg']"
  177. @input="getUrl2(arguments,idx)"
  178. :value="e.zEngiineeringPhotoBoListTwo"
  179. :disabled="['review','read-only'].includes(status)"
  180. ></ObsImageUpload>
  181. </div>
  182. <div style="display: flex;width: 100%;height: 100%;" v-if="activeNames == '回填、撤场'">
  183. <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">回填后</h3>
  184. <ObsImageUpload
  185. :class=" (status == 'read-only' || status == 'review' )? 'obsImageUploads' : '' "
  186. ref="obsImageUpload3"
  187. :limit="11"
  188. :fileType="['png', 'jpg', 'jpeg']"
  189. @input="getUrl3(arguments,idx)"
  190. :value="e.zEngiineeringPhotoBoListThree"
  191. :disabled="['review','read-only'].includes(status)"
  192. ></ObsImageUpload>
  193. </div>
  194. <div style="display: flex; justify-content: flex-end; width: 100%;height: 100%;"
  195. v-if="status == 'put'">
  196. <el-button plain type="danger" @click=" handleDelete(e)"
  197. v-hasPermi="['zdsz:engineeringCivilNode:remove']" style="width: 94px;">删除
  198. </el-button>
  199. </div>
  200. </el-collapse-item>
  201. </el-collapse>
  202. </el-checkbox-group>
  203. </el-tab-pane>
  204. <el-button class="check" plain type="danger" @click="checkWorking"
  205. v-if="status == 'review' " style="width: 80px;"
  206. :disabled="currentCollapses.length == 0">审核
  207. </el-button>
  208. <el-button class="check" plain type="danger" @click="updateNodeOption" style="width: 94px;cursor: pointer;"
  209. v-if="status == 'put' ">修改
  210. </el-button>
  211. </el-tabs>
  212. </el-dialog>
  213. <!-- 审核 -->
  214. <el-dialog
  215. title="审核"
  216. :visible.sync="checkingVisible"
  217. :title="titleName"
  218. width="30%"
  219. class="checkingDialog"
  220. :before-close="handleChecking">
  221. <el-form :model="checkingInfo" ref="checking" :rules="checkingRule" class="nodeForm">
  222. <el-form-item
  223. label-width="85px"
  224. label="审核状态"
  225. prop="reviewStatus"
  226. >
  227. <el-select v-model="checkingInfo.reviewStatus" placeholder="请选择审核状态" style="width: 100%"
  228. label="审核状态" @change="validateCHanged">
  229. <el-option
  230. v-for="e in reviewStatusList"
  231. :key="e.label"
  232. :label="e.label"
  233. :value="e.value"
  234. ></el-option>
  235. </el-select>
  236. </el-form-item>
  237. <el-form-item
  238. label-width="85px"
  239. label="审核内容"
  240. prop="reviewContent"
  241. >
  242. <div class="block" style="display: inline-block; margin-right: 20px;">
  243. <el-input
  244. v-model="checkingInfo.reviewContent"
  245. placeholder="请输入审核内容"
  246. type="textarea"
  247. style="width: 97%"/>
  248. </div>
  249. </el-form-item>
  250. </el-form>
  251. <span slot="footer" class="dialog-footer">
  252. <el-button @click="handleChecking">取 消</el-button>
  253. <el-button type="primary" @click=checkingSubmit>确 定</el-button>
  254. </span>
  255. </el-dialog>
  256. </div>
  257. </template>
  258. <script>
  259. import {
  260. deleteinfoById,
  261. getEnginMaterialQualityList, // 材质
  262. getEnginSpecificationsList, // 规格
  263. } from '@/api/zdsz/enginee'
  264. import {selectUserByUserName} from '@/api/system/user'
  265. import ObsVideoUpload from "@/components/ObsVideoUpload/index.vue";
  266. export default {
  267. name: '市政info',
  268. dicts: [],
  269. components: {ObsVideoUpload},
  270. props: ['currentCollapses', 'nodeDetailType', 'enginType', 'status', 'zEngineeringNodeBo'],
  271. data() {
  272. return {
  273. kind: null,
  274. userNames: [],
  275. checkList: [],
  276. enginNode: '',
  277. currentDicts: [], // 当前类型工程节点项
  278. dialogVisible: false,
  279. activeNames: '',
  280. titleName: '',
  281. reviewStatusList: [
  282. {
  283. value: '1',
  284. label: '通过'
  285. },
  286. {
  287. value: '0',
  288. label: '不通过'
  289. }
  290. ],
  291. nodesource: '',// 审核状态option
  292. materialQualityList: [], // 材质
  293. specificationsList: [], // 规格
  294. materialComponList: [],
  295. engineType: null,
  296. enginClassification: null,
  297. nodeInfo: {
  298. backfillTime: '', // 回填时间
  299. constructTime: '',
  300. constructAccordingDrawings: '',
  301. segmentedCompressionQualified: '',
  302. zEngiineeringPhotoBoList: [], // 照片集合
  303. zEngiineeringPhotoBoListOne: [], // 照片集合
  304. zEngiineeringPhotoBoListTwo: [], // 照片集合
  305. zEngiineeringPhotoBoListThree: [], // 照片集合
  306. zEngineeringMaterialBo: [], // 用料集合
  307. remark: '',
  308. constructAddre: ''
  309. },
  310. checkingInfo: {
  311. reviewStatus: '', // 审核状态
  312. reviewContent: '', // 审核内容
  313. engInfoId: '', // 节点Id
  314. createTime: '', // 工程创建时间
  315. },
  316. currentStatus: null,
  317. checkingVisible: null,
  318. isChecking: true,
  319. currentEnginId: null,
  320. reviewStatus: null,
  321. corrosionLevelListAll: [],
  322. infoIdList: [],
  323. delinfoidList: [],
  324. checkingRule: {
  325. reviewStatus: [
  326. {required: true, message: "审核状态不能为空", trigger: "blur"}
  327. ],
  328. reviewContent: [
  329. {required: true, message: "审核内容不能为空", trigger: "change"}
  330. ],
  331. },
  332. node: null
  333. }
  334. },
  335. created() {
  336. },
  337. mounted() {
  338. this.getGoods()
  339. },
  340. watch: {
  341. // 此处监听variable变量,当期有变化时执行
  342. currentDicts(item1, item2) {
  343. this.activeNames = item1[0].value
  344. this.$parent.viewNodeSource(item1[0].value)
  345. },
  346. currentCollapses() {
  347. console.log('currentCollapses', this.currentCollapses)
  348. this.userNames = [];
  349. for (let i in this.currentCollapses) {
  350. selectUserByUserName(this.currentCollapses[i].createBy).then(res => {
  351. this.userNames.push(res);
  352. })
  353. }
  354. try {
  355. this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != 1 ? this.isChecking = true : false
  356. } catch (error) {
  357. this.isChecking = true
  358. }
  359. console.log('isChecking', this.isChecking)
  360. let materialQuality = []
  361. try {
  362. materialQuality = this.currentCollapses[0].zEngineeringMaterialBo[0].materialQuality
  363. } catch (error) {
  364. materialQuality = []
  365. }
  366. try {
  367. this.reviewStatus = this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != '1' ? true : false
  368. } catch (error) {
  369. this.reviewStatus = true
  370. }
  371. if (materialQuality) {
  372. getEnginSpecificationsList({materId: materialQuality}).then(res => {
  373. this.specificationsList = res.data
  374. })
  375. }
  376. }
  377. },
  378. methods: {
  379. getGoods() {
  380. // 获取材质
  381. let enginType = '市政工程'
  382. getEnginMaterialQualityList({enginType: enginType}).then(res => {
  383. this.materialQualityList = res.data
  384. })
  385. // 获取规格
  386. getEnginSpecificationsList().then(res => {
  387. this.corrosionLevelListAll = res.data
  388. })
  389. },
  390. handleCheckedCitiesChange(e) {
  391. this.infoIdList = this.currentCollapses.filter(item => this.checkList.indexOf(item.id) > -1)
  392. this.delinfoidList = this.currentCollapses.map(item => item.id).filter(item => this.checkList.indexOf(item) == -1)
  393. },
  394. validateCHanged(e) {
  395. this.reviewStatusList[e].label == '通过' ? this.checkingRule.reviewContent[0].required = true : this.checkingRule.reviewContent[0].required = false
  396. },
  397. handleChecking() {
  398. this.checkingVisible = false
  399. this.checkingInfo = {
  400. reviewStatus: '', // 审核状态
  401. reviewContent: '', // 审核内容
  402. engInfoId: '', // 节点Id
  403. createTime: '', // 工程创建时间
  404. }
  405. this.$refs.checking.resetFields()
  406. },
  407. // 保存节点Id
  408. setEngineId(e) {
  409. this.currentEnginId = e
  410. },
  411. // 提交审核
  412. checkingSubmit() {
  413. this.$confirm('此操作将删除其他施工信息, 是否继续?', '提示', {
  414. confirmButtonText: '确定',
  415. cancelButtonText: '取消',
  416. type: 'warning'
  417. }).then(() => {
  418. this.shenhe()
  419. }).catch(() => {
  420. });
  421. },
  422. shenhe() {
  423. this.$refs.checking.validate(valid => {
  424. if (valid) {
  425. try {
  426. this.checkingInfo.engInfoName = this.activeNames
  427. this.checkingInfo.engInfoId = this.currentEnginId
  428. this.checkingInfo.delInfoIdList = this.delinfoidList
  429. this.checkingInfo.infoIdList = this.infoIdList
  430. this.$emit('checkWorking', this.checkingInfo,this.activeNames=='回填、撤场'?1:0)
  431. this.checkList = []
  432. } catch (error) {
  433. this.checkingInfo.engInfoId = null
  434. }
  435. this.checkingVisible = false
  436. this.checkingInfo = {
  437. reviewStatus: '', // 审核状态
  438. reviewContent: '', // 审核内容
  439. engInfoId: '', // 节点Id
  440. createTime: '', // 工程创建时间
  441. }
  442. } else {
  443. this.$message({
  444. message: '请完善信息',
  445. type: 'error'
  446. });
  447. throw 'valid Failed'
  448. }
  449. })
  450. },
  451. // 查看单节点历史
  452. viewSource(e) {
  453. console.log('节点', e)
  454. this.node = e.name
  455. this.nodesource = e
  456. let data = {enginType: this.enginType}
  457. getEnginMaterialQualityList(data).then(res => {
  458. this.materialQualityList = res.data
  459. })
  460. this.$parent.viewNodeSource(e.name)
  461. },
  462. // 单项审核
  463. checkWorking() {
  464. if (this.checkList.length == 0) {
  465. this.$message.warning("请选择需要审核通过的施工信息")
  466. return
  467. }
  468. if (this.status == 'review') {
  469. this.checkingVisible = true
  470. }
  471. },
  472. updateNodeOption() {
  473. if (this.checkList.length == 0) {
  474. this.$message.warning("请选择需要修改的施工信息")
  475. return
  476. }
  477. const intersection = this.currentCollapses.filter(value => this.checkList.includes(value.id));
  478. this.$emit('updateNodeOption', intersection)
  479. },
  480. deleteById(e) {
  481. deleteinfoById(e).then(res => {
  482. this.viewSource(this.nodesource)
  483. })
  484. },
  485. handleDelete(row) {
  486. this.$modal.confirm('是否确认删除所选数据项?').then(() => {
  487. this.loading = true;
  488. return this.deleteById(row)
  489. }).then(() => {
  490. this.loading = false;
  491. this.getList();
  492. this.$modal.msgSuccess("删除成功");
  493. }).catch(() => {
  494. }).finally(() => {
  495. this.loading = false;
  496. });
  497. },
  498. /**
  499. * 查看历史
  500. * @param dicts 节点集合
  501. * @param currentStatus
  502. * @param title 标题
  503. * @param enginType 工程分类
  504. * @param status 页面状态
  505. */
  506. open(dicts, currentStatus = null, title = null, enginType, status) {
  507. this.status = status;
  508. if (dicts && dicts[0]) {
  509. this.node = dicts[0].value
  510. }
  511. this.engineType = enginType
  512. let data = {enginType: enginType}
  513. getEnginMaterialQualityList(data).then(res => {
  514. this.materialQualityList = res.data
  515. })
  516. this.currentStatus = currentStatus
  517. this.titleName = title
  518. this.checkingVisible = false
  519. this.currentDicts = dicts
  520. this.$parent.viewNodeSource()
  521. this.dialogVisible = true
  522. this.$forceUpdate()
  523. },
  524. // 获取材质规格
  525. getEnginSpecificationsList(e, idx, parentIndex) {
  526. // 重置规格
  527. this.currentCollapses[parentIndex].zEngineeringMaterialBo[idx].specifications = ''
  528. getEnginSpecificationsList({materId: e.materialQuality}).then(res => {
  529. console.log('规格', res.data)
  530. this.specificationsList = res.data
  531. })
  532. },
  533. getUrl(_, idx) {
  534. this.currentCollapses[idx].zEngiineeringPhotoBoList = [...arguments][0][0].map(e => e.url) || [];
  535. },
  536. getUrl1(_, idx) {
  537. this.currentCollapses[idx].zEngiineeringPhotoBoListOne = [...arguments][0][0].map(e => e.url) || [];
  538. },
  539. getUrl2(_, idx) {
  540. this.currentCollapses[idx].zEngiineeringPhotoBoListTwo = [...arguments][0][0].map(e => e.url) || [];
  541. },
  542. getUrl3(_, idx) {
  543. this.currentCollapses[idx].zEngiineeringPhotoBoListThree = [...arguments][0][0].map(e => e.url) || [];
  544. },
  545. }
  546. }
  547. </script>
  548. <style lang="scss" scoped>
  549. ::v-deep .nodeForm {
  550. .el-form-item__content {
  551. display: flex;
  552. }
  553. }
  554. ::v-deep .materialForm {
  555. display: flex !important;
  556. flex-wrap: wrap;
  557. .el-form-item {
  558. width: 320px;
  559. }
  560. }
  561. ::v-deep .obsImageUpload {
  562. .el-upload--picture-card {
  563. display: block !important;
  564. }
  565. }
  566. ::v-deep .obsImageUpload > div {
  567. display: flex;
  568. }
  569. ::v-deep .el-dialog {
  570. height: 85%;
  571. .el-dialog__body {
  572. overflow: hidden;
  573. height: 91%;
  574. }
  575. }
  576. ::v-deep .el-upload-notShow {
  577. .el-upload--picture-card {
  578. display: none;
  579. }
  580. }
  581. ::v-deep .labelWidth {
  582. .el-form-item__label {
  583. width: 100px;
  584. }
  585. }
  586. ::v-deep .obsImageUploads {
  587. .el-upload--picture-card {
  588. display: none;
  589. }
  590. }
  591. .ConstructionDetailsDialog {
  592. position: absolute;
  593. .projectTabs {
  594. height: 100%;
  595. overflow: hidden;
  596. overflow-y: scroll;
  597. margin-top: 4%;
  598. ::v-deep .el-tabs__content {
  599. margin-top: 1%;
  600. }
  601. ::v-deep .el-tabs__nav {
  602. border: none;
  603. overflow: hidden;
  604. overflow-x: scroll;
  605. }
  606. ::v-deep .el-tabs__item {
  607. // width: 47%;
  608. border: 1px solid #a3d3ff;
  609. border-radius: 5px;
  610. }
  611. ::v-deep .el-tabs__item.is-active {
  612. background-color: #e8f4ff;
  613. color: #1890ff;
  614. }
  615. ::v-deep .el-tabs__header {
  616. position: fixed;
  617. width: 53%;
  618. border: none;
  619. top: 13%;
  620. }
  621. ::v-deep .el-collapse-item__wrap {
  622. padding: 0 4%;
  623. }
  624. .check {
  625. position: fixed;
  626. right: 22.1%;
  627. top: 13.1%;
  628. height: 4.6%;
  629. //background-color: #CC9900;
  630. //color: #fff;
  631. }
  632. }
  633. .projectTabs::-webkit-scrollbar {
  634. display: none;
  635. }
  636. ::v-deep .rmOldPie {
  637. .el-collapse-item {
  638. border: none;
  639. }
  640. }
  641. }
  642. .personInfo > span:not(:nth-child(1)) {
  643. margin-left: 50px;
  644. }
  645. ::v-deep .checkingDialog {
  646. height: 50%;
  647. margin-top: 6%;
  648. .el-dialog__body {
  649. height: 72%;
  650. }
  651. .el-textarea__inner {
  652. width: 246%;
  653. height: 140px;
  654. }
  655. }
  656. </style>