xqDetails.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. <template>
  2. <div v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 200).available"
  3. class="leftArea-investigationDetails">
  4. <div class="investigationDetails-title"></div>
  5. <!-- <div class="tableChange-title">-->
  6. <!-- <div class="title-xqtbFont" @click="toXQTB">需求提报</div>-->
  7. <!-- </div>-->
  8. <!-- 操作区域写了两个div,通过需求提报和需求获取的点击事件,只能出现一个对应的div -->
  9. <div v-show="operateTBvserble" class="operate-buttoms">
  10. <el-button v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 2002).available" class='target-button'
  11. type="primary" @click="taskShow = true">任务获取
  12. </el-button>
  13. <el-dropdown v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 2001).available"
  14. @command="getTargetFromMapClick">
  15. <el-button class='handle-button' type="primary">
  16. 手动导入<i class="el-icon-arrow-down el-icon--right"></i>
  17. </el-button>
  18. <el-dropdown-menu slot="dropdown">
  19. <el-dropdown-item
  20. command="selectPoint">点目标
  21. </el-dropdown-item>
  22. <el-dropdown-item
  23. command="selectLine">线目标
  24. </el-dropdown-item>
  25. <el-dropdown-item
  26. command="selectRegion">区域目标
  27. </el-dropdown-item>
  28. <el-dropdown-item
  29. command="selectPoints">点群目标
  30. </el-dropdown-item>
  31. <el-dropdown-item
  32. command="selectMovePoint">移动目标
  33. </el-dropdown-item>
  34. </el-dropdown-menu>
  35. </el-dropdown>
  36. <el-button v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 2002).available" class='target-button'
  37. type="primary" @click="getXQfromTargetBase">目标库导入
  38. </el-button>
  39. <el-button v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 2003).available" class='excel-button'
  40. type="primary" @click="popExcelWindow">excel导入
  41. </el-button>
  42. </div>
  43. <div v-show="operateHQvserble" class="operate-areaForXQHQ">
  44. <div class="time-area">
  45. <span class="timeArea-font">时间段</span>
  46. <el-date-picker v-model="timeValue" :default-time="['00:00:00', '00:00:00']" class="datePicker-style"
  47. end-placeholder="结束时间"
  48. start-placeholder="开始时间" type="datetimerange">
  49. </el-date-picker>
  50. </div>
  51. <div class="button-area">
  52. <el-button class="get-XQ" type="primary">获取详情</el-button>
  53. </div>
  54. </div>
  55. <!-- 观测需求详情的表格内容 -->
  56. <div class="table1TB-area">
  57. <el-table ref="multipleTable" :data="XQTBviserble ? getTableXQTBData : getTableXQHQData" height="450"
  58. style="width: 100%" tooltip-effect="light" @row-contextmenu="rightClick" @row-click="handleClick">
  59. <el-table-column align="center" type="selection" width="40"></el-table-column>
  60. <el-table-column v-for="(col, i) in cols" :key="i" :label="col.label" :prop="col.prop" show-overflow-tooltip
  61. width="75"
  62. ></el-table-column>
  63. <el-table-column align="center" label="操作">
  64. <template slot-scope="scope">
  65. <el-link size="mini" type="primary" @click.stop="showTaskInfo(scope.row)">详细信息</el-link>
  66. </template>
  67. </el-table-column>
  68. </el-table>
  69. </div>
  70. <!-- <div class="table1TB-area" v-show="XQTBviserble">
  71. <xqglTableTB @getValues='getDataFromSonXQTB' @getRightClickValue='getDataFromSonXQTBrightclick'
  72. :tableXQTBData="getTableXQTBData"></xqglTableTB>
  73. </div>
  74. <div class="table1HQ-area" v-show="XQHQviserble">
  75. <xqglTableHQ @getValues='getDataFromSonXQTB'></xqglTableHQ>
  76. </div> -->
  77. <div class="CH-buttonDIV">
  78. <!-- <el-button class="CHbutton-style" type="primary" @click="getXQTBtalbeContents">查询</el-button> -->
  79. <el-button v-if="commonFunction.getUserConfig($store.state.userOwnMenus, 2005).available" class="CHbutton-style"
  80. type="primary" @click="toCHpage">提报
  81. </el-button>
  82. </div>
  83. <div v-show="rightClickMenuVisible" id="rightClickMenu" class="XQtableRightClick-menu">
  84. <li @click="xqtbUptate(1)">时间应用到所有</li>
  85. <li @click="xqtbUptate(2)">手段应用到所有</li>
  86. <li @click="rightClickMenuDelete">删除</li>
  87. <li @click="rightClickMenuClear">清空</li>
  88. <li @click="rightClickMenuClose">取消</li>
  89. </div>
  90. <targetPop v-show="targetPopVis" :rowData="selRow" @closePop="closeWindow"
  91. @comfirm="getxqtbList"></targetPop>
  92. <mapPop v-show="mapPopVis" :mapPointSelect="mapPointSelect" @closePop="mapPopVis = false" @comfirm="getxqtbList">
  93. </mapPop>
  94. <excelPop v-show="excelPopVis" @closePop="excelPopVis = false" @comfirm="getxqtbList"></excelPop>
  95. <el-dialog :visible.sync="taskShow" show-close title="请选择任务条件" width="300px">
  96. <div style="margin: 10px 0">请选择任务来源</div>
  97. <div class="passwayDatePicker">
  98. <el-select
  99. v-model="selTasks"
  100. collapse-tags
  101. multiple
  102. size="mini"
  103. style="width: 240px"
  104. @change='changeSelect'
  105. >
  106. <el-checkbox v-model="checkeALl" style="margin-left: 20px;" @change='selectAll'>全选</el-checkbox>
  107. <el-option
  108. v-for="(item, i) in taskSource"
  109. :key="i"
  110. :label="item"
  111. :value="i"
  112. />
  113. </el-select>
  114. </div>
  115. <div style="margin: 10px 0">请选择任务时间</div>
  116. <div>
  117. <el-date-picker v-model="taskDatetimeRange"
  118. datetimeLoaded="true"
  119. end-placeholder="结束时间"
  120. size="mini"
  121. start-placeholder="开始时间"
  122. style="width: 240px" type="datetimerange"
  123. value-format="yyyy-MM-dd HH:mm:ss">
  124. </el-date-picker>
  125. </div>
  126. <div slot="footer">
  127. <el-button @click="taskShow=false">取 消</el-button>
  128. <el-button type="primary" @click="getTaskList">确 定</el-button>
  129. </div>
  130. </el-dialog>
  131. <el-dialog :visible.sync="taskInfoShow" show-close title="详细信息" width="60%">
  132. <task-infos :seltask="seltask"></task-infos>
  133. <div slot="footer">
  134. <el-button @click="taskInfoShow=false">取 消</el-button>
  135. <el-button type="primary" @click="getTaskList">确 定</el-button>
  136. </div>
  137. </el-dialog>
  138. </div>
  139. </template>
  140. <script>
  141. import {
  142. postClickedTagetListData,
  143. getClickedTagetListDataForxqlbTB,
  144. getXQTBListViaPointTarget,
  145. getXQTBListViaMapSelect,
  146. getXQTBListViaExcelSelect,
  147. getTargetListCodeNumber_headStr,
  148. xqtbBatchUpdate,
  149. postxqglRightClickMenuDeleteRow,
  150. postxqglRightClickMenuClearAllData,
  151. getSatelliteFilterData
  152. } from '@/api/xqglApi.js';
  153. import {submitPlan} from "@/api/xqjyApi";
  154. import xqglTableTB from '@/components/tables/xqglTable_XQTB.vue'
  155. import xqglTableHQ from '@/components/tables/xqglTable.vue'
  156. import targetPop from './targetPop.vue';
  157. import mapPop from './mapPop.vue';
  158. import excelPop from './excelPop.vue';
  159. import {mapState, mapMutations} from 'vuex'
  160. import {selAllTargetList} from "@/api/rwjsApi";
  161. import TaskInfos from "@/components/xqglComponents/taskInfos.vue";
  162. export default {
  163. name: "xqDetails",
  164. components: {TaskInfos, xqglTableTB, xqglTableHQ, targetPop, mapPop, excelPop},
  165. data() {
  166. return {
  167. taskInfolabels: {
  168. demandSources: "需求来源",
  169. proposeDepartment: "提出部门",
  170. demandDescribe: "需求来源描述",
  171. createTime: "需求提出时间",
  172. isaccurate: "是否精确",
  173. isEmcon: "是否电磁静默",
  174. region: "国家/地区",
  175. targetPreprocess: "目标观测时长",
  176. InvestigativeMeans: "观测手段",
  177. reqInterval: "最小观测间隔时间",
  178. satelliteSelected: "卫星",
  179. rate: "频次",
  180. startTime: "接收开始时间",
  181. endTime: "接收结束时间",
  182. receivingStation: "接收站名",
  183. workMode: "工作模式",
  184. sensorID: "传感器代号",
  185. sensorMode: "传感器模式",
  186. imageTime: "成像次数",
  187. pitchAngle: "俯仰角",
  188. groundResolution: "分辨率",
  189. priorInfo: "先验信息",
  190. productDest: "产品目的地",
  191. points: "目标点集"
  192. },
  193. targetPopVis: false,
  194. mapPopVis: false,
  195. excelPopVis: false,
  196. taskShow: false,
  197. taskInfoShow: false,
  198. mapPointSelect: '',
  199. selRow: {},
  200. taskDatetimeRange: ["", ""],
  201. checkeALl: false,
  202. selTasks: [],
  203. taskSource: ["气象海洋", "水利交通", "防灾减灾", "城乡规划", "农林渔牧"],
  204. //需求提报,需求获取动态追加类
  205. clickTBtipStyle: '',
  206. clickHQtipStyle: '',
  207. seltask: {},
  208. //需求提报,需求获取操作区域是否显示
  209. operateTBvserble: true,
  210. operateHQvserble: false,
  211. //需求获取时选择的时间
  212. timeValue: '',
  213. //需求提报,需求获取的表格内容是否显示
  214. XQTBviserble: true,
  215. XQHQviserble: false,
  216. //需求提报表格数据
  217. cols: [
  218. {
  219. prop: 'id',
  220. label: '需求ID',
  221. },
  222. {
  223. prop: 'reqName',
  224. label: '需求名称',
  225. },
  226. {
  227. prop: 'typeName',
  228. label: '目标类型',
  229. },
  230. {
  231. prop: 'parentId',
  232. label: '目标编号',
  233. },
  234. {
  235. prop: 'targetName',
  236. label: '目标名称',
  237. },
  238. {
  239. prop: 'startTime',
  240. label: '需求开始时间',
  241. },
  242. {
  243. prop: 'endTime',
  244. label: '需求结束时间',
  245. },
  246. {
  247. prop: 'priority',
  248. label: '优先级',
  249. },
  250. ],
  251. getTableXQTBData: [],
  252. parentId: "",
  253. getTableXQHQData: [],
  254. //点击单条需求窗口(点目标)显示/隐藏
  255. XQtargetVisible: false,
  256. //地图点选窗口显示/隐藏
  257. mapSelectVisible: false,
  258. //控制excel导入窗口显示/隐藏
  259. closeExcelWindowVisible: false,
  260. //目标列表和卫星筛选交替显示
  261. xqglTargetListVisible: false,
  262. //右键需求详情表格行时,弹出的菜单 显示/隐藏
  263. rightClickMenuVisible: false,
  264. loading: null,
  265. };
  266. },
  267. computed: {
  268. ...mapState("xqgl", ["getXqtb"]),
  269. },
  270. watch: {
  271. $route(to, from) {
  272. if (to.name === "xqglPage") {
  273. this.getxqtbList();
  274. }
  275. },
  276. getXqtb() {
  277. this.getxqtbList();
  278. },
  279. },
  280. methods: {
  281. ...mapMutations("xqgl", ["setParentId"]),
  282. handleCheckAll() {
  283. },
  284. showTaskInfo(row) {
  285. this.taskInfoShow = true;
  286. const satelliteSelected = JSON.parse(row.satelliteSelected)
  287. let ids = []
  288. for (const i in satelliteSelected) {
  289. ids.push(satelliteSelected[i].satelliteId)
  290. }
  291. this.seltask = Object.assign({}, row)
  292. this.seltask.satelliteSelected = ids.join(",")
  293. // this.seltask.isaccurate = this.seltask.isaccurate == 0 ? '是' : '否'
  294. // this.seltask.isEmcon = this.seltask.isEmcon == 0 ? '是' : '否'
  295. this.seltask.pitchAngle = '30°'
  296. this.seltask.groundResolution = '1米'
  297. },
  298. selectAll() {
  299. this.selTasks = [];
  300. if (this.checkeALl) {
  301. this.taskSource.forEach((item, i) => {
  302. this.selTasks.push(i)
  303. });
  304. } else {
  305. this.selTasks = [];
  306. }
  307. },
  308. changeSelect(val) {
  309. if (val.length === this.taskSource.length) {
  310. this.checkeALl = true;
  311. } else {
  312. this.checkeALl = false;
  313. }
  314. },
  315. closeWindow() {
  316. this.targetPopVis = false
  317. this.$emit("clickTarget");
  318. },
  319. getTaskList() {
  320. this.taskShow = false;
  321. this.loading = this.$loading({
  322. lock: true,
  323. text: "查询中",
  324. spinner: 'el-icon-loading',
  325. background: 'rgba(0,0,0,0.8)'
  326. });
  327. const param = {
  328. demandSources: this.selTasks.join(","),
  329. startTime: (this.taskDatetimeRange && this.taskDatetimeRange.length) > 0 ? this.taskDatetimeRange[0] : null,
  330. endTime: (this.taskDatetimeRange && this.taskDatetimeRange.length) > 1 ? this.taskDatetimeRange[1] : null,
  331. }
  332. const names = ["点目标", "移动目标", "区域目标", "线目标", "点群目标", "未知"]
  333. selAllTargetList(param).then(res => {
  334. this.getTableXQTBData = []
  335. this.loading.close();
  336. if (res.code === 200) {
  337. res.data.forEach(item => {
  338. item.typeName = item.type < 0 ? names[5] : names[item.type]
  339. this.getTableXQTBData.push(item)
  340. })
  341. } else {
  342. this.$message.error(res.msg);
  343. }
  344. })
  345. },
  346. popIsShow(type) {
  347. const pops = ['targetPopVis', 'mapPopVis', 'excelPopVis'];
  348. pops.forEach(item => {
  349. this[item] = type === item;
  350. })
  351. },
  352. handleClick(row) {
  353. this.selRow = {...row};
  354. this.popIsShow('targetPopVis');
  355. },
  356. rightClick(row, column, event) {
  357. this.selRow = row;
  358. this.rightClickMenuVisible = true
  359. var rightClickMenu = document.querySelector("#rightClickMenu")
  360. event.preventDefault();
  361. rightClickMenu.style.left = event.clientX + 'px'
  362. rightClickMenu.style.top = event.clientY + 'px'
  363. },
  364. toXQTB() {
  365. //动态追加类
  366. this.clickHQtipStyle = ''
  367. this.clickTBtipStyle = 'ChangeTitleTB-background'
  368. //显示操作区域
  369. this.operateHQvserble = false
  370. this.operateTBvserble = true
  371. //显示表格
  372. this.XQHQviserble = false
  373. this.XQTBviserble = true
  374. },
  375. toXQHQ() {
  376. //动态追加类
  377. this.clickTBtipStyle = ''
  378. this.clickHQtipStyle = 'ChangeTitleHQ-background'
  379. //显示操作区域
  380. this.operateTBvserble = false
  381. this.operateHQvserble = true
  382. //显示表格
  383. this.XQTBviserble = false
  384. this.XQHQviserble = true
  385. },
  386. //通过点击地球上的点获取点的经纬度,并将单条需求数据存放至库 表中
  387. getTargetFromMapClick(command) {
  388. //Excel导入隐藏
  389. this.closeExcelWindowVisible = true;
  390. //目标列表导入,隐藏
  391. this.xqglTargetListVisible = false;
  392. this.$events.emit('map-select', command)
  393. this.mapPointSelect = command
  394. this.$store.dispatch("xqglContentVisible", false)
  395. //内容详情 弹窗 弹出前,确保 点目标弹窗 和 excel导入弹窗 关闭状态
  396. this.XQtargetVisible = false
  397. this.closeExcelWindowVisible = false
  398. this.mapSelectVisible = true
  399. // this.popIsShow('mapPopVis');
  400. },
  401. //观测需求详情表格下的“目标库导入”绑定的事件
  402. getXQfromTargetBase() {
  403. this.$emit("clickTarget", 'targetListVis');
  404. //Excel导入,隐藏
  405. this.excelPopVis = false;
  406. },
  407. //点击excel导入按钮,弹窗;同时,点目标和地图点选两个窗口不显示
  408. popExcelWindow() {
  409. this.popIsShow('excelPopVis');
  410. this.$emit("clickTarget");
  411. },
  412. //观测需求详情某行被 左键 点击时,从子组件表格中获取数据
  413. getDataFromSonXQTB(getData) {
  414. console.log("子组件传过来的行数据:", getData);
  415. console.log('rowClickFlag:', getData.rowData.id);
  416. this.xqtbLeftClickedRowData = getData.rowData;
  417. this.pointTargetTitle = getData.rowData.targetName;
  418. this.pointTargetForm.xqTBrowID = getData.rowData.id
  419. if (getData.rowClickFlag === '1') {
  420. this.mapSelectVisible = false
  421. this.closeExcelWindowVisible = false
  422. this.XQtargetVisible = true
  423. }
  424. // this.pointTargetForm.pointTargetStartTime = new Date(getData.rowData.startTime * 1000);
  425. this.pointTargetForm.pointTargetStartTime = getData.rowData.startTime;
  426. this.pointTargetForm.pointTargetEndTime = getData.rowData.endTime;
  427. // this.pointTargetForm.pointTargetEndTime = new Date(getData.rowData.endTime * 1000);
  428. this.pointTargetForm.investigationMeans = getData.rowData.investigativeMeans;
  429. if (getData.rowData.investigativeMeans === '0') {
  430. this.pointTargetForm.investigationMeans = '默认';
  431. }
  432. if (getData.rowData.observationPurpose) {
  433. this.pointTargetForm.selectValue = getData.rowData.observationPurpose;
  434. }
  435. if (getData.rowData.priority !== 999) {
  436. this.pointTargetForm.priorNumber = getData.rowData.priority;
  437. }
  438. if (getData.rowData.rate) {
  439. this.pointTargetForm.frequency = getData.rowData.rate;
  440. }
  441. },
  442. //右击下拉菜单的各项操作
  443. // 时间和手段应用到所有
  444. xqtbUptate(type) {
  445. let data = {
  446. relationId: this.selRow.id,
  447. type: type,
  448. parentId: this.parentId,
  449. satelliteSelected: this.satelliteSelected,
  450. }
  451. xqtbBatchUpdate(data).then(res => {
  452. if (res.code === 200) {
  453. this.getxqtbList();
  454. this.$message.success('操作成功');
  455. } else {
  456. this.$message.warning(res.message);
  457. }
  458. });
  459. this.rightClickMenuVisible = false
  460. },
  461. //删除
  462. rightClickMenuDelete() {
  463. let data = new FormData();
  464. data.append("ids", this.selRow.id);
  465. postxqglRightClickMenuDeleteRow(data).then(res => {
  466. if (res.code === 200) {
  467. this.getxqtbList();
  468. this.$message.success('操作成功');
  469. } else {
  470. this.$message.warning(res.message);
  471. }
  472. });
  473. this.rightClickMenuVisible = false;
  474. },
  475. //清空
  476. rightClickMenuClear() {
  477. let data = {
  478. parentId: this.parentId,
  479. };
  480. postxqglRightClickMenuClearAllData(data).then(res => {
  481. if (res.code === 200) {
  482. this.getxqtbList();
  483. this.$message.success('操作成功');
  484. } else {
  485. this.$message.warning(res.message);
  486. }
  487. });
  488. this.rightClickMenuVisible = false;
  489. },
  490. //取消
  491. rightClickMenuClose() {
  492. this.rightClickMenuVisible = false;
  493. },
  494. //点击 提报 按钮,进入需求解译页面
  495. toCHpage() {
  496. //前和后端的 数据通信 和确认信息 等操作
  497. let parentIds = [];
  498. this.getTableXQTBData.forEach(element => {
  499. parentIds.push(element.parentId)
  500. });
  501. this.loading = this.$loading({
  502. lock: true,
  503. text: "提报计算中",
  504. spinner: 'el-icon-loading',
  505. background: 'rgba(0,0,0,0.8)'
  506. });
  507. submitPlan(parentIds).then(res => {
  508. if (res.code === 200) {
  509. this.loading.close();
  510. this.$router.push({name: "xqjyPage"});
  511. }
  512. });
  513. },
  514. getxqtbList() {//getxqglTBTableFromClickedTargetList
  515. const purposeDic = {
  516. 1: "航线监视",
  517. 2: "密集观测",
  518. 3: "区域普查",
  519. 4: "持续跟踪",
  520. 5: "应急详查"
  521. }
  522. const typeDic = {
  523. 0: '点目标',
  524. 1: '移动目标',
  525. 2: '区域目标',
  526. 3: '线目标',
  527. 4: '点群目标',
  528. '-1': '未知'
  529. }
  530. const statusDic = {
  531. 0: '未提交',
  532. 1: '已提交',
  533. }
  534. let params = {
  535. parentId: this.parentId,
  536. status: 0,
  537. }
  538. getClickedTagetListDataForxqlbTB(params).then(res => {
  539. let resData = []
  540. if (res.code == 200) {
  541. resData = res.resp
  542. }
  543. this.getTableXQTBData = resData;
  544. this.getTableXQTBData.forEach(item => {
  545. item.observationPurposeChinese = purposeDic[item.observationPurpose];
  546. item.typeName = typeDic[item.type];
  547. item.statusChinese = statusDic[item.status];
  548. })
  549. //20221019屏蔽添加的目标需求点
  550. //this.$events.$emit('xqgl-targetList', resData)
  551. })
  552. },
  553. getParentId() {
  554. getTargetListCodeNumber_headStr().then(res => {
  555. if (res.code === 200 && res.resp) {
  556. this.parentId = res.resp;
  557. sessionStorage.setItem("parentId", res.resp);
  558. this.setParentId(this.parentId);
  559. // this.getxqtbList();
  560. } else {
  561. console.error('parentId获取失败');
  562. }
  563. })
  564. },
  565. },
  566. mounted() {
  567. this.getParentId();
  568. this.toXQTB();
  569. this.getTaskList();
  570. const self = this
  571. this.$events.on('map-selectresult', (data) => {
  572. self.popIsShow('mapPopVis');
  573. let tempStore = self.$store
  574. tempStore.dispatch("xqglContentVisible", true)
  575. })
  576. }
  577. };
  578. </script>
  579. <style lang='scss' scoped>
  580. .leftArea-investigationDetails {
  581. width: 38%;
  582. height: 560px;
  583. background: url('@/assets/ClipImage/dikuang/xuqiuxiangqing.png');
  584. background-size: 100% 100%;
  585. background-repeat: no-repeat;
  586. background-position: center;
  587. position: relative;
  588. margin-top: 6px;
  589. .investigationDetails-title {
  590. width: 100%;
  591. height: 38px;
  592. position: absolute;
  593. top: -44px;
  594. background: url('@/assets/ClipImage/biaoti/xuqiuxinagqing.png');
  595. background-size: 100% 100%;
  596. background-repeat: no-repeat;
  597. background-position: center;
  598. }
  599. .ChangeTitleTB-background {
  600. background: url("@/assets/ClipImage/biaoti/xuqiutibao.png") no-repeat;
  601. background-size: 100% 100%;
  602. }
  603. .ChangeTitleHQ-background {
  604. background: url("@/assets/ClipImage/biaoti/xuqiuhuoqu.png") no-repeat;
  605. background-size: 100% 100%;
  606. }
  607. .tableChange-title {
  608. width: 500px;
  609. height: 38px;
  610. margin: 6px 10px;
  611. display: flex;
  612. .title-xqtbFont {
  613. width: 100%;
  614. height: 18px;
  615. text-align: center;
  616. }
  617. .title-xqhqFont {
  618. width: 62px;
  619. height: 18px;
  620. margin-left: 152px;
  621. }
  622. }
  623. .operate-buttoms {
  624. width: 500px;
  625. height: 42px;
  626. box-sizing: border-box;
  627. padding: 0 56px;
  628. display: flex;
  629. justify-content: space-between;
  630. margin: 10px auto 0;
  631. /deep/ .handle-button,
  632. .target-button,
  633. .excel-button {
  634. width: 80px;
  635. height: 30px;
  636. padding: 0;
  637. font-family: 'SourceHanSansCN-Regular';
  638. font-size: 14px;
  639. }
  640. }
  641. .operate-areaForXQHQ {
  642. width: 500px;
  643. height: 42px;
  644. margin: 0 auto;
  645. display: flex;
  646. justify-content: space-between;
  647. .timeArea-font {
  648. height: 30px;
  649. line-height: 30px;
  650. font-family: 'SourceHanSansCN-Regular';
  651. font-size: 14px;
  652. margin-right: 8px;
  653. }
  654. /deep/ .datePicker-style {
  655. width: 350px;
  656. height: 30px;
  657. padding: 0;
  658. background: rgba(160, 160, 160, 0.3);
  659. border: none;
  660. }
  661. /deep/ .get-XQ {
  662. width: 80px;
  663. height: 30px;
  664. padding: 0;
  665. font-family: 'SourceHanSansCN-Regular';
  666. font-size: 14px;
  667. }
  668. }
  669. .table1TB-area,
  670. .table1HQ-area {
  671. width: 100%;
  672. height: 450px;
  673. margin: 0 auto;
  674. }
  675. .CH-buttonDIV {
  676. width: 500px;
  677. margin: 10px auto 0;
  678. display: flex;
  679. justify-content: center;
  680. align-items: flex-end;
  681. .CHbutton-style {
  682. width: 60px;
  683. height: 30px;
  684. padding: 0;
  685. font-family: 'SourceHanSansCN-Regular';
  686. font-size: 16px;
  687. }
  688. }
  689. .XQtableRightClick-menu {
  690. width: 120px;
  691. height: 150px;
  692. background-color: #557388;
  693. border: solid 1px #ffffff;
  694. position: fixed;
  695. li {
  696. list-style: none;
  697. width: 120px;
  698. height: 30px;
  699. line-height: 30px;
  700. text-align: center;
  701. font-family: 'SourceHanSansCN-Regular';
  702. font-size: 12px;
  703. color: #fff;
  704. cursor: pointer;
  705. }
  706. li:nth-of-type(odd) {
  707. background: #254961;
  708. }
  709. li:nth-of-type(even) {
  710. background: #557388;
  711. }
  712. li:hover {
  713. background: #0095ff;
  714. }
  715. }
  716. }
  717. </style>