Browse Source

联席会议数据长度限制

gks 1 year ago
parent
commit
01cc01594d
2 changed files with 10 additions and 9 deletions
  1. 3 3
      src/views/BONDED/index.vue
  2. 7 6
      src/views/JOINTCONFERENCE/add.vue

+ 3 - 3
src/views/BONDED/index.vue

@@ -76,7 +76,7 @@
           <span>{{ parseTime(scope.row.approvalTime, '{y}-{m}-{d}') }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="已使用面积(万平方米)" align="center" prop="useArea">
+      <el-table-column label="已使用面积(万平方米)" width="200"  show-overflow-tooltip align="center" prop="useArea">
         <template slot-scope="scope">
           {{ scope.row.useArea }}
         </template>
@@ -91,7 +91,7 @@
           {{ scope.row.warehouse }}
         </template>
       </el-table-column>
-      <el-table-column label="标仓使用面积(万平方米)" align="center" prop="warehouseUsable">
+      <!-- <el-table-column label="标仓使用面积(万平方米)" align="center" prop="warehouseUsable">
         <template slot-scope="scope">
           {{ scope.row.warehouseUsable }}
         </template>
@@ -125,7 +125,7 @@
         <template slot-scope="scope">
           {{ scope.row.workshopUsable }}
         </template>
-      </el-table-column>
+      </el-table-column> -->
       <el-table-column
         label="操作"
         align="center"

+ 7 - 6
src/views/JOINTCONFERENCE/add.vue

@@ -6,6 +6,8 @@
           :disabled="param.edit"
           v-model="form.conferenceTitle"
           placeholder="请输入会议标题"
+          maxlength="500"
+          show-word-limit
         ></el-input>
       </el-form-item>
 
@@ -14,6 +16,8 @@
           :disabled="param.edit"
           type="textarea"
           rows="4"
+          maxlength="1000"
+          show-word-limit
           placeholder="请输入会议内容"
           v-model="form.conferenceContent"
         ></el-input>
@@ -181,14 +185,12 @@ export default {
       this.user = res.user.dept;
       if (res.user.dept.type == 1 && res.user.userId == 14) {
         listDept().then((res) => {
-          res.data.forEach(item=>{
-            if(item.type!=3){
+          res.data.forEach((item) => {
+            if (item.type != 3) {
               this.deptList.push(item);
             }
           });
-          
         });
-       
       } else if (res.user.dept.type == 2) {
         this.deptList = [
           {
@@ -241,8 +243,7 @@ export default {
       this.isShowDate = true;
     },
 
-    handleChange(val) {
-    },
+    handleChange(val) {},
     /** 提交按钮 */
     submitForm() {
       this.$refs["form"].validate((valid) => {