diff --git a/src/components/FormComponents/CustomForm/FormItemSelf.vue b/src/components/FormComponents/CustomForm/FormItemSelf.vue index 561c24ad5504562b7826c362608c97ac89debd13..8b596d64caaacf0acb313c57dd5480de257e3738 100644 --- a/src/components/FormComponents/CustomForm/FormItemSelf.vue +++ b/src/components/FormComponents/CustomForm/FormItemSelf.vue @@ -5,13 +5,18 @@ :style="item.styles" :class="{ isDefects: defectsSet.includes(item.prop) }" > - +
{{ item.labelSuffix || columnIndex + 1 }}
+ > + {{ item.labelSuffix || columnIndex + 1 }} + @@ -297,7 +313,13 @@ > {{ age + (age ? "岁" : "") }} + >{{ age + (age ? "岁" : "") }} {{ item.importantFieldDesc || "*" }} + >{{ item.importantFieldDesc || "*" }}
@@ -734,23 +764,24 @@ export default { Object.keys(dyMap).forEach((key) => { // !获取显隐目标 let targetItem = columns.find((_) => _.prop === key) - + if (!targetItem) { // !没有在表单子组件中找到,查找大表单id targetItem = group.find((_) => _.prop === key) } //没有找到再细化查找 if (!targetItem) { - group.forEach((_) =>{ - if(_.column){ - _.column.find((item)=> { - if(item.prop === key){ + group.forEach((_) => { + if (_.column) { + _.column.find((item) => { + if (item.prop === key) { targetItem = item return - } - else{ - if(item.children && item.children.column){ - targetItem = item.children.column.find((e)=> e.prop=== key) + } else { + if (item.children && item.children.column) { + targetItem = item.children.column.find( + (e) => e.prop === key + ) } } }) diff --git a/src/layouts/components/AppMain/index.vue b/src/layouts/components/AppMain/index.vue index f2b124368e3ceea6348aab51585eaaf8f2087c67..6ac5242471b1d70c1169794c96ef0ad848cc98af 100644 --- a/src/layouts/components/AppMain/index.vue +++ b/src/layouts/components/AppMain/index.vue @@ -10,7 +10,7 @@ --> - + diff --git a/src/views/followupentry/followaudit.vue b/src/views/followupentry/followaudit.vue index a73549c7ef11e88fba59c9601fbf0b5947226a68..af3d262d2eeaef8a793f9cc927344a4070089c5a 100644 --- a/src/views/followupentry/followaudit.vue +++ b/src/views/followupentry/followaudit.vue @@ -14,8 +14,8 @@
@@ -84,10 +84,10 @@ -
+
- 确认并进入下一列审核 确 定 @@ -148,6 +148,13 @@ export default { medicalCombination: "无锡市人民医院医联体", mcCount: 7, editStatus: false, //进入的状态是第一次审核还是修改审核,false为第一次,true为修改 + followNum: [ + //随访次数数据 + { followId: 123, formRecordId: 123 }, + { followId: 123, formRecordId: 123 }, + { followId: 123, formRecordId: 123 }, + { followId: 123, formRecordId: 123 }, + ], //第几次随访数据 formEdit: { name: "djksh", contact_phone: "12345678", @@ -200,6 +207,11 @@ export default { showNote: false, } }, + computed: { + unionId() { + return this.$route.query.id + }, + }, watch: { // tagList(){ // this.$nextTick(() => { @@ -210,11 +222,6 @@ export default { created() { // this.getDetail() }, - computed: { - unionId() { - return this.$route.query.id - }, - }, methods: { showDialog(val, index) { console.log("显示框", val) diff --git a/src/views/screening/components/ConfigForms.vue b/src/views/screening/components/ConfigForms.vue index ebfba4f213484382ca965552cf35223353830488..37e8a2936f5dc5a4f99f16105e8611b34b12d265 100644 --- a/src/views/screening/components/ConfigForms.vue +++ b/src/views/screening/components/ConfigForms.vue @@ -63,6 +63,10 @@ +
    @@ -428,7 +432,7 @@ export default { padding: 32px 24px 32px; .draftButton { position: absolute; - top: 0px; + top: 12px; right: 40px; z-index: 999; border-radius: 4px; @@ -443,7 +447,7 @@ export default { } } #publicContent.p_padding { - padding: 10px 24px 32px; + padding: 10px 24px 17px; } ::v-deep .el-dialog__body { .title { @@ -589,4 +593,11 @@ export default { border: 1px solid #4e68ff; color: #4e68ff; } +.bottom_line { + // width: 100%; + position: absolute; + bottom: 0px; + height: 3px; + box-shadow: 0px 3px 4px rgb(0 21 41 / 8%); +} diff --git a/src/views/screening/components/FormTab.vue b/src/views/screening/components/FormTab.vue index 46f731850033c70fbc8c4cf8861226fbc8a5c4e3..2f869afa16f04ddafda6eb5c761a1fc19e6a91de 100644 --- a/src/views/screening/components/FormTab.vue +++ b/src/views/screening/components/FormTab.vue @@ -49,7 +49,9 @@ height: $route.path == '/screening/index' ? 'calc(100vh - 310px)' - : 'calc(100vh - 270px)', + : $route.path == '/screening/draft' + ? 'calc(100vh - 270px)' + : 'calc(100vh - 230px)', }" :class="externalScroll ? 'no-scroll' : ''" > @@ -196,6 +198,9 @@ export default { data[key] = data[key] + "" } } + data.follow_contents = JSON.parse( + data.follow_contents.replace(/"\"/g, "") + ) this.formData.formEdit = data } this.initForm() //! 随防筛查通用的设置form @@ -478,6 +483,7 @@ export default { .el-main { position: relative; padding: 0; + // box-shadow: 0px 5px 4px red; .arrow { position: absolute; @@ -489,7 +495,7 @@ export default { } .header { height: 5px; - box-shadow: 0 5px 4px rgb(0 21 41 / 8%); + box-shadow: 0px 3px 4px rgb(0 21 41 / 8%); padding-right: 20px; position: relative; font-size: 15px;