projectInfo.vue 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. <template>
  2. <div class="projectInfoPanel">
  3. <div v-show="!$route.path.includes('taskInfo') &&
  4. !$route.path.includes('evaluationReport')
  5. ">
  6. <div class="headPanel panel">
  7. <div class="titlePanel">
  8. <div class="titlePanelBor">基本信息</div>
  9. </div>
  10. <div class="boxContent">
  11. <div class="info">
  12. <span>项目ID:</span>
  13. <b>{{ info.projectId }}</b>
  14. </div>
  15. <div class="info">
  16. <span>项目名称:</span>
  17. <b>{{ info.projectName }}</b>
  18. </div>
  19. <div class="info">
  20. <span>并行度:</span>
  21. <b>{{ info.parallelism }}</b>
  22. </div>
  23. <div class="info">
  24. <span>最大仿真时间:</span>
  25. <b>{{ info.maxSimulationTime }}</b>
  26. </div>
  27. <div class="info">
  28. <span>是否选择GPU:</span>
  29. <b>{{ info.isChoiceGpu }}</b>
  30. </div>
  31. <div class="info">
  32. <span>创建时间:</span>
  33. <b>{{ info.startTime }}</b>
  34. </div>
  35. <div class="info">
  36. <span>完成时间:</span>
  37. <b>{{ info.finishTime }}</b>
  38. </div>
  39. <div class="info">
  40. <span>完成进度:</span>
  41. <b>{{ info.nowRunStateName }}</b>
  42. </div>
  43. <div class="info">
  44. <span>结果等级:</span>
  45. <b>{{ evaluationLevel }}</b>
  46. </div>
  47. <div class="info">
  48. <span>场景测试包:</span>
  49. <b>{{ info.packageName }}</b>
  50. </div>
  51. <div class="info">
  52. <span>项目描述:</span>
  53. <b>{{ info.projectDescribe }}</b>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="scorePanel panel">
  58. <div class="titlePanel">
  59. <div class="titlePanelBor">测评得分</div>
  60. </div>
  61. <div class="box">
  62. <tableList style="margin: 30px 0" :columns="columnsA" :getDataWay="getDataWayA">
  63. </tableList>
  64. </div>
  65. </div>
  66. <div class="headPanel panel">
  67. <div class="titlePanel">
  68. <div class="titlePanelBor">场景评价</div>
  69. </div>
  70. <div class="boxContent">
  71. <div class="info">
  72. <span>危险度规则:</span>
  73. <b>{{ ruleDetailInfo.riskEvaluationRuleName || '-' }}</b>
  74. </div>
  75. <div class="info">
  76. <span>覆盖率规则:</span>
  77. <b>{{ ruleDetailInfo.coverageRateEvaluationRuleName || '-' }}</b>
  78. </div>
  79. <div class="info">
  80. <span>暴露率规则:</span>
  81. <b>{{ ruleDetailInfo.exposureRateEvaluationRuleName || '-' }}</b>
  82. </div>
  83. <div class="info">
  84. <span>场景数量:</span>
  85. <b>{{ ruleDetailInfo.sceneNum || 0 }}</b>
  86. </div>
  87. <div class="info">
  88. <span>场景测试包覆盖率:</span>
  89. <b>{{ ruleDetailInfo.testPackageCoverageRate || '-'}}</b>
  90. </div>
  91. <div class="info">
  92. <span>场景测试包暴露率:</span>
  93. <b>{{ ruleDetailInfo.testPackageExposureRate || '-' }}</b>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="flexBox topPanel">
  98. <div class="box panel boxB">
  99. <div class="titlePanel">
  100. <div class="titlePanelBor">算法配置</div>
  101. </div>
  102. <div class="boxContent">
  103. <div class="info">
  104. <span>算法名称:</span>
  105. <b>{{ info.algorithmName }}</b>
  106. </div>
  107. <div class="info">
  108. <span>算法描述:</span>
  109. <b>{{ info.algorithmDescribe }}</b>
  110. </div>
  111. </div>
  112. </div>
  113. <div class="box panel">
  114. <div class="titlePanel">
  115. <div class="titlePanelBor">测试报告</div>
  116. <i class="el-icon-download download" v-bind:class="{ cursor: info.nowRunState === '30' }"
  117. @click="downReport"></i>
  118. </div>
  119. <div class="boxContent boxContentC">
  120. <div class="cbox" @click="toReport">
  121. <img :src="downImgSrc" width="100%" v-bind:class="{
  122. cursor: info.nowRunState === '30',
  123. }" />
  124. <div v-bind:class="{
  125. cursor: info.nowRunState === '30',
  126. }">
  127. 仿真云测试报告
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="centerPanel panel">
  134. <div class="titlePanel">
  135. <div class="titlePanelBor">车辆配置</div>
  136. </div>
  137. <div class="box">
  138. <div class="boxContentA">
  139. <div class="info">
  140. <span>车辆名称:</span>
  141. <b>{{ info.vehicleName }}</b>
  142. </div>
  143. <div class="info">
  144. <span>车辆描述:</span>
  145. <b>{{ info.vehicleDescribe }}</b>
  146. </div>
  147. </div>
  148. <div class="boxContentB">
  149. <div class="list">
  150. <handle-config-list :showBtns="false" :curOne="curOne" :configList="configList"
  151. @curItem="curItem" :needHighline="true"></handle-config-list>
  152. </div>
  153. <div class="canvasBox">
  154. <!-- <canvas-sensor v-if="modelImgSrc" :modelImgSrc="modelImgSrc" :configList="configList"></canvas-sensor> -->
  155. <div class="viewBox">
  156. <span v-show="!isOpen" class="view open" @click="showAll(true)" title="显示全部"></span>
  157. <span v-show="isOpen" class="view close" @click="showAll(false)" title="关闭全部"></span>
  158. </div>
  159. <three-show v-loading="loading" @loadingDone="loadingDone" ref="threeShow"
  160. :carModel="carModel" :allSensor="allSensor"></three-show>
  161. <div v-show="configBox" class="conditions">
  162. <el-form ref="formA" :model="formA" :rules="rulesA" label-width="99px" disabled>
  163. <div class="forms">
  164. <el-form-item label="X(mm):" prop="sensorX">
  165. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  166. obj: formA,
  167. key: 'sensorX',
  168. }" v-model="formA.sensorX">
  169. </el-input>
  170. </el-form-item>
  171. <el-form-item label="Y(mm):" prop="sensorY">
  172. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  173. obj: formA,
  174. key: 'sensorY',
  175. }" v-model="formA.sensorY">
  176. </el-input>
  177. </el-form-item>
  178. <el-form-item label="Z(mm):" prop="sensorZ">
  179. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  180. obj: formA,
  181. key: 'sensorZ',
  182. }" v-model="formA.sensorZ">
  183. </el-input>
  184. </el-form-item>
  185. <el-form-item label="横摆角(deg):" prop="sensorH">
  186. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  187. obj: formA,
  188. key: 'sensorH',
  189. }" v-model="formA.sensorH">
  190. </el-input>
  191. </el-form-item>
  192. <el-form-item label="俯仰角(deg):" prop="sensorP">
  193. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  194. obj: formA,
  195. key: 'sensorP',
  196. }" v-model="formA.sensorP">
  197. </el-input>
  198. </el-form-item>
  199. <el-form-item label="翻滚角(deg):" prop="sensorR">
  200. <el-input placeholder="请输入" maxlength="12" v-autoTrim="{
  201. obj: formA,
  202. key: 'sensorR',
  203. }" v-model="formA.sensorR">
  204. </el-input>
  205. </el-form-item>
  206. <el-form-item label="端口" prop="sensorPort" v-show="curOne.name === 'ogt'">
  207. <el-input placeholder="请输入" maxlength="9" v-autoTrim="{
  208. obj: formA,
  209. key: 'sensorPort',
  210. }" v-model="formA.sensorPort">
  211. </el-input>
  212. </el-form-item>
  213. </div>
  214. </el-form>
  215. <div class="btnBox">
  216. <el-button type="primary" @click="closeConfig" plain size="small">关闭</el-button>
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="bottomPanel panel">
  224. <div class="titlePanel">
  225. <div class="titlePanelBor">任务信息</div>
  226. </div>
  227. <div class="box">
  228. <div class="boxContentA">
  229. <div class="chart">
  230. <div class="pieTitle">任务运行状态统计:</div>
  231. <div class="pie">
  232. <pie-chart-project-info id="projectInfoPieA" :stateList="stateList"
  233. stateName="stateName" seriesName="任务运行状态统计"></pie-chart-project-info>
  234. </div>
  235. </div>
  236. <div class="chart">
  237. <div class="pieTitle">得分统计:</div>
  238. <div class="pie">
  239. <pie-chart-project-info id="projectInfoPieB" :stateList="resultList"
  240. stateName="resultName" seriesName="得分统计"></pie-chart-project-info>
  241. </div>
  242. </div>
  243. </div>
  244. <div>
  245. <tableList ref="table" :columns="columns" :getDataWay="getDataWay" :pagination="pagination">
  246. <el-table-column label="操作" slot="cgInfos" align="center">
  247. <template v-slot="scope">
  248. <i @click="viewRow(scope.row)" class="el-icon-view elIcon" title="查看"></i>
  249. </template>
  250. </el-table-column>
  251. </tableList>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. <router-view
  257. v-show="$route.path.includes('taskInfo') || $route.path.includes('evaluationReport')"></router-view>
  258. <!-- <router-view v-else></router-view> -->
  259. </div>
  260. </template>
  261. <script>
  262. import handleConfigList from "../modelLibrary/components/handleConfigList.vue";
  263. import tableList from "@/components/grid/TableList";
  264. import pieChartProjectInfo from "@/components/echarts/pieChartProjectInfo";
  265. // import canvasSensor from "./components/canvasProjectInfo.vue";
  266. // import threeShow from "./components/threeProjectInfo.vue";
  267. import { mapState } from "vuex";
  268. export default {
  269. name: "projectInfo", // 项目详情
  270. components: {
  271. handleConfigList,
  272. tableList,
  273. pieChartProjectInfo,
  274. // canvasSensor,
  275. threeShow: () => import('./components/threeProjectInfo.vue'),
  276. },
  277. data() {
  278. return {
  279. id: "",
  280. projectType: "", // 1手动 2自动
  281. info: {},
  282. evaluationLevel: "",
  283. ruleDetailInfo:{}, // 规则详情列表
  284. columns: [
  285. {
  286. label: "ID",
  287. prop: "id",
  288. },
  289. {
  290. label: "场景名称",
  291. prop: "sceneName",
  292. },
  293. {
  294. label: "运行开始时间",
  295. prop: "runStartTimeFmt",
  296. },
  297. {
  298. label: "运行结束时间",
  299. prop: "runEndTimeFmt",
  300. },
  301. {
  302. label: "运行状态",
  303. prop: "runState",
  304. },
  305. {
  306. label: "运行结果",
  307. prop: "runResult",
  308. },
  309. {
  310. label: "得分",
  311. prop: "score",
  312. },
  313. {
  314. label: "操作",
  315. prop: "cgInfos",
  316. template: true,
  317. },
  318. ],
  319. columnsA: [
  320. {
  321. label: "测试项目",
  322. prop: "projectName",
  323. },
  324. {
  325. label: "场景数量",
  326. prop: "sceneNum",
  327. },
  328. {
  329. label: "测试权重%",
  330. prop: "weight",
  331. },
  332. {
  333. label: "测试得分",
  334. prop: "score",
  335. },
  336. {
  337. label: "得分率%",
  338. prop: "scoreRatio",
  339. },
  340. ],
  341. pagination: {
  342. //分页使用
  343. currentPage: 1,
  344. pageSize: 10,
  345. position: "right",
  346. pageSizes: [10, 30, 50, 100, 200],
  347. layout: "sizes, total, prev, pager, next, jumper",
  348. },
  349. getDataWay: {
  350. //加载表格数据
  351. dataType: "url",
  352. type: "post",
  353. // firstRequest: false,
  354. data: this.$api.workManagement.selectProjectTaskList,
  355. param: {
  356. id: this.$route.query.id,
  357. projectType: this.$route.query.projectType,
  358. },
  359. },
  360. getDataWayA: {
  361. //加载表格数据
  362. dataType: "data",
  363. type: "post",
  364. firstRequest: false,
  365. data: [],
  366. param: {},
  367. },
  368. // 传感器对象集合
  369. configList: {
  370. camera: [],
  371. ogt: [],
  372. lidar: [],
  373. gps: [],
  374. },
  375. // 用于当前选中项的展示
  376. curOne: {
  377. name: "",
  378. index: -1,
  379. },
  380. downImgSrc: require("@/assets/common/image/others/noDoc.png"),
  381. // modelImgSrc: require("@/assets/common/image/others/carTopView.png"), // 车辆图片地址
  382. // modelImgSrc: "", // 车辆图片地址
  383. carModel: "",
  384. stateList: [], // 任务运行状态统计数据
  385. resultList: [],
  386. // 所有传感器的集合
  387. allSensor: {},
  388. configBox: false, // 配置项box
  389. formA: {
  390. sensorX: "", // 传感器横向偏移量(x轴)
  391. sensorY: "", // 传感器横向偏移量(y轴)
  392. sensorZ: "", // 传感器横向偏移量(z轴)
  393. sensorH: "", // 横摆角
  394. sensorP: "", // 俯仰角
  395. sensorR: "", // 横滚角
  396. sensorPort: "", // 端口
  397. },
  398. isOpen: false, // 是否已展示全部传感器
  399. rulesA: {},
  400. loading: true,
  401. };
  402. },
  403. computed: {
  404. ...mapState(["fileHost", "fileUrl"]),
  405. },
  406. methods: {
  407. viewRow(row) {
  408. let path = "/manualRunProjectList/projectInfo/taskInfo";
  409. if (this.projectType === "2") {
  410. path =
  411. "/autoRunProjectList/autoRunSubProjectList/projectInfo/taskInfo";
  412. }
  413. // 修改任务详情的tabname
  414. this.$store.commit("getTaskInfoTabname", row.sceneName);
  415. localStorage.setItem("taskInfoTabname", row.sceneName);
  416. this.$router.push({
  417. path,
  418. query: {
  419. taskId: row.id,
  420. id: row.pid,
  421. projectType: this.projectType,
  422. },
  423. });
  424. },
  425. toReport() {
  426. let path = "/manualRunProjectList/projectInfo/evaluationReport";
  427. if (this.projectType === "2") {
  428. path =
  429. "/autoRunProjectList/autoRunSubProjectList/projectInfo/evaluationReport";
  430. }
  431. if (this.info.nowRunState === "30") {
  432. this.$router.push({
  433. path,
  434. query: { id: this.id, projectType: this.projectType },
  435. });
  436. }
  437. },
  438. downReport() {
  439. if (this.info.nowRunState != "30") return;
  440. this.$axios({
  441. method: "post",
  442. url: this.$api.workManagement.exportProjectReportById,
  443. responseType: "blob",
  444. data: { id: this.id, projectType: this.projectType },
  445. }).then((res) => {
  446. let blob = new Blob([res]);
  447. let fileName = `${this.info.algorithmName || ""}测试报告.pdf`;
  448. if ("download" in document.createElement("a")) {
  449. // 非IE下载
  450. let emlink = document.createElement("a");
  451. emlink.download = fileName;
  452. emlink.style.display = "none";
  453. emlink.href = URL.createObjectURL(blob);
  454. document.body.appendChild(emlink);
  455. emlink.click();
  456. URL.revokeObjectURL(emlink.href);
  457. document.body.removeChild(emlink);
  458. } else {
  459. // IE下载
  460. navigator.msSaveBlob(blob, fileName);
  461. }
  462. });
  463. },
  464. curItem(item) {
  465. this.curOne = item;
  466. let formA = this.configList[item.name][item.index];
  467. this.isOpen = false;
  468. this.formA.sensorX = formA.sensorX;
  469. this.formA.sensorY = formA.sensorY;
  470. this.formA.sensorZ = formA.sensorZ;
  471. this.formA.sensorH = formA.sensorH;
  472. this.formA.sensorP = formA.sensorP;
  473. this.formA.sensorR = formA.sensorR;
  474. if (this.curOne.name === "ogt") {
  475. this.formA.sensorPort = formA.sensorPort;
  476. }
  477. setTimeout(() => {
  478. this.$refs.threeShow.reset(
  479. this.curOne.name,
  480. this.curOne.index
  481. );
  482. }, 0);
  483. this.configBox = true;
  484. },
  485. closeConfig() {
  486. this.configBox = false;
  487. },
  488. getImgUrl(addr) {
  489. let url = "";
  490. if (process.env.VUE_APP_IS_DEV == "true") {
  491. url = this.fileHost + this.fileUrl;
  492. } else {
  493. url = this.fileUrl;
  494. }
  495. let token = localStorage.getItem("Authorization").split(" ")[1];
  496. let src = `${url}?objectName=${addr}&access_token=${token}`;
  497. return src;
  498. },
  499. // 处理测试等级展示
  500. evaluationLevelInfoShow(evaluationLevel) {
  501. switch (evaluationLevel) {
  502. case "G":
  503. return "优秀(G)";
  504. case "A":
  505. return "良好(A)";
  506. case "M":
  507. return "一般(M)";
  508. case "P":
  509. return "较差(P)";
  510. default: return evaluationLevel
  511. }
  512. },
  513. // 获取所有传感器
  514. getAllSensor() {
  515. return this.$axios({
  516. method: "post",
  517. url: this.$api.modelLibrary.getMySensorList,
  518. data: {},
  519. }).then((res) => {
  520. if (res.code == 200 && res.info) {
  521. this.allSensor = res.info;
  522. } else {
  523. this.$message.error(
  524. res.message || "获取传感器列表信息失败"
  525. );
  526. }
  527. });
  528. },
  529. loadingDone(done) {
  530. if (done === 'carDone') this.loading = false;
  531. },
  532. // 显示全部传感器
  533. showAll(needOpen) {
  534. if (needOpen) {
  535. this.$refs.threeShow.showAll(this.configList);
  536. this.closeConfig();
  537. } else {
  538. if (this.curOne.index < 0) {
  539. this.$refs.threeShow.reset(null, -1, true);
  540. } else {
  541. this.curItem(this.curOne, false, false);
  542. }
  543. }
  544. this.isOpen = needOpen;
  545. },
  546. closeConfig() {
  547. this.configBox = false;
  548. },
  549. },
  550. // watch: {
  551. // $route(to, from) {
  552. // if (to.name === "projectInfo") {
  553. // this.$nextTick(() => {
  554. // if (this.$refs.threeShow) {
  555. // this.$refs.threeShow.initCar(this.carModel);
  556. // this.$refs.threeShow.showAll(this.configList);
  557. // }
  558. // });
  559. // }
  560. // },
  561. // },
  562. async mounted() {
  563. await this.getAllSensor();
  564. if (this.$route.query.id) {
  565. this.id = this.$route.query.id;
  566. this.projectType = this.$route.query.projectType || "1";
  567. this.$axios({
  568. method: "post",
  569. url: this.$api.workManagement.selectProjectDetailsById,
  570. data: {
  571. id: this.id,
  572. projectType: this.projectType,
  573. },
  574. }).then((res) => {
  575. if (res.code == 200 && res.info) {
  576. this.info = res.info;
  577. // this.evaluationLevel = this.evaluationLevelInfoShow(
  578. // res.info.evaluationLevel
  579. // );
  580. this.evaluationLevel = res.info.evaluationLevel;
  581. this.configList.camera = res.info.sensorCameraList || [];
  582. this.configList.ogt = res.info.sensorOgtList || [];
  583. this.configList.lidar = res.info.sensorLidarList || [];
  584. this.configList.gps = res.info.sensorGpsList || [];
  585. // this.modelImgSrc = this.getImgUrl(res.info.vehicleTopView);
  586. // this.carModel = this.getImgUrl(res.info.vehicleFrontView);
  587. this.carModel = this.getImgUrl(res.info.vehicleTopView);
  588. if (this.$refs.threeShow) {
  589. setTimeout(() => {
  590. // this.$refs.threeShow.showAll(this.configList);
  591. this.showAll(true);
  592. }, 3000)
  593. }
  594. if (this.info.nowRunState === "30") {
  595. this.downImgSrc = require("@/assets/common/image/others/hasDoc.png");
  596. } else {
  597. this.downImgSrc = require("@/assets/common/image/others/noDoc.png");
  598. }
  599. this.stateList = res.info.stateList || [];
  600. this.resultList = res.info.resultScoreList || [];
  601. this.getDataWayA.data = res.info.algorithmScoreList;
  602. } else {
  603. this.$message.error(res.message || "获取信息失败");
  604. }
  605. });
  606. this.$axios({
  607. method: "post",
  608. url: this.$api.workManagement.getEvaluationRuleDetail,
  609. data: {
  610. id: this.id,
  611. projectType: this.projectType,
  612. },
  613. }).then(res=>{
  614. this.ruleDetailInfo = res.info
  615. })
  616. }
  617. },
  618. };
  619. </script>
  620. <style lang="less" scoped>
  621. .projectInfoPanel {
  622. padding: 18px;
  623. .panel {
  624. border: 1px solid #dfdfdf;
  625. padding: 12px 24px;
  626. box-shadow: 0 4px 9px #dcdcdc;
  627. border-radius: 3px;
  628. }
  629. .titlePanel {
  630. padding-bottom: 6px;
  631. border-bottom: 1px dotted @gray;
  632. }
  633. .headPanel {
  634. margin-bottom: 25px;
  635. .box {
  636. flex: 1;
  637. }
  638. .boxContent {
  639. display: flex;
  640. flex-wrap: wrap;
  641. padding: 18px 15px;
  642. }
  643. .info {
  644. display: flex;
  645. width: 345px;
  646. margin: 0 12px 22px 0;
  647. word-break: break-all;
  648. span {
  649. display: block;
  650. min-width: 105px;
  651. color: @gray;
  652. }
  653. b {
  654. flex: 1;
  655. font-weight: normal;
  656. }
  657. }
  658. }
  659. .scorePanel {
  660. margin-bottom: 25px;
  661. }
  662. .topPanel {
  663. .box {
  664. flex: 1;
  665. }
  666. .boxB {
  667. margin-right: 18px;
  668. }
  669. .titlePanel {
  670. position: relative;
  671. .download {
  672. position: absolute;
  673. top: 0;
  674. right: 0;
  675. color: @themeColor;
  676. font-size: 18px;
  677. // cursor: pointer;
  678. }
  679. }
  680. .boxContent {
  681. padding: 18px 15px;
  682. }
  683. .info {
  684. display: flex;
  685. margin-bottom: 22px;
  686. word-break: break-all;
  687. span {
  688. display: block;
  689. width: 75px;
  690. color: @gray;
  691. }
  692. b {
  693. flex: 1;
  694. font-weight: normal;
  695. }
  696. }
  697. .boxContentC {
  698. display: flex;
  699. justify-content: center;
  700. align-items: center;
  701. height: 100%;
  702. .cbox {
  703. text-align: center;
  704. color: @themeColor;
  705. // cursor: pointer;
  706. >div {
  707. margin-top: 18px;
  708. }
  709. }
  710. }
  711. }
  712. .centerPanel {
  713. margin: 25px 0;
  714. .boxContentA {
  715. padding: 18px 15px;
  716. .info {
  717. display: flex;
  718. margin-bottom: 22px;
  719. word-break: break-all;
  720. span {
  721. display: block;
  722. width: 75px;
  723. color: @gray;
  724. }
  725. b {
  726. flex: 1;
  727. font-weight: normal;
  728. }
  729. }
  730. }
  731. .boxContentB {
  732. display: flex;
  733. justify-content: space-around;
  734. padding-top: 30px;
  735. .canvasBox {
  736. position: relative;
  737. flex: 1;
  738. }
  739. .viewBox {
  740. position: absolute;
  741. left: 2px;
  742. top: 2px;
  743. width: 40px;
  744. height: 40px;
  745. line-height: 40px;
  746. text-align: center;
  747. background-color: #ffffff;
  748. opacity: 0.75;
  749. .view {
  750. display: block;
  751. width: 30px;
  752. height: 15px;
  753. margin: 12px auto 0;
  754. // font-size: 18px;
  755. cursor: pointer;
  756. // color: @themeColor;
  757. }
  758. .open {
  759. background: url("../../assets/common/image/others/open.png") center no-repeat;
  760. background-size: contain;
  761. }
  762. .close {
  763. width: 26px;
  764. height: 13px;
  765. margin-top: 15px;
  766. background: url("../../assets/common/image/others/close.png") center no-repeat;
  767. background-size: contain;
  768. }
  769. }
  770. .conditions {
  771. position: absolute;
  772. right: 2px;
  773. top: 2px;
  774. width: 219px;
  775. height: 372px;
  776. padding: 10px;
  777. background-color: #ffffff;
  778. .btnBox {
  779. padding: 0 0 10px;
  780. text-align: center;
  781. }
  782. .forms /deep/ .el-form-item__label {
  783. // width: 120px !important;
  784. padding-right: 10px;
  785. line-height: 22px;
  786. font-size: 12px;
  787. }
  788. .forms /deep/ .el-form-item__content {
  789. // margin-left: 120px !important;
  790. line-height: 22px;
  791. font-size: 12px;
  792. }
  793. .el-input {
  794. width: 100px;
  795. font-size: 12px;
  796. }
  797. .forms /deep/ .el-input__inner {
  798. height: 22px;
  799. }
  800. }
  801. }
  802. }
  803. .bottomPanel {
  804. .boxContentA {
  805. display: flex;
  806. justify-content: space-around;
  807. padding: 45px 0;
  808. }
  809. .chart {
  810. width: 50%;
  811. .pieTitle {
  812. padding: 0 0 30px;
  813. text-align: center;
  814. font-size: 16px;
  815. font-weight: bold;
  816. }
  817. .pie {
  818. height: calc(40vh);
  819. }
  820. }
  821. }
  822. }
  823. </style>