zs 3 mesi fa
parent
commit
10eec3ee1c

+ 12 - 12
src/components/custom/custom-form.vue

@@ -8,54 +8,54 @@
           </template>
           <template v-else>
             <template v-if="item.type === 'textarea'">
-              <el-input clearable v-model="form[item.model]" :type="item.type" :placeholder="getField('placeholder', item)" v-bind="item.options" @change="dataChange(item.model)" show-word-limit></el-input>
+              <el-input size="large" clearable v-model="form[item.model]" :type="item.type" :placeholder="getField('placeholder', item)" v-bind="item.options" @change="dataChange(item.model)" show-word-limit></el-input>
             </template>
             <template v-else-if="item.type === 'numbers'">
-              <el-input-number v-model="form[item.model]" :placeholder="getField('placeholder', item)" @change="dataChange(item.model)" style="width: 100%" />
+              <el-input-number size="large" v-model="form[item.model]" :placeholder="getField('placeholder', item)" @change="dataChange(item.model)" style="width: 100%" />
             </template>
             <template v-else-if="item.type === 'radio'">
-              <el-radio-group v-model="form[item.model]" :type="item.type" v-bind="item.options" @change="dataChange(item.model)">
+              <el-radio-group size="large" v-model="form[item.model]" :type="item.type" v-bind="item.options" @change="dataChange(item.model)">
                 <slot :name="item.model" v-bind="{ item }"></slot>
               </el-radio-group>
             </template>
             <template v-else-if="item.type === 'checkbox'">
-              <el-checkbox-group v-model="form[item.model]" :type="item.type" v-bind="item.options">
+              <el-checkbox-group size="large" v-model="form[item.model]" :type="item.type" v-bind="item.options">
                 <slot :name="item.model" v-bind="{ item }"></slot>
               </el-checkbox-group>
             </template>
             <template v-else-if="item.type === 'select'">
               <el-tooltip effect="dark" content="可输入文本搜索选项" placement="top-start">
-                <el-select clearable filterable allow-create default-first-option v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%">
+                <el-select size="large" clearable filterable allow-create default-first-option v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%">
                   <slot :name="item.model" v-bind="{ item }"></slot>
                 </el-select>
               </el-tooltip>
             </template>
             <template v-else-if="item.type === 'selectMany'">
               <el-tooltip effect="dark" content="可输入文本搜索选项" placement="top-start">
-                <el-select filterable clearable multiple v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%">
+                <el-select size="large" filterable clearable multiple v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%">
                   <slot :name="item.model" v-bind="{ item }"></slot>
                 </el-select>
               </el-tooltip>
             </template>
             <template v-else-if="item.type === `year` || item.type == 'month' || item.type == 'date' || item.type == 'daterange' || item.type == 'datetime' || item.type == 'datetimerange'">
-              <el-date-picker v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" :format="getDateFormat(item.type)" :value-format="getDateFormat(item.type)" v-bind="item.options" @change="dataChange(item.model)" range-separator="至" style="width: 100%"> </el-date-picker>
+              <el-date-picker size="large" v-model="form[item.model]" :type="item.type" :placeholder="getField('selectplaceholder', item)" :format="getDateFormat(item.type)" :value-format="getDateFormat(item.type)" v-bind="item.options" @change="dataChange(item.model)" range-separator="至" style="width: 100%"> </el-date-picker>
             </template>
             <template v-else-if="item.type === `time`">
-              <el-time-picker v-model="form[item.model]" :placeholder="getField('selectplaceholder', item)" :format="getDateFormat(item.type)" :value-format="getDateFormat(item.type)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%"> </el-time-picker>
+              <el-time-picker size="large" v-model="form[item.model]" :placeholder="getField('selectplaceholder', item)" :format="getDateFormat(item.type)" :value-format="getDateFormat(item.type)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%"> </el-time-picker>
             </template>
             <template v-else-if="item.type === `inputnumber`">
-              <el-input-number v-model="form[item.model]" :placeholder="getField('placeholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%"></el-input-number>
+              <el-input-number size="large" v-model="form[item.model]" :placeholder="getField('placeholder', item)" v-bind="item.options" @change="dataChange(item.model)" style="width: 100%"></el-input-number>
             </template>
             <template v-else>
-              <el-input clearable v-model="form[item.model]" :type="getField('type', item)" :placeholder="getField('placeholder', item)" :show-password="getField('type', item) === 'password'" v-bind="item.options" @change="dataChange(item.model)"></el-input>
+              <el-input size="large" clearable v-model="form[item.model]" :type="getField('type', item)" :placeholder="getField('placeholder', item)" :show-password="getField('type', item) === 'password'" v-bind="item.options" @change="dataChange(item.model)"></el-input>
             </template>
           </template>
         </el-form-item>
       </el-col>
       <el-col :span="24" label="" class="btn" v-if="useSave">
         <slot name="submit">
-          <el-button type="warning" v-if="DraftSave" @click="draftSave(formRef)">{{ submitDraft || '保存草稿' }}</el-button>
-          <el-button type="primary" @click="save(formRef)">{{ submitText || '保存并提交审核' }}</el-button>
+          <el-button type="warning" size="large" v-if="DraftSave" @click="draftSave(formRef)">{{ submitDraft || '保存草稿' }}</el-button>
+          <el-button type="primary" size="large" @click="save(formRef)">{{ submitText || '保存并提交审核' }}</el-button>
         </slot>
       </el-col>
     </el-form>

+ 1 - 1
src/views/center/achievement.vue

@@ -71,7 +71,7 @@
               <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/demand.vue

@@ -63,7 +63,7 @@
               <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/footplate.vue

@@ -52,7 +52,7 @@
               <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/news1.vue

@@ -48,7 +48,7 @@
               <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/news2.vue

@@ -45,7 +45,7 @@
               <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/project.vue

@@ -44,7 +44,7 @@
         <el-col :span="24" v-if="dialog.type == '1'">
           <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave" @draftSave="toDraftSave">
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/service.vue

@@ -54,7 +54,7 @@
               <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/center/supply.vue

@@ -63,7 +63,7 @@
               <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
             </template>
             <template #tags>
-              <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+              <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                 <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
               </el-select>
             </template>

+ 1 - 1
src/views/two/add/achievement.vue

@@ -31,7 +31,7 @@
             <el-option v-for="i in sectorList" :key="i.id" :label="i.title" :value="i.title"></el-option>
           </template>
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>

+ 1 - 1
src/views/two/add/footplate.vue

@@ -16,7 +16,7 @@
             <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
           </template>
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>

+ 1 - 1
src/views/two/add/match copy.vue

@@ -33,7 +33,7 @@
                 <el-option v-for="i in formList" :key="i.id" :label="i.label" :value="i.value"></el-option>
               </template>
               <template #tags>
-                <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+                <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
                   <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
                 </el-select>
               </template>

+ 1 - 1
src/views/two/add/news1.vue

@@ -13,7 +13,7 @@
             <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
           </template>
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>

+ 1 - 1
src/views/two/add/news2.vue

@@ -10,7 +10,7 @@
             <el-radio v-for="i in isUseList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
           </template>
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>

+ 1 - 1
src/views/two/add/project.vue

@@ -4,7 +4,7 @@
       <el-col :span="24" class="main" v-loading="loading">
         <custom-form v-model="form" :fields="formFields" :rules="rules" @save="toSave" @draftSave="toDraftSave">
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>

+ 1 - 1
src/views/two/add/supply.vue

@@ -22,7 +22,7 @@
             <el-cascader v-model="form.area" :props="{ value: 'name', label: 'name' }" :options="cityList" style="width: 100%" />
           </template>
           <template #tags>
-            <el-select v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
+            <el-select size="large" v-model="form.tags" multiple filterable allow-create default-first-option :reserve-keyword="false" placeholder="请选择标签" style="width: 100%">
               <el-option v-for="item in tagsList" :key="item.id" :label="item.title" :value="item.title" />
             </el-select>
           </template>