This commit is contained in:
kbing1981 2024-08-22 11:41:57 +08:00
parent 6b77b63d76
commit 737e0c6040
2 changed files with 7 additions and 8 deletions

View File

@ -36,12 +36,12 @@
:filterOption="handleFilterOption" :filterOption="handleFilterOption"
:getPopupContainer="getPopupContainer" :getPopupContainer="getPopupContainer"
@change="handleChange" @change="handleChange"
style="width:100%;" style="width:90%;"
> >
<a-select-option v-if="showChooseOption" :value="null">请选择</a-select-option> <a-select-option v-if="showChooseOption" :value="null">请选择</a-select-option>
<template v-for="item in dictOptions" :key="`${item.value}`"> <template v-for="item in dictOptions" :key="`${item.value}`">
<a-select-option :value="item.value"> <a-select-option :value="item.value">
<span style="display: inline-block; width: 100%" :title="item.label"> <span style="display: inline-block; width: 90%" :title="item.label">
{{ item.label }} {{ item.label }}
</span> </span>
</a-select-option> </a-select-option>

View File

@ -26,14 +26,14 @@
</a-col> </a-col>
<a-col :span="24" v-for="(item,index) in zyJxdgMainTable.dataSource" :key="index"> <a-col :span="24" v-for="(item,index) in zyJxdgMainTable.dataSource" :key="index">
<a-row style="margin:10px;"> <a-row style="margin:10px;">
<a-col :span="6"> <a-col :span="6" style="padding-right:10px;">
<a-input v-model:value="item.title" placeholder="请输入标题" :disabled="disabled" class="input-title"/> <a-input v-model:value="item.title" placeholder="请输入标题" :disabled="disabled" class="input-title"/>
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6" style="padding-right:4px;">
<j-dict-select-tag type='list' v-model:value="item.type" dictCode="jxdglx" placeholder="请选择填写类型" :disabled="disabled" /> <j-dict-select-tag type='list' v-model:value="item.type" dictCode="jxdglx" placeholder="请选择填写类型" :disabled="disabled" style=" width: 100%;"/>
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6">
<a-select placeholder="请选择关联项目" v-model:value="item.guanlian" :disabled="disabled" style="width:200px;"> <a-select placeholder="请选择关联项目" v-model:value="item.guanlian" :disabled="disabled" style="margin-left:-12px;width: 100%;">
<a-select-option value="">请选择关联项目</a-select-option> <a-select-option value="">请选择关联项目</a-select-option>
<a-select-option :value="peizhi.sort" v-for="(peizhi,index2) in zyJxdgMainTable.dataSource" :key="index2">{{peizhi.title}}</a-select-option> <a-select-option :value="peizhi.sort" v-for="(peizhi,index2) in zyJxdgMainTable.dataSource" :key="index2">{{peizhi.title}}</a-select-option>
</a-select> </a-select>
@ -45,7 +45,7 @@
<a-input v-model:value="item.tsy" placeholder="请输入提示语" :disabled="disabled" class="Prompt-language" /> <a-input v-model:value="item.tsy" placeholder="请输入提示语" :disabled="disabled" class="Prompt-language" />
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6">
<a-button type="danger" @click="handleOneDel(item,index)" style="margin-left:10px">删除</a-button> <a-button type="danger" @click="handleOneDel(item,index)" style="margin-left:10px">删除</a-button>
</a-col> </a-col>
<!-- 单行文本 1 <!-- 单行文本 1
多行文本 2 多行文本 2
@ -280,7 +280,6 @@
margin:10px 0; margin:10px 0;
} }
.input-title{ .input-title{
border-right:none;
margin-bottom: 10px; margin-bottom: 10px;
} }
.fields-add{ .fields-add{