Bladeren bron

查询列表宽度

yuedefeng 6 jaren geleden
bovenliggende
commit
02f60fc6e5

+ 1 - 1
src/dashoo.cn/frontend_web/package.json

@@ -5,7 +5,7 @@
   "author": "sunmiao <sunmiao@dashoo.cn>",
   "private": true,
   "scripts": {
-    "dev": "nuxt --max-old-space-size=4096",
+    "dev": "nuxt",
     "dev2": "nuxt -c nuxt.config.ignore.js",
     "build": "nuxt build",
     "build2": "nuxt build --spa",

+ 4 - 4
src/dashoo.cn/frontend_web/src/pages/select/companyselect/index.vue

@@ -71,7 +71,7 @@
         style="width: 100%"
         @sort-change="orderby"
       >
-        <el-table-column label="操作" min-width="200px" align="center" fixed="right">
+        <el-table-column label="操作" width="200px" align="center" fixed="right" show-overflow-tooltip>
           <template slot-scope="scope">
             <el-button type="text" @click="toWord(scope.row)" title="下载" size="mini" icon="el-icon-download" width="120px">表单下载</el-button>
             <el-button type="text" @click="toPdf(scope.row)" title="导出" size="mini" icon="el-icon-document" width="120px">准入范围</el-button>
@@ -80,15 +80,15 @@
         </el-table-column>
         <!--内框表格剩余栏显示-->
         <el-table-column label="准入编码" width="100px" prop="AccessCardNo" sortable align="center"></el-table-column>
-        <el-table-column label="企业名称" width="280px" prop="SupplierName" sortable align="center"></el-table-column>
+        <el-table-column label="企业名称" min-width="300px" prop="SupplierName" sortable align="center"></el-table-column>
         <el-table-column label="准入类别" prop="SupplierTypeCode" align="center">
           <template slot-scope="scope">
               {{transferStr(scope.row.SupplierTypeCode)}}
           </template>
         </el-table-column>
         <el-table-column label="法人代表"  width="100px" prop="LegalPerson" align="center"></el-table-column>
-        <el-table-column label="注册资金(万元)"  width="150px" prop="RegCapital" sortable align="center"></el-table-column>
-        <el-table-column label="移动电话"  width="100px" prop="Mobile" align="center"></el-table-column>
+        <el-table-column label="注册资金(万元)"  width="170px" prop="RegCapital" sortable align="center"></el-table-column>
+        <el-table-column label="移动电话"  width="120px" prop="Mobile" align="center"></el-table-column>
         <!--<el-table-column label="最后一次年审" width="100px" prop="AuditDate" align="center">-->
           <!--<template slot-scope="scope">{{ jstimehandle(scope.row.AuditDate) }}</template>-->
         <!--</el-table-column>-->

+ 12 - 15
src/dashoo.cn/frontend_web/src/pages/setting/testlist/packagesetting/packagesettingadd.vue

@@ -37,15 +37,15 @@
                 placeholder="请选择组织"></el-cascader>
             </el-form-item>
           </el-col>
-          
+
           <el-col :span="24">
             <el-form-item label="描述">
               <el-input v-model="testlistform.Describe" type="textarea" :rows=2 placeholder="默认值"></el-input>
             </el-form-item>
           </el-col>
-        
+
         </el-row>
-        
+
         <el-row>
 
           <el-col :span="12">
@@ -85,16 +85,16 @@
             </el-form-item>
           </el-col>
         </el-row>
-        
+
         </el-col>
         <el-col :span="8">
             <el-form-item label="套餐项目" >
               <div style="border: 1px solid rgb(204, 204, 204); overflow: auto; height: 400px;" label-width="130px">
-                <el-checkbox-group :indeterminate="isIndeterminate" v-model="selectdevices" > 
+                <el-checkbox-group :indeterminate="isIndeterminate" v-model="selectdevices" >
                   <el-checkbox v-for="v in selectdevices" style="margin-left:8px;margin-top:5px" :label="v" :key="v">{{v.split(',')[1]}}</el-checkbox>
                 </el-checkbox-group>
               </div>
-             
+
             </el-form-item>
         </el-col>
         </el-row>
@@ -173,7 +173,7 @@
             this.testlistform.CategoryId = this.selectedorg[this.selectedorg.length - 1]
             this.testlistform.CategoryName = this.$refs.labselect.currentLabels[this.$refs.labselect.currentLabels.length - 1]
             this.testlistform.itemlist = this.selectdevices
-       
+
             _this.$axios.post('inspection/packagesettingadd/', _this.testlistform)
               .then(res => {
                 // response
@@ -210,10 +210,7 @@
             console.error(err)
           })
       },
-      handleCheckAllChange(val) {
-        
-      
-        
+      handleCheckAllChange (val) {
         let _this = this
         _this.selectdevices = []
         if (val) {
@@ -221,17 +218,17 @@
             _this.selectdevices.push(item.Id + ','+item.ItemName)
           })
         }
-        
+
         this.isIndeterminate = false
-       
+
       },
       handleCheckeddeviceChange() {
         let checkedCount = this.selectdevices.length
         this.checkAll = checkedCount === this.devicelist.length
         this.isIndeterminate = checkedCount > 0 && checkedCount < this.devicelist.length
 
-       
-        
+
+
         this.pasges()
 
       },