diff --git a/components/dForm/index.vue b/components/dForm/index.vue index 24ba612..f931e9b 100644 --- a/components/dForm/index.vue +++ b/components/dForm/index.vue @@ -137,6 +137,10 @@ }) } + const setDataByKey = (key, value) => { + formData[key] = value || null + } + const setData = (data) => { list.forEach(item => { const { key } = item @@ -152,7 +156,7 @@ return dFormRef.value.validate() } - defineExpose({ setData, getData, validate }) + defineExpose({ setDataByKey, setData, getData, validate }) \ No newline at end of file diff --git a/otherPages/binding/withdrawal/index.vue b/otherPages/binding/withdrawal/index.vue index 886cfb9..bf8aff0 100644 --- a/otherPages/binding/withdrawal/index.vue +++ b/otherPages/binding/withdrawal/index.vue @@ -21,10 +21,11 @@ 提现说明 - 1、单日提现次数上限为5次;单笔提现上限200元; - - - 2、直接提现至微信账户,无法提现至支付宝; + @@ -37,8 +38,17 @@ \ No newline at end of file +.personal-pet-health-info{ + background-color: #fff; + padding: 10px 20px 0 20px; + margin-top: 10px; +} +.health-select{ + background-color: #fffcf2; + padding: 10px 20px; +} +.dog-tips{ + color: #A94F20; + font-size: 12px; + display: flex; + align-items: baseline; + margin-top: 5px; + + .icon { + width: 12px; + height: 12px; + margin-right: 3px; + } +} + diff --git a/otherPages/workbenchManage/examNotice/index.vue b/otherPages/workbenchManage/examNotice/index.vue index 70b908c..7c482b9 100644 --- a/otherPages/workbenchManage/examNotice/index.vue +++ b/otherPages/workbenchManage/examNotice/index.vue @@ -52,13 +52,22 @@ import submitBut from "../../../components/submitBut/index.vue" import tab from "@/plugins/tab"; import {getStorage} from "../../../utils/auth"; import modal from "../../../plugins/modal"; +import { useStore } from 'vuex' + +const store = useStore() + +const configList = computed(() => { + return store.getters.configList +}) onShow(() => { answerCount.value = getStorage("userInfo").answerCount console.log(answerCount.value); }) const type = getStorage("userInfo")?.petType?.split(',') -const sumNum = ref(3) +const sumNum = computed(() => { + return parseInt(configList.value.pet_work_num.paramValueText || 0) +}) const answerCount = ref(0) const typeData = ref( [ diff --git a/otherPages/workbenchManage/myLevel/commponents/myData.vue b/otherPages/workbenchManage/myLevel/commponents/myData.vue index db0f30b..e7aaa3f 100644 --- a/otherPages/workbenchManage/myLevel/commponents/myData.vue +++ b/otherPages/workbenchManage/myLevel/commponents/myData.vue @@ -1,41 +1,29 @@