You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

748 lines
26 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <el-card style="margin-bottom: 0.5vh;background-color: rgb(243,250,254);">
  3. <div class="condition1">
  4. <div class="search">
  5. <el-text size="large" style="width:4vw;">姓名</el-text>
  6. <el-input v-model="searchForm.name" placeholder="请输入姓名" style="width:9vw;" clearable />
  7. </div>
  8. <div class="search">
  9. <el-text size="large" style="width:4vw;">精网号</el-text>
  10. <el-input v-model="searchForm.jwcode" placeholder="请输入精网号" style="width:9vw;" clearable />
  11. </div>
  12. <div class="search">
  13. <el-text size="large" style="width:4vw;">所属地区</el-text>
  14. <el-cascader style="width: 9vw;" v-model="searchForm.marketName" :options="market" placeholder="请选择所属地区"
  15. clearable />
  16. </div>
  17. <div class="search">
  18. <el-text size="large" style="width:4vw;">产品名称</el-text>
  19. <el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" />
  20. </div>
  21. <div class="search">
  22. <el-text size="large" style="width:4vw;">退款币种</el-text>
  23. <el-select v-model="searchForm.payType" style="width:9vw;">
  24. <el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value" />
  25. </el-select>
  26. </div>
  27. </div>
  28. <div class="condition1">
  29. <div class="search2">
  30. <el-text size="large" style="width:4vw;">退款途径</el-text>
  31. <el-select v-model="searchForm.refundChannels" style="width:9vw;">
  32. <el-option v-for="item in channelOptions" :key="item.value" :label="item.label"
  33. :value="item.value" />
  34. </el-select>
  35. </div>
  36. <div class="search2">
  37. <el-text size="large" style="width:4vw;">订单状态</el-text>
  38. <el-select v-model="searchForm.statuses" style="width:9vw;">
  39. <el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" />
  40. </el-select>
  41. </div>
  42. <div class="search2" style="width: 28vw;">
  43. <el-text size="large" style="width:4vw;">退款时间</el-text>
  44. <el-date-picker v-model="dateRange" type="datetimerange" range-separator="" start-placeholder="起始时间"
  45. end-placeholder="结束时间" style="width:22vw;" @change="handleDatePickerChange"
  46. :disabled-date="disabledDate" :default-time="defaultTime" />
  47. </div>
  48. <div>
  49. <el-button type="primary" @click="getRefund">查询</el-button>
  50. <el-button type="editRow" @click="reset">重置</el-button>
  51. <!-- <el-button type="warning">导出excel</el-button>
  52. <el-button type="primary">查看导出列表</el-button> -->
  53. </div>
  54. </div>
  55. </el-card>
  56. <el-card style="background-color: rgb(231,244,253);">
  57. <el-table :data="tableData" style="height:60vh;width:82vw;">
  58. <el-table-column type="index" label="序号" width="60" fixed="left" />
  59. <el-table-column prop="name" label="Homily ID" width="120" fixed="left" />
  60. <el-table-column prop="jwcode" label="姓名" width="120" fixed="left" show-overflow-tooltip />
  61. <el-table-column prop="market" label="所属地区" width="120" />
  62. <el-table-column prop="goodsName" label="产品名称" width="120" />
  63. <el-table-column prop="goodNum" label="产品数量" width="120" />
  64. <el-table-column prop="refundType" label="退款方式" width="120">
  65. <template #default="scope">
  66. {{ scope.row.refundType === 1 ? '部分退款' : '全部退款' }}
  67. </template>
  68. </el-table-column>
  69. <el-table-column prop="refundCurrency" label="退款币种" width="120">
  70. <template #default="scope">
  71. <div v-if="!scope.row.refundCurrency">
  72. <text style="color: #FA5A1E;">待补充</text>
  73. </div>
  74. </template>
  75. </el-table-column>
  76. <el-table-column prop="refundAmount" label="退款金额" width="120">
  77. <template #default="scope">
  78. <div v-if="!scope.row.refundAmount">
  79. <text style="color: #FA5A1E;">待补充</text>
  80. </div>
  81. </template>
  82. </el-table-column>
  83. <el-table-column prop="refundChannels" label="退款途径" width="120">
  84. <template #default="scope">
  85. <div v-if="!scope.row.refundChannels">
  86. <text style="color: #FA5A1E;">待补充</text>
  87. </div>
  88. </template>
  89. </el-table-column>
  90. <el-table-column prop="refundVoucher" label="退款截图" width="120">
  91. <template #default="scope">
  92. <el-image v-if="scope.row.refundVoucher" :src="scope.row.refundVoucher"
  93. :preview-src-list="[scope.row.refundVoucher]"
  94. style="width: 40px; height: 40px; cursor: pointer;z-index: 99999;" fit="cover" />
  95. <span v-else style="color: #FA5A1E;">待补充</span>
  96. </template>
  97. </el-table-column>
  98. <el-table-column prop="refundTime" label="退款时间" width="180">
  99. <template #default="scope">
  100. <div v-if="!scope.row.refundTime">
  101. <text style="color: #FA5A1E;">待补充</text>
  102. </div>
  103. </template>
  104. </el-table-column>
  105. <el-table-column prop="status" label="订单状态" width="120">
  106. <template #default="scope">
  107. {{ scope.row.status === 41 ? '已完成' : '待处理' }}
  108. </template>
  109. </el-table-column>
  110. <el-table-column prop="operation" label="操作" fixed="right" width="100px">
  111. <template #default="scope">
  112. <div class="operation">
  113. <el-button v-if="scope.row.status === 40" type="primary" text
  114. @click="showEditDialog(scope.row)">
  115. 提交
  116. </el-button>
  117. <el-button v-else type="primary" text @click="showEditDialog(scope.row)">
  118. 编辑
  119. </el-button>
  120. </div>
  121. </template>
  122. </el-table-column>
  123. </el-table>
  124. <el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
  125. layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;"
  126. @size-change="handlePageSizeChange" @current-change="handleCurrentChange" />
  127. </el-card>
  128. <el-dialog v-model="showEdit" class="edit" overflow draggable style="width: 40vw;">
  129. <div style="display: flex;">
  130. <div class="left">
  131. <div class="dialog-item">
  132. <el-text style="width:4vw;">精网号</el-text>
  133. <el-input v-model="editRow.jwcode" style="width:10vw;" disabled />
  134. </div>
  135. <div class="dialog-item">
  136. <el-text style="width:4vw;">客户姓名</el-text>
  137. <el-input v-model="editRow.name" style="width:10vw;" disabled />
  138. </div>
  139. <div class="dialog-item">
  140. <el-text style="width:4vw;">所属地区</el-text>
  141. <el-input v-model="editRow.market" style="width:10vw;" disabled />
  142. </div>
  143. <div class="dialog-item">
  144. <el-text style="width:4vw;">产品名称</el-text>
  145. <el-input v-model="editRow.goodsName" style="width:10vw;" disabled />
  146. </div>
  147. <div class="dialog-item">
  148. <el-text style="width:4vw;">退款类型</el-text>
  149. <el-select v-model="editRow.refundModel" style="width:10vw;" disabled>
  150. <el-option label="全部退款" :value="0"></el-option>
  151. <el-option label="部分退款" :value="1"></el-option>
  152. </el-select>
  153. </div>
  154. <div class="dialog-item">
  155. <el-text style="width:4vw;">付款币种</el-text>
  156. <el-input v-model="editRow.paymentCurrency" style="width:10vw;" disabled />
  157. </div>
  158. <div class="dialog-item">
  159. <el-text style="width:4vw;">付款金额</el-text>
  160. <el-input v-model="editRow.paymentAmount" style="width:10vw;" disabled />
  161. </div>
  162. <div class="dialog-item">
  163. <el-text style="width:4vw;">支付方式</el-text>
  164. <el-input v-model="editRow.payType" style="width:10vw;" disabled />
  165. </div>
  166. <div class="dialog-item">
  167. <el-text style="width:4vw;">付款时间</el-text>
  168. <el-date-picker v-model="editRow.payTime" type="datetime" style="width:10vw;" disabled />
  169. </div>
  170. <div class="dialog-item">
  171. <el-text style="width:4vw;">提交人</el-text>
  172. <el-input v-model="editRow.submitterName" style="width:10vw;" disabled />
  173. </div>
  174. <div class="dialog-item">
  175. <el-text style="width:4vw;">转账凭证</el-text>
  176. <img v-if="editRow.voucher" :src="editRow.voucher"
  177. style="width: 80px; height: 80px; object-fit: cover;">
  178. <div v-else>
  179. 无转账凭证
  180. </div>
  181. </div>
  182. <div class="dialog-item">
  183. <el-text style="width:4vw;">备注</el-text>
  184. <el-input v-model="editRow.remark" style="width:10vw;" :row="3" disabled maxlength="100"
  185. type="textarea" show-word-limit clearable />
  186. </div>
  187. </div>
  188. <div class="right">
  189. <div class="dialog-item">
  190. <el-text style="width:4vw;">退款币种</el-text>
  191. <el-select v-model="editForm.refundCurrency" placeholder="请选择退款币种" style="width:10vw;">
  192. <el-option v-for="item in currencies" :key="item.value" :label="item.label"
  193. :value="item.value" />
  194. </el-select>
  195. </div>
  196. <div class="dialog-item">
  197. <el-text style="width:4vw;">退款金额</el-text>
  198. <el-input v-model="editForm.refundAmount" placeholder="请输入退款金额" style="width:10vw;" clearable />
  199. </div>
  200. <div class="dialog-item">
  201. <el-text style="width:4vw;">退款途径</el-text>
  202. <el-select v-model="editForm.refundChannels" placeholder="请选择退款途径" style="width:10vw;">
  203. <el-option v-for="item in channelOptions" :key="item.value" :label="item.label"
  204. :value="item.value" />
  205. </el-select>
  206. </div>
  207. <div class="dialog-item">
  208. <el-text style="width:4vw;">退款时间</el-text>
  209. <el-date-picker v-model="editForm.refundTime" type="datetime" placeholder="请选择退款时间"
  210. style="width:10vw;" clearable />
  211. </div>
  212. <div class="dialog-item">
  213. <el-text style="width:4vw;">支付凭证</el-text>
  214. <el-upload ref="uploadRef" :http-request="customUpload" list-type="picture-card"
  215. :auto-upload="false" :on-change="handleImageChange" :before-upload="beforeUpload"
  216. :show-file-list="false">
  217. <template #default>
  218. <img v-if="editForm.imageUrl" :src="editForm.imageUrl"
  219. style="width: 80px; height: 80px; object-fit: cover;">
  220. <el-icon v-else>
  221. <Plus />
  222. </el-icon>
  223. </template>
  224. </el-upload>
  225. </div>
  226. <div class="dialog-item">
  227. <el-text style="width:4vw;">备注</el-text>
  228. <el-input v-model="editForm.refundRemark" placeholder="请输入备注" style="width:10vw;" :rows="3"
  229. maxlength="100" show-word-limit type="textarea" clearable />
  230. </div>
  231. <div style="display:flex;justify-content: center;margin-top: 5vh;">
  232. <el-button type="default" @click="hideEditDialog" style="margin-right: 2vw;">取消</el-button>
  233. <el-button type="primary" @click="submitRefund">提交</el-button>
  234. </div>
  235. </div>
  236. </div>
  237. </el-dialog>
  238. </template>
  239. <script setup>
  240. import { ref, onMounted } from 'vue'
  241. import { ElMessage } from 'element-plus'
  242. import API from '@/util/http.js'
  243. import dayjs from 'dayjs'
  244. import { useAdminStore } from "@/store/index.js"
  245. import { storeToRefs } from "pinia"
  246. import { Delete, Download, Plus, ZoomIn } from '@element-plus/icons-vue'
  247. const adminStore = useAdminStore()
  248. const { adminData, menuTree } = storeToRefs(adminStore)
  249. import { permissionMapping, findMenuById } from "@/utils/menuTreePermission.js"
  250. const uploadUrl = 'https://api.homilychart.com/hljw/api/aws/upload'
  251. const dateRange = ref([])
  252. const tableData = ref([])
  253. const editRow = ref({})// 编辑回显
  254. const pagination = ref({
  255. pageNum: 1,
  256. pageSize: 50,
  257. total: 0
  258. })
  259. const market = ref([])
  260. const uploadRef = ref(null)
  261. const searchForm = ref({
  262. jwcode: ''
  263. })
  264. const showEdit = ref(false)
  265. const editForm = ref({
  266. jwcode: ''
  267. })
  268. // 查全部
  269. const getRefund = async function () {
  270. try {
  271. searchForm.value.statuses = [40, 41] // 默认:看不到进度没到这里的
  272. const params = {
  273. pageNum: pagination.value.pageNum,
  274. pageSize: pagination.value.pageSize,
  275. cashRecordDone: {
  276. jwcode: searchForm.value.jwcode,
  277. name: searchForm.value.name,
  278. markets: searchForm.value.markets,
  279. goodsNames: searchForm.value.goodsName,
  280. statuses: searchForm.value.statuses,//10:地区财务待审核;12:地区财务驳回;
  281. // 20:地区负责人待审核;22:地区负责人驳回;
  282. // 30:总部财务待审核;32:总部财务驳回;
  283. // 40:执行人待处理;41:执行人已处理,退款完成;
  284. paymentCurrency: searchForm.value.paymentCurrency,
  285. payType: searchForm.value.payType,
  286. startTime: dateRange.value && dateRange.value[0] ? dayjs(dateRange.value[0]).format('YYYY-MM-DD HH:mm:ss') : "",
  287. endtime: dateRange.value && dateRange.value[1] ? dayjs(dateRange.value[1]).format('YYYY-MM-DD HH:mm:ss') : "",
  288. adminId: adminData.value.id,
  289. account: adminData.value.account
  290. }
  291. }
  292. const result = await API({
  293. url: '/Money/select',
  294. method: 'POST',
  295. data: params
  296. })
  297. tableData.value = result.data.list || []
  298. pagination.value.total = result.data.total || 0
  299. } catch (error) {
  300. ElMessage.error(error.message || '查询失败')
  301. }
  302. }
  303. // 提交
  304. const submitRefund = async function () {
  305. try {
  306. const params = {
  307. refundVoucher: editForm.value.imageUrl,
  308. refundTime: editForm.value.refundTime ? dayjs(editForm.value.refundTime).format('YYYY-MM-DD HH:mm:ss') : "",
  309. refundRemark: editForm.value.refundRemark,
  310. id: editRow.value.id,
  311. refundCurrency: editForm.value.refundCurrency,
  312. refundAmount: editForm.value.refundAmount,
  313. refundChannels: editForm.value.refundChannels,
  314. status: 41,
  315. auditId: editRow.value.auditId,
  316. executor: adminData.value.account
  317. }
  318. const result = await API({
  319. url: '/Money/executor',
  320. data: params
  321. })
  322. if (result.code === 200) {
  323. ElMessage.success('提交成功')
  324. hideEditDialog()
  325. getRefund()
  326. } else {
  327. ElMessage.error(result.data.msg || '提交失败')
  328. }
  329. } catch (error) {
  330. ElMessage.error(error.message || '提交失败')
  331. }
  332. }
  333. const getMarket = async function () {
  334. try {
  335. const result = await API({
  336. url: '/market/selectMarket',
  337. })
  338. console.log('看看地区树', result)
  339. const transformTree = (nodes) => {
  340. const allChildren = nodes.flatMap(node => node.children || []);
  341. return allChildren.map(child => {
  342. const grandchildren = child.children && child.children.length
  343. ? transformTree([child])
  344. : null;
  345. return {
  346. value: child.name,
  347. label: child.name,
  348. children: grandchildren
  349. };
  350. });
  351. };
  352. market.value = transformTree(result.data)
  353. console.log('转换后的地区树==============', market.value)
  354. } catch (error) {
  355. console.log('请求失败', error)
  356. }
  357. }
  358. const showEditDialog = (row) => {
  359. editRow.value = row
  360. showEdit.value = true
  361. }
  362. const hideEditDialog = () => {
  363. showEdit.value = false
  364. editForm.value = {
  365. jwcode: ''
  366. }
  367. }
  368. const statusList = ref([
  369. {
  370. value: 40,
  371. label: '待处理',
  372. },
  373. {
  374. value: 41,
  375. label: '退款完成'
  376. }
  377. ])
  378. const channelOptions = ref([{
  379. value: '银行转账',
  380. label: '银行转账'
  381. },
  382. {
  383. value: '现金',
  384. label: '现金'
  385. },
  386. {
  387. value: '支票',
  388. label: '支票'
  389. },
  390. {
  391. value: '刷卡',
  392. label: '刷卡'
  393. },
  394. {
  395. value: 'Grabpay',
  396. label: 'Grabpay'
  397. },
  398. {
  399. value: 'Nets',
  400. label: 'Nets'
  401. },
  402. {
  403. value: 'PayPal',
  404. label: 'PayPal'
  405. },
  406. {
  407. value: 'Stripe-链接收款',
  408. label: 'Stripe-链接收款'
  409. },
  410. {
  411. value: 'Ipay88-链接收款',
  412. label: 'Ipay88-链接收款'
  413. },
  414. {
  415. value: 'PaymentAsia-链接收款',
  416. label: 'PaymentAsia-链接收款'
  417. },
  418. {
  419. value: 'Stripe-Link平台',
  420. label: 'Stripe-Link平台'
  421. },
  422. {
  423. value: 'PaymentAsia-Link平台',
  424. label: 'PaymentAsia-Link平台'
  425. },
  426. {
  427. value: 'FirstData-Link平台-Link平台',
  428. label: 'FirstData-Link平台-Link平台'
  429. },
  430. {
  431. value: 'IOS-Link平台',
  432. label: 'IOS-Link平台'
  433. },
  434. {
  435. value: 'Ipay88-Link平台',
  436. label: 'Ipay88-Link平台'
  437. }
  438. ])
  439. const currencies = ref([
  440. {
  441. value: '新币',
  442. label: '新币'
  443. },
  444. {
  445. value: '港币',
  446. label: '港币'
  447. },
  448. {
  449. value: '马币',
  450. label: '马币'
  451. },
  452. {
  453. value: '加币',
  454. label: '加币'
  455. },
  456. {
  457. value: '泰铢',
  458. label: '泰铢'
  459. },
  460. {
  461. value: '越南盾',
  462. label: '越南盾'
  463. }
  464. ])
  465. const handleImageChange = (file) => {
  466. uploadRef.value.submit()
  467. }
  468. const beforeUpload = (file) => {
  469. const isJPG = file.type === 'image/jpeg'
  470. const isPNG = file.type === 'image/png'
  471. const isLt1 = file.size / 1024 < 1024
  472. if (!isJPG && !isPNG) {
  473. ElMessage.error('上传图片只能是 JPG 或 PNG 格式')
  474. return false
  475. }
  476. if (!isLt1) {
  477. ElMessage.error('上传图片大小不能超过1MB')
  478. return false
  479. }
  480. return true
  481. }
  482. const customUpload = async (options) => {
  483. try {
  484. const formData = new FormData()
  485. formData.append('file', options.file)
  486. const response = await API({
  487. url: uploadUrl,
  488. method: 'POST',
  489. data: formData,
  490. headers: {
  491. 'Content-Type': 'multipart/form-data'
  492. }
  493. })
  494. if (response.code === 200 && response.data) {
  495. editForm.value.imageUrl = response.data.url
  496. ElMessage.success(response.msg || '上传成功')
  497. } else {
  498. ElMessage.error(response.msg || '上传失败')
  499. }
  500. } catch (error) {
  501. console.error('上传错误:', error)
  502. ElMessage.error(`上传失败: ${error.msg || error.message || '网络异常'}`)
  503. }
  504. }
  505. const productList = [
  506. {
  507. "value": "金币产品",
  508. "label": "金币产品",
  509. "children": [
  510. {
  511. "value": "金币充值",
  512. "label": "金币充值",
  513. }
  514. ]
  515. },
  516. {
  517. "value": "软件产品",
  518. "label": "软件产品",
  519. "children": [
  520. {
  521. "value": "美股",
  522. "label": "美股",
  523. "children": [
  524. {
  525. "value": "美股软件",
  526. "label": "美股软件"
  527. }
  528. ]
  529. },
  530. {
  531. "value": "港股",
  532. "label": "港股",
  533. "children": [
  534. {
  535. "value": "港股软件",
  536. "label": "港股软件"
  537. }
  538. ]
  539. },
  540. {
  541. "value": "A股",
  542. "label": "A股",
  543. "children": [
  544. {
  545. "value": "A股软件",
  546. "label": "A股软件"
  547. }
  548. ]
  549. },
  550. {
  551. "value": "新加坡股",
  552. "label": "新加坡股",
  553. "children": [
  554. {
  555. "value": "新加坡股软件",
  556. "label": "新加坡股软件"
  557. }
  558. ]
  559. },
  560. {
  561. "value": "马股",
  562. "label": "马股",
  563. "children": [
  564. {
  565. "value": "马股软件",
  566. "label": "马股软件"
  567. }
  568. ]
  569. },
  570. {
  571. "value": "日本股",
  572. "label": "日本股",
  573. "children": [
  574. {
  575. "value": "日本股软件",
  576. "label": "日本股软件"
  577. }
  578. ]
  579. },
  580. {
  581. "value": "泰股",
  582. "label": "泰股",
  583. "children": [
  584. {
  585. "value": "泰股软件",
  586. "label": "泰股软件"
  587. }
  588. ]
  589. },
  590. {
  591. "value": "越南股",
  592. "label": "越南股",
  593. "children": [
  594. {
  595. "value": "越南股软件",
  596. "label": "越南股软件"
  597. }
  598. ]
  599. },
  600. {
  601. "value": "印尼股",
  602. "label": "印尼股",
  603. "children": [
  604. {
  605. "value": "印尼股软件",
  606. "label": "印尼股软件"
  607. }
  608. ]
  609. },
  610. {
  611. "value": "韩国股",
  612. "label": "韩国股",
  613. "children": [
  614. {
  615. "value": "韩国股软件",
  616. "label": "韩国股软件"
  617. }
  618. ]
  619. },
  620. {
  621. "value": "台湾股",
  622. "label": "台湾股",
  623. "children": [
  624. {
  625. "value": "台湾股软件",
  626. "label": "台湾股软件"
  627. }
  628. ]
  629. }
  630. ]
  631. },
  632. ]
  633. const defaultTime = [
  634. new Date(2000, 1, 1, 0, 0, 0),
  635. new Date(2000, 2, 1, 23, 59, 59),
  636. ]
  637. const disabledDate = (time) => {
  638. const limitDate = new Date(2025, 0, 1);
  639. return time.getTime() < limitDate.getTime();
  640. }
  641. const reset = function () {
  642. searchForm.value = {
  643. jwcode: '',
  644. market: searchForm.value.market,
  645. statuses: searchForm.value.statuses
  646. }
  647. dateRange.value = []
  648. getRefund()
  649. }
  650. onMounted(() => {
  651. console.log('???????????????????', adminData.value)
  652. getRefund()
  653. getMarket()
  654. })
  655. </script>
  656. <style scoped>
  657. :deep(.el-table__header-wrapper),
  658. :deep(.el-table__body-wrapper),
  659. :deep(.el-table__cell),
  660. :deep(.el-table__body td) {
  661. background-color: #F3FAFE !important;
  662. }
  663. :deep(.el-table__header th) {
  664. background-color: #F3FAFE !important;
  665. }
  666. :deep(.el-image-viewer) {
  667. z-index: 3000 !important;
  668. /* 确保高于固定列和对话框的层级 */
  669. }
  670. /* 若固定列仍遮挡,强制提高固定列容器的层级(可选) */
  671. :deep(.el-table__fixed),
  672. :deep(.el-table__fixed-right) {
  673. z-index: 10 !important;
  674. /* 低于预览层的 3000 即可 */
  675. }
  676. .condition1 {
  677. width: 82vw;
  678. display: flex;
  679. align-items: center;
  680. height: 4vh;
  681. .search {
  682. width: 18%;
  683. display: flex;
  684. align-items: center;
  685. margin-bottom: 1vh;
  686. margin-right: 0.5vw;
  687. }
  688. .search2 {
  689. width: 18%;
  690. display: flex;
  691. align-items: center;
  692. margin-right: 0.5vw;
  693. }
  694. }
  695. .edit {
  696. .left {
  697. width: 45%;
  698. height: 60vh;
  699. padding: 0 2vw;
  700. .dialog-item {
  701. display: flex;
  702. align-items: center;
  703. margin-bottom: 1vh;
  704. }
  705. .image {
  706. width: 4vw !important;
  707. height: 4vw !important;
  708. }
  709. :deep(.el-upload--picture-card) {
  710. width: 4vw !important;
  711. height: 4vw !important;
  712. padding: 0 !important;
  713. }
  714. }
  715. .right {
  716. width: 50%;
  717. .dialog-item {
  718. display: flex;
  719. align-items: center;
  720. margin-bottom: 1vh;
  721. }
  722. }
  723. }
  724. </style>