tangning 1 tahun lalu
induk
melakukan
0ebf6ad564

+ 1 - 1
src/views/lanUser/list.vue

@@ -104,7 +104,7 @@
       const columns: BasicColumn[] = [
         {
           title: '人员编号',
-          dataIndex: 'ryId',
+          dataIndex: 'ryNo',
           fixed: 'left',
           width: 60,
         },

+ 1 - 1
src/views/productOperation/modal/PowersModal.vue

@@ -74,7 +74,7 @@
       const columns: BasicColumn[] = [
         {
           title: '人员编号',
-          dataIndex: 'ryId',
+          dataIndex: 'ryNo',
           width: 150,
         },
         {

+ 5 - 5
src/views/productOperation/modal/detailModal.vue

@@ -113,7 +113,7 @@
           required: false,
         },
         {
-          field: 'ryId',
+          field: 'ryNo',
           component: 'AutoComplete',
           label: '人员编号',
           required: true,
@@ -121,7 +121,7 @@
             filterOption: onFilterOption,
             onSearch: onSearch,
             onChange: (data) => {
-              const item = optionsName.value && optionsName.value.find((ele) => ele.ryId == data);
+              const item = optionsName.value && optionsName.value.find((ele) => ele.ryNo == data);
               setFieldsValue({ ryNickName: item && item.ryNickName ? item.ryNickName : '' });
             },
           },
@@ -437,15 +437,15 @@
       }
 
       async function onSearch(searchText) {
-        const list = await getByRyId({ ryId: searchText });
+        const list = await getByRyId({ ryNo: searchText });
         optionsName.value =
           list.map((ele) => {
-            return { ...ele, value: ele.ryId };
+            return { ...ele, value: ele.ryNo };
           }) || [];
         // console.log('paramList', optionsList);
         // optionsName.value = optionsList || [];
         updateSchema({
-          field: 'ryId',
+          field: 'ryNo',
           componentProps: {
             options: optionsName.value,
           },