刘洋 1 anno fa
parent
commit
c9e00a439b

+ 1 - 1
src/components/global/tag-list/index.vue

@@ -7,7 +7,7 @@
       <div class="flex-1">
         <t-form :data="formData" :rules="rules" ref="formRef">
           <t-form-item label="" :labelWidth="0" name="name">
-            <t-input v-model="formData.name" />
+            <t-input v-model="formData.name" maxlength="50" />
           </t-form-item>
         </t-form>
       </div>

+ 2 - 0
src/views/service-unit/dispatch/dispatch-manage/create-sop-item.vue

@@ -37,6 +37,7 @@ const rules = {
   scanEndTime: [{ required: true, message: '请选择扫描结束时间' }],
   markPaperStartTime: [{ required: true, message: '请选择评卷开始时间' }],
   markPaperEndTime: [{ required: true, message: '请选择评卷结束时间' }],
+  mobileNumber: [{ pattern: /^1[3-9]\d{9}$/, message: '手机号格式不正确' }],
 };
 
 const { formData, isEdit } = useClearDialog(
@@ -108,6 +109,7 @@ const fields = ref([
     colSpan: 12,
     attrs: {
       clearable: true,
+      maxlength: 15,
     },
   },
   {

+ 2 - 2
src/views/service-unit/service-unit-manage/range-manage/index.vue

@@ -1,11 +1,11 @@
 <template>
   <div class="unit-manage flex flex-col h-full">
-    <div v-if="perm.BUTTON_Add" class="page-action">
+    <!-- <div v-if="perm.BUTTON_Add" class="page-action">
       <t-button theme="primary" @click="handleAddRange">
         <template #icon><svg-icon name="add-circle" color="#fff" /></template>
         新增服务范围
       </t-button>
-    </div>
+    </div> -->
     <SearchForm :fields="fields" :params="params" :search="mixinSearch">
       <template #service-unit="{ item, params }">
         <select-service-unit v-model="params[item.prop]"></select-service-unit>

+ 1 - 1
src/views/sop/sop-manage/sop-step/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="sop-step">
-    <t-collapse class="sop-step-header" defaultExpandAll>
+    <t-collapse class="sop-step-header">
       <t-collapse-panel header="SOP各协作项目角色说明">
         <p
           >1.大区经理:研究生项目前置流程、项目必要信息工作交接、项目内审、SOP产出物检查;</p