Commit ca3e2c26 by Sweet Zhang

来佣增加是否直签

parent f00a7e93
...@@ -82,3 +82,11 @@ export function getAllCompanys(data) { ...@@ -82,3 +82,11 @@ export function getAllCompanys(data) {
data: data data: data
}) })
} }
// 通过部门ID查询部门下的所有用户
export function getDeptUsers(data) {
return request({
url: '/user/api/relTenantDept/import/query/dept/tree',
method: 'post',
data: data
})
}
\ No newline at end of file
...@@ -33,7 +33,7 @@ const props = defineProps({ ...@@ -33,7 +33,7 @@ const props = defineProps({
pageSizes: { pageSizes: {
type: Array, type: Array,
default() { default() {
return [10, 20, 30, 50] return [10, 50, 100, 300]
} }
}, },
// 移动端页码按钮的数量端默认值5 // 移动端页码按钮的数量端默认值5
......
...@@ -234,7 +234,7 @@ import { ...@@ -234,7 +234,7 @@ import {
deleteComeCommission, deleteComeCommission,
changeComeStatus changeComeStatus
} from '@/api/product/index' } from '@/api/product/index'
import { getAllCompanys, getReconciliationCompany, getInsuranceCompany } from '@/api/common' import { getAllCompanys, getReconciliationCompany, getInsuranceCompany,getDeptUsers } from '@/api/common'
import { ref, watch } from 'vue' import { ref, watch } from 'vue'
const props = defineProps({ const props = defineProps({
...@@ -299,7 +299,6 @@ const searchSelectList = async (query, fieldKey, isDirectSign=0) => { ...@@ -299,7 +299,6 @@ const searchSelectList = async (query, fieldKey, isDirectSign=0) => {
searchLoadingStates.value[fieldKey] = true searchLoadingStates.value[fieldKey] = true
try { try {
if (fieldKey === 'reconciliationCompanyName') { if (fieldKey === 'reconciliationCompanyName') {
debugger;
if (isDirectSign == 1) { if (isDirectSign == 1) {
getInsuranceCompany({ getInsuranceCompany({
queryContent: query.trim(), queryContent: query.trim(),
......
...@@ -50,6 +50,11 @@ ...@@ -50,6 +50,11 @@
<dict-tag :options="product_launch_status" :value="scope.row.status" /> <dict-tag :options="product_launch_status" :value="scope.row.status" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建时间" prop="createTime" align="left">
<template #default="scope">
{{ formatIsoToDateTime(scope.row.createTime) }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
...@@ -134,6 +139,7 @@ ...@@ -134,6 +139,7 @@
</div> </div>
</template> </template>
<script setup name="InsuranceProduct"> <script setup name="InsuranceProduct">
import { formatIsoToDateTime } from '@/utils/date'
import { goodsList, changeProductStatus, productApproval } from '@/api/product/index' import { goodsList, changeProductStatus, productApproval } from '@/api/product/index'
import { ref, watch } from 'vue' import { ref, watch } from 'vue'
const router = useRouter() const router = useRouter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment