Browse Source

穿梭选择框

xiaoqiao 1 year ago
parent
commit
fc5d03ee6b
2 changed files with 3 additions and 3 deletions
  1. 2 2
      vue/src/views/query/table.vue
  2. 1 1
      vue/src/views/subject/fieldedit.vue

+ 2 - 2
vue/src/views/query/table.vue

@@ -40,8 +40,8 @@
       <a-row class="edit-operation">
         <a-col :span="24" style="text-align: right">
           <a-radio-group v-model:value="viewModel" style="text-align: left">
-            <a-radio-button value="list">列表</a-radio-button>
-            <a-radio-button value="card">卡片</a-radio-button>
+            <a-radio-button value="list"><UnorderedListOutlined />列表</a-radio-button>
+            <a-radio-button value="card"><TableOutlined />卡片</a-radio-button>
           </a-radio-group>
           <a-button type="primary" html-type="button" @click="add">
             <template #icon>

+ 1 - 1
vue/src/views/subject/fieldedit.vue

@@ -60,7 +60,7 @@
             </a-select>
           </a-form-item>
         </a-col>
-        <a-col :span="7" v-if="dataModel.queryTypeId==8">
+        <a-col :span="7" v-if="dataModel.queryTypeId==4">
           <a-form-item label="取数字典编码" name="dictionaryCode" :label-col="{span:7}"
                        :rules="[{ required: true, message: '请选择数据类型!' }]">
             <a-input v-model:value="dataModel.dictionaryCode" placeholder="">