|
@@ -1,23 +1,17 @@
|
|
|
<script setup>
|
|
|
-import apiCommon from '@/api/modules/common'
|
|
|
+import apiReport from '@/api/modules/report'
|
|
|
|
|
|
const show=defineModel('show',{type:Boolean,default:false})
|
|
|
|
|
|
const text=ref('')
|
|
|
-function getSystemConfig(){
|
|
|
- /* apiCommon.systemConfig().then(res=>{
|
|
|
- if(res.Ret===200){
|
|
|
- const arr=res.Data||[]
|
|
|
- arr.forEach(item => {
|
|
|
- if(item.ConfKey==='Disclaimers'){
|
|
|
- text.value=item.ConfVal
|
|
|
+function getDisclaimers(){
|
|
|
+ apiReport.getReportDisclaimer().then(res=>{
|
|
|
+ if(res.Ret === 200&&res.ErrCode===0){
|
|
|
+ text.value = res.data.Content||''
|
|
|
}
|
|
|
- });
|
|
|
- }
|
|
|
- }) */
|
|
|
- text.value = `<p>123</p>`
|
|
|
+ })
|
|
|
}
|
|
|
-getSystemConfig()
|
|
|
+getDisclaimers()
|
|
|
|
|
|
</script>
|
|
|
|