Explorar o código

企业信息页面调整

liudijing hai 10 meses
pai
achega
a11a068a7f

+ 13 - 12
vue/src/views/companyService/company/index.vue

@@ -151,8 +151,8 @@ export default defineComponent({
       url: 'companyService/company/importCompany',
       columns: [
         {cnName: '企业名称', enName: 'companyName', width: 100},
-        {cnName: '统一社会信用代码', enName: 'companyCode', width: 100},
-        {cnName: '法定代表人(负责人)', enName: 'frName', width: 100},
+        {cnName: '统一社会信用代码', enName: 'companyCode', width: 140},
+        {cnName: '法定代表人(负责人)', enName: 'frName', width: 140},
         {cnName: '企业状态', enName: 'recordStatusName', width: 100},
         {cnName: '营业执照有效期', enName: 'validTime', width: 100},
         {cnName: '企业分类', enName: 'companyType', width: 100},
@@ -180,27 +180,28 @@ export default defineComponent({
         title: '序号',
         align: "center",
         key: 'companyID',
+        width:60,
         customRender: item => `${searchParams.pageSize * (searchParams.pageIndex - 1) + item.index + 1}`
       },
-      {title: '企业名称', dataIndex: 'companyName', key: 'companyName', align: "center"},
+      {title: '企业名称', dataIndex: 'companyName', key: 'companyName',width: 200, align: "center"},
       {title: '所属县区', dataIndex: 'regionName', key: 'regionName', width: 120, align: "center"},
-      {title: '所属街道', dataIndex: 'streetName', key: 'streetName', align: "center"},
-      {title: '统一信用代码', dataIndex: 'companyCode', key: 'companyCode', align: "center"},
+      {title: '所属街道', dataIndex: 'streetName', key: 'streetName', width: 120,align: "center"},
+      {title: '统一信用代码', dataIndex: 'companyCode', key: 'companyCode', width: 200,align: "center"},
       {
-        title: '企业状态', dataIndex: 'recordStatus', key: 'recordStatus', align: "center", customRender: (item) => {
+        title: '企业状态', dataIndex: 'recordStatus', key: 'recordStatus',width: 120, align: "center", customRender: (item) => {
           return item.record.recordStatus == 1 ? "在营" : "关闭";
         }
       },
-      {title: '参保人数', dataIndex: 'insuredCount', key: 'insuredCount', align: "center"},
-      {title: '企业规模', dataIndex: 'companyModel', key: 'companyModel', align: "center"},
-      {title: '当前岗位数量', dataIndex: 'postCount', key: 'postCount', align: "center"},
-      {title: '录入人', dataIndex: 'createUserName', key: 'createUserName', align: "center"},
+      {title: '参保人数', dataIndex: 'insuredCount', key: 'insuredCount', width: 100,align: "center"},
+      {title: '企业规模', dataIndex: 'companyModel', key: 'companyModel',width: 140, align: "center"},
+      {title: '当前岗位数量', dataIndex: 'postCount', key: 'postCount', width: 120,align: "center"},
+      {title: '录入人', dataIndex: 'createUserName', key: 'createUserName', width: 120,align: "center"},
       {
-        title: '录入时间   ', dataIndex: 'createTime', key: 'createTime', align: "center", customRender: (item) => {
+        title: '录入时间   ', dataIndex: 'createTime', key: 'createTime',width: 120, align: "center", customRender: (item) => {
           return item.record.createTime == null ? "" : (dayjs(item.record.createTime).format('YYYY-MM-DD'))
         }
       },
-      {title: '操作', key: 'operation', fixed: 'right', width: 170, align: "center"},
+      {title: '操作', key: 'operation', fixed: 'right', width: 120, align: "center"},
     ];
     const pagination = computed(() => ({
       total: formState.total,

+ 1 - 3
vue/src/views/jobUserManager/jobuser/edit.vue

@@ -593,8 +593,6 @@ export default defineComponent(
         familyNatureList.value = data;
       });
 
-
-
       const changeCity = () => {
         if (formState.dataModel.regionCode) {
           get('system/area/getAreaList', {code: formState.dataModel.regionCode}).then(data => {
@@ -733,7 +731,6 @@ export default defineComponent(
         });
       }
 
-
       const onAdd = () => {
         tabsViewStore.addTabByPath('', null);
       };
@@ -807,6 +804,7 @@ export default defineComponent(
     },
     created() {
       const id = history.state.params?.id;
+      console.log(id);
       this.loadData(id);
       if(id){
         this.loadEducation(id);