Merge branch 'zth' into dev

szh-new
张同海 3 months ago
commit 2b232b022b

@ -134,8 +134,8 @@ export function updateFormItem(updateSchema, formNo) {
}
// 返回表格查询的参数 multipleList(需要多选查询的字段名数组)
export function formatParams(params = {}, equal:any = []) {
const postData = {
export function formatParams(params = {}, equal: any = [], otherQuery: any = []) {
const postData:any = {
queryCondition: '',
pageCondition: {
pageIndex: params?.page,
@ -145,8 +145,17 @@ export function formatParams(params = {}, equal:any = []) {
}
const conditions = [] as any
for (let key in params) {
let IsContinue = true
if (otherQuery.length) {
otherQuery.forEach((item) => {
if (key == item) {
IsContinue = false
postData.otherQueryCondition[key]=params[key]
}
})
}
// 排除不是分页排序等字段
if (key != 'page' && key != 'pageSize' && key != 'order' && key != 'field') {
if (IsContinue && key != 'page' && key != 'pageSize' && key != 'order' && key != 'field') {
if (key == 'advancedSearchParams') {
// 高级查询
conditions.push(params[key])

@ -2,7 +2,7 @@
<div>
<BasicTable class="ds-table-detail" @register="registerTable" @row-dbClick="handleAudit">
<template #tableTitle>
<span class="放舱通道配置列表">自动费用模板</span>
<span class="title">放舱方式设置</span>
<a-button type="link" @click="handleCreate" :disabled="checkPermissions('op:ctn:add')">
<span class="iconfont icon-new_document"></span>
添加
@ -132,3 +132,16 @@
reload()
}
</script>
<style lang="less" scoped>
.ds-table-detail {
margin-top: -16px;
.title {
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
line-height: 15.84px;
color: rgba(51, 56, 61, 1);
text-align: left;
}
}
</style>

@ -183,9 +183,9 @@
<Menus3 :client-id="clientId" class="RUnit" />
</a-tab-pane>
<!-- 合同管理 -->
<a-tab-pane key="7" tab="固定费用">
<!-- <a-tab-pane key="7" tab="固定费用">
<CustTemplateDetail :client-id="clientId" :customer-name="customerName" class="RUnit" />
</a-tab-pane>
</a-tab-pane> -->
<!-- 客户参数表格 -->
<a-tab-pane key="8" tab="客户参数">
<CustomerParams :client-id="clientId" :customer-name="customerName"></CustomerParams>
@ -226,7 +226,7 @@
import Tabs3 from './tabs3/index.vue'
import Menus2 from './menu2/index.vue'
import Menus3 from './menu3/index.vue'
import CustTemplateDetail from './custTemplateDetail/index.vue'
// import CustTemplateDetail from './custTemplateDetail/index.vue'
import FeeCustTemplate from './FeeCustTemplate/index.vue'
import { useModal } from '/@/components/Modal'
import CustomerParams from './customerParams/index.vue'

@ -2,7 +2,7 @@
<div>
<BasicTable class="ds-table-detail" @register="registerTable" :maxHeight="350">
<template #tableTitle>
<span>账期信息</span>
<span class="title">账期信息</span>
<a-button type="link" @click="handleCreate" :disabled="Fndisabled()">
<span class="iconfont icon-new_document"></span>
添加
@ -175,6 +175,8 @@
}
</script>
<style lang="less" scoped>
.ds-table-detail {
margin-top: -16px;
.title {
font-size: 12px;
font-weight: 700;
@ -183,4 +185,5 @@
color: rgba(51, 56, 61, 1);
text-align: left;
}
}
</style>

@ -1,5 +1,6 @@
import { BasicColumn, FormSchema } from '/@/components/Table'
import { Tag } from 'ant-design-vue'
import { GetUserList } from '/@/api/common'
import { useOptionsStore } from '/@/store/modules/options'
const optionsStore = useOptionsStore()
export const columns: BasicColumn[] = [
@ -225,10 +226,17 @@ export const formSchema: FormSchema[] = [
{
label: '负责人',
field: 'leader',
component: 'Input',
defaultValue: '',
colProps: {
span: 6,
component: 'ApiSelect',
colProps: { span: 6 },
componentProps: () => {
return {
api: GetUserList,
labelField: 'label',
valueField: 'label',
immediate: false,
resultField: 'data',
getPopupContainer: () => document.body,
}
},
},
{
@ -432,9 +440,9 @@ export const formSchema: FormSchema[] = [
return !!values.id
},
colProps: {
span: 24
}
}
span: 24,
},
},
]
export const BankColumns: BasicColumn[] = [
@ -647,7 +655,7 @@ export const BankformSchema: FormSchema[] = [
options: [
{ label: '启用', value: 1 },
{ label: '禁用', value: 0 },
]
],
},
defaultValue: true,
colProps: {

@ -1,8 +1,3 @@
<!--
* @Desc: 机构管理列表页面
* @Author: lijj
* @Date: 2024-07-17 08:39:51
-->
<template>
<div class="ds-org-manage">
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleEdit">
@ -35,7 +30,9 @@
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'orgName'">
<span style="color: #0d84ff; cursor: pointer;" @click="handleEdit(record)">{{ record.orgName }}</span>
<span style="color: #0d84ff; cursor: pointer" @click="handleEdit(record)">{{
record.orgName
}}</span>
</template>
<template v-if="column.key === 'action'">
<TableAction

Loading…
Cancel
Save