diff --git a/src/views/record/index.vue b/src/views/record/index.vue
index 659ed0b..4baf298 100644
--- a/src/views/record/index.vue
+++ b/src/views/record/index.vue
@@ -88,7 +88,7 @@
{{item.records_total}}
-
+
{{item.sub_records_total}}
{{item.name}}
diff --git a/src/views/report/components/addIndex.vue b/src/views/report/components/addIndex.vue
index 0e7b27d..4f51778 100644
--- a/src/views/report/components/addIndex.vue
+++ b/src/views/report/components/addIndex.vue
@@ -168,7 +168,7 @@
}
},
created() {
- this.getAreaList()
+
},
methods: {
async getAreaList() {
@@ -298,7 +298,8 @@
},
},
watch: {
- isShow(newVal) {
+ isShow(newVal) {
+ this.getAreaList()
if (newVal) {
if (this.type === 'editor') {
this.getDetail()
diff --git a/src/views/report/filldata.vue b/src/views/report/filldata.vue
index dc353e8..270b6f1 100644
--- a/src/views/report/filldata.vue
+++ b/src/views/report/filldata.vue
@@ -72,7 +72,7 @@
- {{item.business_type.name}}
+ {{item.business_type?item.business_type.name:''}}
@@ -82,7 +82,7 @@
- {{item.business_data.name}}
+ {{item.business_data?item.business_data.name:''}}
diff --git a/vue.config.js b/vue.config.js
index 5201527..c82404e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
- outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin',
+ outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin_test',
assetsDir: 'static',
css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项