uat_us
熊飞 2024-02-28 16:59:57 +08:00
parent 1bbdf57fdb
commit d3a88c0f55
3 changed files with 22 additions and 11 deletions

View File

@ -33,7 +33,7 @@ VUE_APP_PASSWORD_FOR_PERMISSION = false
VUE_APP_PASSWORD_FOR_REGULAR = ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[-_.@^+\$!%#*?&\$~])[A-Za-z0-9-~_.@^+\$~!%#*?&]{8,32}$ VUE_APP_PASSWORD_FOR_REGULAR = ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[-_.@^+\$!%#*?&\$~])[A-Za-z0-9-~_.@^+\$~!%#*?&]{8,32}$
# 是否开启文档签署验证 true:是 false:否 # 是否开启文档签署验证 true:是 false:否
VUE_APP_WORD_FOR_PERMISSION = false VUE_APP_WORD_FOR_PERMISSION = true
# dicom文件地址 # dicom文件地址

View File

@ -72,7 +72,7 @@
v-loading="loading" v-loading="loading"
style="width: 100%" style="width: 100%"
ref="multipleTable" ref="multipleTable"
:data="$d.OncologyAssessType" :data="OncologyAssessType"
stripe stripe
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
@ -81,13 +81,13 @@
width="55"> width="55">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="raw.ValueCN" prop="ValueCN"
label="中文值" label="中文值"
show-overflow-tooltip show-overflow-tooltip
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="raw.Value" prop="Value"
label="英文值" label="英文值"
show-overflow-tooltip show-overflow-tooltip
> >
@ -105,7 +105,7 @@
<script> <script>
import BaseModel from '@/components/BaseModel' import BaseModel from '@/components/BaseModel'
import { getSystemOncologyInfo, setSystemOncologyInfo } from '@/api/dictionary' import { getSystemOncologyInfo, setSystemOncologyInfo, getCriterionDictionary } from '@/api/dictionary'
export default { export default {
props: { props: {
data: { data: {
@ -132,13 +132,23 @@ export default {
preview: { visible: false, title: 'eCRF预览' }, preview: { visible: false, title: 'eCRF预览' },
config: { visible: false, title: '肿瘤学阅片结果', appendToBody: true, width: '600px', configType: 0 }, config: { visible: false, title: '肿瘤学阅片结果', appendToBody: true, width: '600px', configType: 0 },
selectedList: [], selectedList: [],
OncologyAssessType: [],
IsOncologyReading: true IsOncologyReading: true
} }
}, },
mounted() { mounted() {
this.getList() this.getList()
this.getCriterionDictionary()
}, },
methods: { methods: {
getCriterionDictionary() {
getCriterionDictionary({
ReadingCriterionId: this.criterionId,
DictionaryCode: 'OncologyAssessType'
}).then(res => {
this.OncologyAssessType = res.Result.OncologyAssessType
})
},
toggleSelection(rows) { toggleSelection(rows) {
console.log(this.$refs.multipleTable) console.log(this.$refs.multipleTable)
if (rows) { if (rows) {
@ -173,9 +183,9 @@ export default {
this.config.title = '肿瘤学阅片结果' this.config.title = '肿瘤学阅片结果'
this.config.visible = true this.config.visible = true
this.$nextTick(() => { this.$nextTick(() => {
var a = this.$d.OncologyAssessType.filter(v => { var a = this.OncologyAssessType.filter(v => {
return !!this.list.find(v1 => { return !!this.list.find(v1 => {
return v1.DictionaryId === v.id return v1.DictionaryId === v.Id
}) })
}) })
this.toggleSelection(a) this.toggleSelection(a)
@ -184,15 +194,15 @@ export default {
}, },
handleSave() { handleSave() {
this.loading = true this.loading = true
var a = this.$d.OncologyAssessType.filter(v => { var a = this.OncologyAssessType.filter(v => {
return !!this.list.find(v1 => { return !!this.list.find(v1 => {
return v1.DictionaryId === v.id return v1.DictionaryId === v.Id
}) })
}) })
var params = { var params = {
SystemCriterionId: this.criterionId, SystemCriterionId: this.criterionId,
ParentCode: 'OncologyAssessType', ParentCode: 'OncologyAssessType',
DictionaryIds: this.config.configType === 1 ? a.map(v => v.id) : this.selectedList.map(v => v.id), DictionaryIds: this.config.configType === 1 ? a.map(v => v.Id) : this.selectedList.map(v => v.Id),
IsSystemCriterion: true, IsSystemCriterion: true,
IsOncologyReading: this.form.IsOncologyReading IsOncologyReading: this.form.IsOncologyReading
} }

View File

@ -184,7 +184,7 @@
> >
<el-radio-group <el-radio-group
v-model="form.IsOncologyReading" v-model="form.IsOncologyReading"
:disabled="!form.IsReadingPeriod || form.IsSystemCriterion || isConfirm || !hasPermi(['trials:trials-panel:setting:reading-unit:edit'])" :disabled="!form.IsReadingPeriod || !form.IsSystemSetOncology || isConfirm || !hasPermi(['trials:trials-panel:setting:reading-unit:edit'])"
> >
<el-radio <el-radio
v-for="item of $d.YesOrNo" v-for="item of $d.YesOrNo"
@ -379,6 +379,7 @@ export default {
IsOncologyReading: 0, IsOncologyReading: 0,
IsReadingTaskViewInOrder: false, IsReadingTaskViewInOrder: false,
IsReadingPeriod: false, IsReadingPeriod: false,
IsSystemSetOncology: false,
// IsReadingTaskViewInOrder: null, // IsReadingTaskViewInOrder: null,
ArbitrationRule: null, ArbitrationRule: null,
GlobalUpdateType: null, GlobalUpdateType: null,