Browse Source

业务管理-合伙人管理bug

@dongkboy 4 months ago
parent
commit
e49517e967

+ 9 - 2
src/views/partnerManagement/commissionChangeLog.vue

@@ -21,7 +21,7 @@ import { ref, reactive, onBeforeMount } from 'vue'
 import api from '@/api'
 // 页面加载时获取机构列表
 onBeforeMount(() => {
-  
+
   findpage();
 });
 interface PageInfo {
@@ -36,7 +36,7 @@ const formInline = reactive({
   name: "",
   mobile: "",
   userId: "",
-  userGrade: "",
+  grade: "",
   changeTimes: [],//变更时间
 })
 const pageInfo = ref({
@@ -115,6 +115,13 @@ function getList(item: PageInfo) {
 
 };
 const resetForm = () => {
+  Object.assign(formInline, {
+    name: '',//姓名
+    mobile: "",//手机号
+    userId: '',//工号
+    grade: '',//合伙人等级
+    changeTimes: [],//变更时间
+  })
   findpage();
 }
 //数据查询

+ 14 - 1
src/views/partnerManagement/commissionDetails.vue

@@ -60,7 +60,11 @@ const fields = ref([
     label: "工号", model: "userId", type: "input", placeholder: "请输入工号"
   },
   {
-    label: "等级", model: "source", type: "select", placeholder: "选择等级", options: userGradeList.value
+    label: "等级", model: "source", type: "select", placeholder: "选择等级", options: userGradeList,
+    props: {
+      label: 'gradeName',
+      value: 'grade',
+    }
   },
   {
     label: "订单号", model: "orderno", type: "input", placeholder: "请输入订单号"
@@ -103,6 +107,15 @@ function getList(item: PageInfo) {
 
 };
 const resetForm = () => {
+  Object.assign(formInline, {
+    userName: "",//姓名
+    mobile: "",//手机号
+    userId: "",//工号
+    source: "",//等级
+    orderno: "",//订单号
+    licenseno: "",//车牌号
+    signingTime: [],//签单时间
+  })
   findpage();
 }
 //数据查询