uat
parent
65b81fc633
commit
2f371f0435
|
@ -193,7 +193,7 @@
|
|||
</el-col>
|
||||
<!-- eslint-disable vue/no-use-v-if-with-v-for -->
|
||||
<!-- eslint-disable vue/valid-v-for -->
|
||||
<el-col v-for="(item) in question.Childrens" v-if="question.Childrens && question.Childrens.length>0 && question.ClinicalQuestionType !== 'table'" :span="['group', 'summary', 'table'].includes(item.ClinicalQuestionType) || item.Childrens.length > 0 ? 24 : 12">
|
||||
<el-col v-for="(item) in question.Childrens" :key="item.Id" v-if="question.Childrens && question.Childrens.length>0 && question.ClinicalQuestionType !== 'table'" :span="['group', 'summary', 'table'].includes(item.ClinicalQuestionType) || item.Childrens.length > 0 ? 24 : 12">
|
||||
<QuestionFormItem
|
||||
:key="item.Id"
|
||||
:question="item"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</el-form-item>
|
||||
<el-form-item label="是否内部角色: " prop="IsInternal">
|
||||
<el-radio-group v-model="form.IsInternal">
|
||||
<el-radio v-for="item of $d.YesOrNo" :label="item.value">{{ item.label }}</el-radio>
|
||||
<el-radio v-for="item of $d.YesOrNo" :key="`IsInternal${item.value}`" :label="item.value">{{ item.label }}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<el-form :inline="true">
|
||||
<el-form-item label="模块">
|
||||
<el-select v-model="queryParams.ModuleTypeId" placeholder="模块" clearable size="small">
|
||||
<el-option v-for="item of dict.type.ModuleType" :value="item.value" :label="item.raw.ValueCN" />
|
||||
<el-option v-for="item of dict.type.ModuleType" :key="`ModuleTypeId${item.value}`" :value="item.value" :label="item.raw.ValueCN" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
|
@ -169,28 +169,28 @@
|
|||
<el-col v-show="form.ConfigType === 'M' && title !== '复制'" :span="12">
|
||||
<el-form-item label="功能模块" prop="menuType">
|
||||
<el-select v-model="form.ModuleTypeId" placeholder="模块" clearable size="small" @change="changeModule">
|
||||
<el-option v-for="item of dict.type.ModuleType" :value="item.value" :label="item.raw.ValueCN" />
|
||||
<el-option v-for="item of dict.type.ModuleType" :key="`ModuleType${item.value}`" :value="item.value" :label="item.raw.ValueCN" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-show="form.ConfigType === 'M' && title !== '复制'" :span="12">
|
||||
<el-form-item label="操作类型" prop="menuType">
|
||||
<el-select v-model="form.OptTypeId" placeholder="操作类型" clearable size="small" @change="changeDescription">
|
||||
<el-option v-for="item of dict.type.OptType" :value="item.value" :label="item.raw.ValueCN" />
|
||||
<el-option v-for="item of dict.type.OptType" :key="`OptTypeId${item.value}`" :value="item.value" :label="item.raw.ValueCN" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-show="form.ConfigType === 'M' && title !== '复制'" :span="12">
|
||||
<el-form-item label="对象类型" prop="menuType">
|
||||
<el-select v-model="form.ObjectTypeId" placeholder="对象类型" clearable size="small" @change="changeDescription">
|
||||
<el-option v-for="item of dict.type.ObjectType" v-if="ChildGroup === item.raw.ChildGroup" :value="item.value" :label="item.raw.ValueCN" />
|
||||
<el-option v-for="item of dict.type.ObjectType" :key="`ObjectType${item.value}`" v-if="ChildGroup === item.raw.ChildGroup" :value="item.value" :label="item.raw.ValueCN" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-show="form.ConfigType === 'M' && title !== '复制'" :span="12">
|
||||
<el-form-item label="数据类型" prop="menuType">
|
||||
<el-select v-model="form.ChildrenTypeId" placeholder="操作子类" clearable size="small" @change="changeDescription">
|
||||
<el-option v-for="item of dict.type.ChildrenType" :value="item.value" :label="item.raw.ValueCN" />
|
||||
<el-option v-for="item of dict.type.ChildrenType" :key="`ChildrenType${item.value}`" :value="item.value" :label="item.raw.ValueCN" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -295,7 +295,7 @@
|
|||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-show="form.DataType === 'Router'" v-if="form.UrlConfig && form.UrlConfig.IsHaveParameters" v-for="(item,index) of form.UrlConfig ? form.UrlConfig.ParameterList : []">
|
||||
<el-row v-show="form.DataType === 'Router'" v-if="form.UrlConfig && form.UrlConfig.IsHaveParameters" v-for="(item,index) of form.UrlConfig ? form.UrlConfig.ParameterList : []" :key="`Router${index}`">
|
||||
<el-col :span="10">
|
||||
<el-form-item>
|
||||
<span slot="label">
|
||||
|
@ -671,11 +671,11 @@
|
|||
<div style="padding: 0 40px;display: flex;flex-direction: column">
|
||||
<div style="text-align: right;height: 50px;">
|
||||
<el-select v-model="copeParams.FromItemId" collapse-tags filterable placeholder="完全拷贝对象" clearable size="small">
|
||||
<el-option v-for="item of list" v-if="drawer_cfg.drawerChild && item.ConfigType === 'M' && item.ObjectTypeId === selectRow.ObjectTypeId && item.OptTypeId && item.ChildrenTypeId " :value="item.Id" :label="item.DescriptionCN" />
|
||||
<el-option v-for="item of list" :key="item.Id" v-if="drawer_cfg.drawerChild && item.ConfigType === 'M' && item.ObjectTypeId === selectRow.ObjectTypeId && item.OptTypeId && item.ChildrenTypeId " :value="item.Id" :label="item.DescriptionCN" />
|
||||
</el-select>
|
||||
<el-button type="primary" size="mini" style="margin-right: 10px" @click="handleOverCope(selectRow)">完全拷贝</el-button>
|
||||
<el-select v-model="copeParams.DataSourceGuids" multiple collapse-tags filterable placeholder="拷贝对象" clearable size="small">
|
||||
<el-option v-for="item of list" v-if="drawer_cfg.drawerChild && item.ConfigType === 'M' && item.ObjectTypeId === selectRow.ObjectTypeId && item.OptTypeId && item.ChildrenTypeId " :value="item.Id" :label="item.DescriptionCN" />
|
||||
<el-option v-for="item of list" :key="item.Id" v-if="drawer_cfg.drawerChild && item.ConfigType === 'M' && item.ObjectTypeId === selectRow.ObjectTypeId && item.OptTypeId && item.ChildrenTypeId " :value="item.Id" :label="item.DescriptionCN" />
|
||||
</el-select>
|
||||
<el-button type="primary" size="mini" @click="handleCope(selectRow)">拷贝</el-button>
|
||||
<el-button type="primary" size="mini" @click="handleAdd(selectRow)">新建</el-button>
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
prop="IsRequired"
|
||||
>
|
||||
<el-radio-group v-model="form.IsRequired">
|
||||
<el-radio v-for="item of $d.QuestionRequired" :label="item.value">{{ item.label }}</el-radio>
|
||||
<el-radio v-for="item of $d.QuestionRequired" :key="`IsRequired${item.value}`" :label="item.value">{{ item.label }}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="序号" prop="ShowOrder">
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
<el-table-column
|
||||
:prop="item.ColumnKey"
|
||||
v-for="item of headList"
|
||||
:key="item.ColumnName"
|
||||
:label="item.ColumnName"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<!-- Expedited -->
|
||||
<el-form-item :label="$t('trials:stats:form:expedited')">
|
||||
<el-select v-model="trialExpeditedState" disabled>
|
||||
<el-option v-for="item of $d.TrialExpeditedState" :label="item.label" :value="item.value" />
|
||||
<el-option v-for="item of $d.TrialExpeditedState" :key="`trialExpeditedState${item.label}`" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 展示所有 -->
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div class="base-dialog-body">
|
||||
<el-form-item label="阅片人" prop="DoctorUserId">
|
||||
<el-select v-model="form.DoctorUserId" :disabled="!!form.Id" clearable>
|
||||
<el-option v-for="item of doctorUserList" :label="`${item.UserName}(${item.FullName})`" :value="item.DoctorUserId" />
|
||||
<el-option v-for="item of doctorUserList" :key="item.DoctorUserId" :label="`${item.UserName}(${item.FullName})`" :value="item.DoctorUserId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="访视任务数" prop="PlanVisitCount">
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
</el-checkbox-group>
|
||||
<div style="margin-top: 20px;">当前选择答案分组: <el-tag v-if="QuestionList[index].grouping.length > 0">{{QuestionList[index].grouping.toString().replaceAll(',', '|')}}</el-tag> <el-button size="mini" type="primary" @click="addGroup2(index)">添加分组</el-button></div>
|
||||
</div>
|
||||
<div style="margin-top: 20px;">分组: <el-tag closable @close="() => {return tagClose2(index, indexA)}" v-for="itemA of QuestionList[index].AnswerGroup2List" style="margin-right:10px;">{{itemA}}</el-tag></div>
|
||||
<div style="margin-top: 20px;">分组: <el-tag closable @close="() => {return tagClose2(index, indexA)}" v-for="itemA of QuestionList[index].AnswerGroup2List" :key="itemA" style="margin-right:10px;">{{itemA}}</el-tag></div>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -190,7 +190,7 @@
|
|||
>
|
||||
<div class="base-dialog-body">
|
||||
<div v-if="!IsHaveTableQuestion">
|
||||
<div v-for="item of beConfirmList">
|
||||
<div v-for="item of beConfirmList" :key="item.ClinicalDataSetName">
|
||||
<el-divider content-position="left">{{ item.ClinicalDataSetName }}</el-divider>
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
|
@ -200,6 +200,7 @@
|
|||
>
|
||||
<el-table-column
|
||||
v-for="ite of item.QuestionList"
|
||||
:key="ite.Id"
|
||||
:prop="ite.Id"
|
||||
:label="ite.QuestionName"
|
||||
show-overflow-tooltip
|
||||
|
@ -296,6 +297,7 @@
|
|||
>
|
||||
<el-table-column
|
||||
v-for="item of QuestionList"
|
||||
:key="item.Id"
|
||||
:prop="item.Id"
|
||||
:label="item.QuestionName"
|
||||
show-overflow-tooltip
|
||||
|
|
Loading…
Reference in New Issue