xqDetails.vue 21 KB

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