serviceEdit.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  1. <template>
  2. <div class="airportInfo">
  3. <div class="wrap_id">
  4. <Minheader
  5. :is-Journal="true"
  6. :is-statuser="true"
  7. :is-Slot="true"
  8. @addJournalForm="addJournalForm"
  9. @addslotForm="addslotForm"
  10. >
  11. <template #header>
  12. <div class="status flex-wrap">
  13. <div class="manageTitle">当前服务ID:101</div>
  14. <div class="typecond">{{ typeK }}</div>
  15. </div>
  16. </template>
  17. </Minheader>
  18. <div class="diacont">
  19. <el-form :model="tableForm" class="w100 fw">
  20. <div class="outersurface pd30">
  21. <el-form-item label="名称" size="default">
  22. <el-input
  23. v-model="tableForm.name"
  24. placeholder="请输入航易行数据采集"
  25. />
  26. </el-form-item>
  27. </div>
  28. <div class="outersurface pd30">
  29. <el-form-item label="业务数据" size="default">
  30. <el-row :gutter="24">
  31. <el-col :span="14">
  32. <el-select
  33. style="width: 100%"
  34. v-model="tableForm.englin"
  35. class="input-shadow"
  36. filterable
  37. default-first-option
  38. clearable
  39. placeholder="主动采集"
  40. >
  41. <el-option
  42. v-for="item in tableOptionser"
  43. :key="item.v ? item.v : item.planDepartureApt"
  44. :label="item.k ? item.k : item.planDepartureApt"
  45. :value="item.v ? item.v : item.planDepartureApt"
  46. >
  47. </el-option>
  48. </el-select>
  49. </el-col>
  50. <el-col :span="10">
  51. <el-select
  52. style="width: 100%"
  53. v-model="tableForm.two"
  54. class="input-shadow"
  55. filterable
  56. default-first-option
  57. clearable
  58. placeholder="异步"
  59. >
  60. <el-option
  61. v-for="item in tableOptionser"
  62. :key="item.v ? item.v : item.planDepartureApt"
  63. :label="item.k ? item.k : item.planDepartureApt"
  64. :value="item.v ? item.v : item.planDepartureApt"
  65. >
  66. </el-option>
  67. </el-select> </el-col
  68. ></el-row>
  69. </el-form-item>
  70. </div>
  71. <div class="outersurface pd30">
  72. <el-form-item label="启动时间" size="default">
  73. <el-date-picker
  74. v-model="tableForm.time"
  75. type="datetime"
  76. placeholder="选择日期时间"
  77. >
  78. </el-date-picker>
  79. </el-form-item>
  80. </div>
  81. <div class="outersurface pd30">
  82. <el-form-item label="停止时间" size="default">
  83. <el-date-picker
  84. v-model="tableForm.time1"
  85. type="datetime"
  86. placeholder="选择日期时间"
  87. >
  88. </el-date-picker>
  89. </el-form-item>
  90. </div>
  91. <div class="outersurface">
  92. <el-form-item label="前序输出编号" size="default">
  93. <el-input
  94. v-model="tableForm.three"
  95. placeholder="请输入前序输出编号"
  96. />
  97. </el-form-item>
  98. </div>
  99. </el-form>
  100. </div>
  101. </div>
  102. <div class="wrap_config">
  103. <Minheader :is-statuser="true">
  104. <template #header>
  105. <div class="status flex-wrap">
  106. <div class="manageTitle">主动采集配置</div>
  107. </div>
  108. </template></Minheader
  109. >
  110. <div class="diacont">
  111. <el-form :model="tableForms" class="w100 fw">
  112. <div class="outersurface pd30">
  113. <el-form-item label="数据源" size="default">
  114. <el-select
  115. style="width: 100%"
  116. v-model="tableForms.name"
  117. class="input-shadow"
  118. filterable
  119. default-first-option
  120. clearable
  121. placeholder="请选择数据源"
  122. >
  123. <el-option
  124. v-for="item in tableOptionser"
  125. :key="item.v ? item.v : item.planDepartureApt"
  126. :label="item.k ? item.k : item.planDepartureApt"
  127. :value="item.v ? item.v : item.planDepartureApt"
  128. >
  129. </el-option>
  130. </el-select>
  131. </el-form-item>
  132. </div>
  133. <div class="outersurfaces">
  134. <el-form-item label="详细位置" size="default">
  135. <el-input
  136. v-model="tableForms.china"
  137. placeholder="请输入详细位置"
  138. />
  139. </el-form-item>
  140. </div>
  141. <div class="outersurface pd30">
  142. <el-form-item label="计划启动时间" size="default">
  143. <el-date-picker
  144. v-model="tableForm.time"
  145. type="datetime"
  146. placeholder="选择日期时间"
  147. >
  148. </el-date-picker>
  149. </el-form-item>
  150. </div>
  151. <div class="outersurface pd30">
  152. <el-form-item label="计划停止时间" size="default">
  153. <el-date-picker
  154. v-model="tableForm.time1"
  155. type="datetime"
  156. placeholder="选择日期时间"
  157. >
  158. </el-date-picker>
  159. </el-form-item>
  160. </div>
  161. <div class="outersurface pd30">
  162. <el-form-item label="错误重试" size="default">
  163. <el-input
  164. v-model="tableForms.englin"
  165. placeholder="请输入错误重试次数"
  166. />
  167. </el-form-item>
  168. </div>
  169. <div class="outersurface pd30">
  170. <el-form-item label="循环次数" size="default">
  171. <el-input v-model="tableForms.two" placeholder="请输入循环次数" />
  172. </el-form-item>
  173. </div>
  174. <div class="outersurface">
  175. <el-form-item label="循环频率" size="default">
  176. <el-input
  177. v-model="tableForms.three"
  178. placeholder="请输入错误重试次数"
  179. />
  180. </el-form-item>
  181. </div>
  182. </el-form>
  183. </div>
  184. </div>
  185. <div class="wrap_rece">
  186. <Minheader :is-statuser="true">
  187. <template #header>
  188. <div class="status flex-wrap">
  189. <div class="manageTitle">统一接收</div>
  190. </div>
  191. </template>
  192. </Minheader>
  193. <div class="diacont">
  194. <el-form :model="tableFormer" class="w100 fw">
  195. <div class="outersurface50 pd30">
  196. <el-form-item label="生命周期编号" size="default">
  197. <el-input
  198. v-model="tableFormer.name"
  199. placeholder="请输入生命周期编号"
  200. />
  201. </el-form-item>
  202. </div>
  203. <div class="outersurface50 pd30"></div>
  204. <div class="outersurface50 pd30">
  205. <el-form-item label="生命周期编号" size="default">
  206. <el-input
  207. type="textarea"
  208. v-model="tableFormer.china"
  209. placeholder="请输入生命周期编号"
  210. />
  211. </el-form-item>
  212. </div>
  213. <div class="outersurface50">
  214. <el-form-item label="生命周期编号" size="default">
  215. <el-input
  216. type="textarea"
  217. v-model="tableFormer.china"
  218. placeholder="请输入生命周期编号"
  219. />
  220. </el-form-item>
  221. </div>
  222. </el-form>
  223. </div>
  224. </div>
  225. <div class="wrap_out">
  226. <el-row :gutter="24">
  227. <el-col :span="12">
  228. <Minheader :is-statuser="true" :is-auth="true" @addForm="addForm">
  229. <template #header>
  230. <div class="status flex-wrap">
  231. <div class="manageTitle">输出</div>
  232. </div>
  233. </template>
  234. </Minheader>
  235. <div class="app-containers">
  236. <DataTable
  237. :tableHeader="state.list"
  238. :tableData="tableData"
  239. :tableBtnGroup="tableBtnGroup"
  240. :tableProperty="{ rowKey: 'ID' }"
  241. @btnClick="btnClicks"
  242. />
  243. </div>
  244. </el-col>
  245. <el-col :span="12">
  246. <Minheader :is-statuser="true">
  247. <template #header>
  248. <div class="status flex-wrap">
  249. <div class="manageTitle">日志记录</div>
  250. </div>
  251. </template>
  252. </Minheader>
  253. <div class="diacont">
  254. <el-form :model="recordForme" class="w100 fw">
  255. <div class="outersurface50 pd30">
  256. <el-form-item label="日志存储数据源" size="default">
  257. <el-select
  258. style="width: 100%"
  259. v-model="recordForme.name"
  260. class="input-shadow"
  261. filterable
  262. default-first-option
  263. clearable
  264. placeholder="请选择数据源"
  265. >
  266. <el-option
  267. v-for="item in tableOptionser"
  268. :key="item.v ? item.v : item.planDepartureApt"
  269. :label="item.k ? item.k : item.planDepartureApt"
  270. :value="item.v ? item.v : item.planDepartureApt"
  271. >
  272. </el-option>
  273. </el-select>
  274. </el-form-item>
  275. </div>
  276. <div class="outersurface50 pd30">
  277. <el-form-item label="详细位置" size="default">
  278. <el-input
  279. v-model="recordForme.china"
  280. placeholder="请输入详细位置"
  281. />
  282. </el-form-item>
  283. </div>
  284. <div class="outersurface100 pd30">
  285. <el-form-item label="日志输出条件" size="default">
  286. <el-input
  287. :autosize="{ minRows: 5, maxRows: 5 }"
  288. type="textarea"
  289. v-model="recordForme.englin"
  290. placeholder="请输入日志输出条件"
  291. />
  292. </el-form-item>
  293. </div>
  294. </el-form>
  295. </div>
  296. </el-col>
  297. </el-row>
  298. </div>
  299. <Dialog
  300. width="852px"
  301. :flag="flag"
  302. :type="type"
  303. :msgTitle="msgTitle"
  304. @resetForm="resetForm"
  305. @delRest="delRest"
  306. >
  307. <div class="logDialog">
  308. <div class="interfaceLog">
  309. <div class="interfaceLog_head flex">
  310. <div class="interfaceLog_head_time flex-wrap">
  311. <div class="interfaceLog_head_time_start r12">
  312. <el-date-picker
  313. v-model="timeStart"
  314. value-format="yyyy-MM-dd HH:mm:ss"
  315. size="default"
  316. @change="timeStartChange"
  317. type="datetime"
  318. placeholder="选择开始日期时间"
  319. default-time="00:00:00"
  320. >
  321. </el-date-picker>
  322. </div>
  323. <div class="interfaceLog_head_time_end">
  324. <el-date-picker
  325. v-model="timeEnd"
  326. value-format="yyyy-MM-dd HH:mm:ss"
  327. size="default"
  328. @change="timeEndChange"
  329. type="datetime"
  330. placeholder="选择结束日期时间"
  331. default-time="00:00:00"
  332. >
  333. </el-date-picker>
  334. </div>
  335. </div>
  336. <div class="flex">
  337. <el-input
  338. placeholder="请输入搜索关键词"
  339. size="default"
  340. v-model="input"
  341. clearable
  342. >
  343. </el-input>
  344. <el-button
  345. size="mini"
  346. style="margin-left: 16px"
  347. @click="logQueryHandler"
  348. type="primary"
  349. >查询</el-button
  350. >
  351. </div>
  352. </div>
  353. <div
  354. v-loading="loading"
  355. element-loading-text="拼命加载中"
  356. stripe
  357. element-loading-spinner="el-icon-loading"
  358. element-loading-background="rgba(0, 0, 0, 0.8)"
  359. class="interfaceLog_content flex-wrap"
  360. >
  361. <el-table
  362. :data="tableData"
  363. class="table"
  364. height="500px"
  365. border
  366. style="width: 100%; margin-top: 20px"
  367. >
  368. <el-table-column prop="logTime" width="200" label="时间">
  369. </el-table-column>
  370. <el-table-column prop="logType" width="100" label="类型">
  371. </el-table-column>
  372. <el-table-column width="200" label="位置">
  373. <template #default="scope">
  374. <el-tooltip
  375. class="item"
  376. effect="dark"
  377. :content="scope.row.logPositionID"
  378. placement="top"
  379. >
  380. <div class="logPositionID">
  381. {{ scope.row.logPositionID }}
  382. </div>
  383. </el-tooltip>
  384. </template>
  385. </el-table-column>
  386. <el-table-column width="100" prop="resultCode" label="成败">
  387. </el-table-column>
  388. <el-table-column label="详情">
  389. <template #default="scope">
  390. <div class="flex-wrap">
  391. <el-tooltip
  392. class="item"
  393. effect="dark"
  394. :content="scope.row.resultDetails"
  395. placement="top"
  396. >
  397. <span :id="'logId' + scope.$index" class="logDetails">{{
  398. scope.row.resultDetails
  399. }}</span>
  400. </el-tooltip>
  401. <el-button
  402. @click="logCopy(scope.$index)"
  403. style="margin-left: 10px"
  404. type="text"
  405. >复制</el-button
  406. >
  407. </div>
  408. </template>
  409. </el-table-column>
  410. </el-table>
  411. </div>
  412. </div>
  413. </div>
  414. </Dialog>
  415. <Dialog
  416. width="852px"
  417. :flag="flaglod"
  418. :type="typelod"
  419. :msgTitle="msgTitlelod"
  420. @resetForm="resetlodForm"
  421. @delRest="dellodRest"
  422. >
  423. <div class="logcont">
  424. <Minheader :is-auth="true" :is-statuser="true" @addForm="addFormso">
  425. <template #header>
  426. <div class="status flex-wrap">
  427. <div class="manageTitle">插槽列表</div>
  428. </div>
  429. </template>
  430. </Minheader>
  431. </div>
  432. <div style="padding: 0 24px 24px 24px" class="dialog-content">
  433. <DataTable
  434. :tableHeader="states.list"
  435. :tableData="tableDatas"
  436. :tableBtnGroup="tableBtnGroup"
  437. :tableProperty="{ rowKey: 'ID' }"
  438. @btnClick="btnClickso"
  439. />
  440. </div>
  441. </Dialog>
  442. <Dialog
  443. :flag="flagoutput"
  444. :type="typeoutput"
  445. :msgTitle="msgTitleoutput"
  446. @resetForm="resetFormot"
  447. @delRest="delRestout"
  448. >
  449. <div class="diacont">
  450. <el-form :model="outputForm">
  451. <el-row :gutter="24">
  452. <el-col>
  453. <el-form-item label="输出数据源" size="default">
  454. <el-input
  455. v-model="outputForm.name"
  456. placeholder="请输入输出数据源"
  457. />
  458. </el-form-item>
  459. </el-col>
  460. <el-col>
  461. <el-form-item label="详细位置" size="default">
  462. <el-input
  463. v-model="outputForm.china"
  464. placeholder="请输入详细位置"
  465. />
  466. </el-form-item>
  467. </el-col>
  468. <el-col>
  469. <el-form-item label="数据结构" size="default">
  470. <el-input
  471. v-model="outputForm.englin"
  472. placeholder="请输入数据结构"
  473. />
  474. </el-form-item>
  475. </el-col>
  476. <el-col>
  477. <el-form-item label="输出条件" size="default">
  478. <el-input
  479. v-model="outputForm.two"
  480. placeholder="请输入输出条件"
  481. />
  482. </el-form-item>
  483. </el-col>
  484. </el-row>
  485. </el-form>
  486. </div>
  487. </Dialog>
  488. <Dialog
  489. :flag="flagso"
  490. :type="typeso"
  491. :msgTitle="msgTitleso"
  492. @resetForm="resetsoForm"
  493. @delRest="delsoout"
  494. >
  495. <div class="diacont">
  496. <el-form :model="soltForm">
  497. <el-row :gutter="24">
  498. <el-col>
  499. <el-form-item label="插槽名称" size="default">
  500. <el-input
  501. v-model="soltForm.name"
  502. placeholder="请输入插槽名称"
  503. />
  504. </el-form-item>
  505. </el-col>
  506. <el-col>
  507. <el-form-item label="插槽地址" size="default">
  508. <el-input
  509. v-model="soltForm.china"
  510. placeholder="请输入插槽名称"
  511. />
  512. </el-form-item>
  513. </el-col>
  514. </el-row>
  515. </el-form>
  516. </div>
  517. </Dialog>
  518. </div>
  519. </template>
  520. <script setup lang="ts">
  521. import Minheader from '@/components/minheader/index.vue'
  522. import DataTable from '@/components/tableTemp/index.vue'
  523. import Dialog from '@/components/dialog/index.vue'
  524. const tableOptionser = ref<any[]>([]) //下拉
  525. const typeK = ref('进行中') //状态
  526. const flag = ref(false) //弹窗开关
  527. const flaglod = ref(false) //插槽弹窗开关
  528. const loading = ref(false) //loding
  529. const type = ref('') //判断是否删除
  530. const typelod = ref('') //判断是否删除
  531. const input = ref('') //输入搜索
  532. const msgTitle = ref('查看日志') //弹窗标题
  533. const msgTitlelod = ref('插槽编辑') //弹窗标题
  534. const timeEnd = ref('') //日志结束时间
  535. const timeStart = ref('') //日志开始时间
  536. const flagoutput = ref(false) //输出开关
  537. const typeoutput = ref('') //判断输出弹窗是否删除
  538. const msgTitleoutput = ref('') //输出弹窗标题
  539. const flagso = ref(false) //输出开关
  540. const typeso = ref('') //判断输出弹窗是否删除
  541. const msgTitleso = ref('') //输出弹窗标题
  542. const tableData = ref([
  543. {
  544. name: '测试',
  545. china: '测试',
  546. englin: '测试',
  547. two: '测试',
  548. },
  549. {
  550. name: '测试',
  551. china: '测试',
  552. englin: '测试',
  553. two: '测试',
  554. },
  555. {
  556. name: '测试',
  557. china: '测试',
  558. englin: '测试',
  559. two: '测试',
  560. },
  561. ])
  562. const tableDatas = ref([
  563. {
  564. name: '测试',
  565. china: '测试',
  566. englin: '测试',
  567. two: '测试',
  568. },
  569. {
  570. name: '测试',
  571. china: '测试',
  572. englin: '测试',
  573. two: '测试',
  574. },
  575. {
  576. name: '测试',
  577. china: '测试',
  578. englin: '测试',
  579. two: '测试',
  580. },
  581. ])
  582. //表头
  583. const state = reactive({
  584. list: [
  585. { label: '输出数据源', key: 'name' },
  586. { label: '详细位置', key: 'china' },
  587. { label: '数据结构', key: 'englin' },
  588. { label: '输出条件', key: 'two' },
  589. ],
  590. listLoading: true,
  591. })
  592. //表头
  593. const states = reactive({
  594. list: [
  595. { label: '插槽名称', key: 'name' },
  596. { label: '插槽地址', key: 'china' },
  597. ],
  598. listLoading: true,
  599. })
  600. const tableBtnGroup = ref([
  601. {
  602. name: '编辑',
  603. className: 'editBtn',
  604. param: 2,
  605. },
  606. {
  607. name: '删除',
  608. className: 'delBtn',
  609. param: 3,
  610. },
  611. ])
  612. const tableForm = reactive({
  613. name: '',
  614. china: '',
  615. englin: '',
  616. two: '',
  617. time: '',
  618. time1: '',
  619. three: '',
  620. text: '',
  621. }) //服务id
  622. const tableForms = reactive({
  623. name: '',
  624. china: '',
  625. englin: '',
  626. two: '',
  627. time: '',
  628. time1: '',
  629. three: '',
  630. text: '',
  631. }) //主动采集配置
  632. const tableFormer = reactive({
  633. name: '',
  634. china: '',
  635. englin: '',
  636. two: '',
  637. time: '',
  638. time1: '',
  639. three: '',
  640. text: '',
  641. }) //统一接收
  642. const recordForme = reactive({
  643. name: '',
  644. china: '',
  645. englin: '',
  646. two: '',
  647. time: '',
  648. time1: '',
  649. three: '',
  650. text: '',
  651. }) //日志记录
  652. const outputForm = reactive({
  653. name: '',
  654. china: '',
  655. englin: '',
  656. two: '',
  657. time: '',
  658. time1: '',
  659. three: '',
  660. text: '',
  661. }) //输出弹窗内容
  662. const soltForm = reactive({
  663. name: '',
  664. china: '',
  665. englin: '',
  666. two: '',
  667. time: '',
  668. time1: '',
  669. three: '',
  670. text: '',
  671. }) //插槽弹窗内容
  672. //编辑-删除
  673. const btnClick = (row, index, param) => {
  674. if (param === 2) {
  675. msgTitle.value = '编辑'
  676. flag.value = true
  677. type.value = ''
  678. tableForm.name = index.name
  679. tableForm.china = index.china
  680. tableForm.englin = index.englin
  681. tableForm.two = index.two
  682. tableForm.three = index.three
  683. tableForm.text = index.text
  684. } else if (param === 3) {
  685. msgTitle.value = '删除'
  686. flag.value = true
  687. type.value = 'del'
  688. } else if (param === 4) {
  689. }
  690. }
  691. //查看日志
  692. const addJournalForm = () => {
  693. flag.value = true
  694. }
  695. //取消
  696. const resetForm = () => {
  697. flag.value = false
  698. }
  699. //删除
  700. const delRest = () => {
  701. flag.value = false
  702. }
  703. //开启插槽
  704. const addslotForm = () => {
  705. flaglod.value = true
  706. }
  707. //取消插槽
  708. const resetlodForm = () => {
  709. flaglod.value = false
  710. }
  711. //删除插槽
  712. const dellodRest = () => {
  713. flaglod.value = false
  714. }
  715. //时间限制
  716. const timeStartChange = val => {
  717. if (val >= timeEnd) {
  718. timeStart.value = ''
  719. }
  720. }
  721. //时间限制
  722. const timeEndChange = val => {
  723. if (val <= timeEnd) {
  724. timeEnd.value = ''
  725. }
  726. }
  727. //复制
  728. const logCopy = index => {
  729. const ele = document.getElementById('logId' + index)
  730. const val = ele!.innerText
  731. try {
  732. const input = document.createElement('input')
  733. //将input的值设置为需要复制的内容
  734. input.value = val
  735. //添加input标签
  736. document.body.appendChild(input)
  737. //选中input标签
  738. input.select()
  739. //执行复制
  740. document.execCommand('copy')
  741. //移除input标签
  742. document.body.removeChild(input)
  743. // this.$message.success("复制成功");
  744. } catch (e) {
  745. // this.$message.error("复制失败");
  746. }
  747. }
  748. //新增输出
  749. const addForm = () => {
  750. msgTitleoutput.value = '新增输出'
  751. flagso.value = true
  752. typeoutput.value = ''
  753. }
  754. //输出删除
  755. const delRestout = () => {
  756. flagoutput.value = false
  757. }
  758. //输出取消
  759. const resetFormot = () => {
  760. flagoutput.value = false
  761. }
  762. //输出编辑-删除
  763. const btnClicks = (row, index, param) => {
  764. if (param === 2) {
  765. msgTitleoutput.value = '编辑'
  766. flagoutput.value = true
  767. typeoutput.value = ''
  768. outputForm.name = index.name
  769. outputForm.china = index.china
  770. outputForm.englin = index.englin
  771. outputForm.two = index.two
  772. outputForm.three = index.three
  773. outputForm.text = index.text
  774. } else if (param === 3) {
  775. msgTitleoutput.value = '删除'
  776. flagoutput.value = true
  777. typeoutput.value = 'del'
  778. } else if (param === 4) {
  779. }
  780. }
  781. //新增插槽
  782. const addFormso = () => {
  783. msgTitleso.value = '新增插槽'
  784. flagso.value = true
  785. typeso.value = ''
  786. }
  787. //取消插槽
  788. const resetsoForm = () => {
  789. flagso.value = false
  790. }
  791. //插槽新增删除
  792. const delsoout = () => {
  793. flagso.value = false
  794. }
  795. //插槽编辑-删除
  796. const btnClickso = (row, index, param) => {
  797. if (param === 2) {
  798. msgTitleso.value = '编辑'
  799. flagso.value = true
  800. typeso.value = ''
  801. soltForm.name = index.name
  802. soltForm.china = index.china
  803. soltForm.englin = index.englin
  804. soltForm.two = index.two
  805. soltForm.three = index.three
  806. soltForm.text = index.text
  807. } else if (param === 3) {
  808. msgTitleso.value = '删除'
  809. flagso.value = true
  810. typeso.value = 'del'
  811. } else if (param === 4) {
  812. }
  813. }
  814. const logQueryHandler = () => {}
  815. </script>
  816. <style lang="scss" scoped>
  817. .airportInfo {
  818. height: 100%;
  819. .wrap_id {
  820. height: 140px;
  821. background: #ffffff;
  822. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  823. border-radius: 4px;
  824. margin-bottom: 16px;
  825. padding: 24px;
  826. }
  827. .wrap_config {
  828. height: 196px;
  829. background: #ffffff;
  830. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  831. border-radius: 4px;
  832. margin-bottom: 16px;
  833. padding: 24px;
  834. }
  835. .wrap_rece {
  836. height: 192px;
  837. background: #ffffff;
  838. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  839. border-radius: 4px;
  840. margin-bottom: 16px;
  841. padding: 24px;
  842. }
  843. .wrap_out {
  844. height: 250px;
  845. background: #ffffff;
  846. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  847. border-radius: 4px;
  848. padding: 24px;
  849. ::v-deep .el-form-item__label {
  850. width: 110px;
  851. }
  852. }
  853. .outersurface {
  854. width: 20%;
  855. }
  856. .outersurfaces {
  857. width: 80%;
  858. }
  859. .outersurface50 {
  860. width: 50%;
  861. }
  862. .outersurface100 {
  863. width: 100%;
  864. }
  865. .diacont {
  866. width: 100%;
  867. .w100 {
  868. width: 100%;
  869. }
  870. .fw {
  871. display: flex;
  872. flex-wrap: wrap;
  873. }
  874. .pd30 {
  875. padding: 0 30px 0 0;
  876. }
  877. }
  878. }
  879. .typecond {
  880. font-size: 20px;
  881. font-family: Microsoft YaHei;
  882. font-weight: bold;
  883. color: #53b074;
  884. }
  885. .app-containers {
  886. height: 170px;
  887. }
  888. ::v-deep .el-form-item__content {
  889. display: flex;
  890. }
  891. ::v-deep .el-form-item__label {
  892. width: 100px;
  893. }
  894. .interfaceLog {
  895. padding: 0 24px 24px 24px;
  896. }
  897. .logcont {
  898. padding: 0 24px 0px 24px;
  899. }
  900. </style>