master
lion 1 year ago
parent 93c2240541
commit 33c445e75f

@ -88,7 +88,7 @@
<div v-for="item in showData" class='catalog_item' @click="clickIn(item)">
<div>
<div class="catalog_count" v-if="!(item.children&&item.children.length>0)">{{item.records_total}}</div>
<div class="catalog_count" v-else>{{item.sub_records_total}}</div>
<i :class="item.children&&item.children.length>0?'el-icon-folder-opened':'el-icon-document-copy'"></i>
<div>{{item.name}}</div>
</div>

@ -168,7 +168,7 @@
}
},
created() {
this.getAreaList()
},
methods: {
async getAreaList() {
@ -299,6 +299,7 @@
},
watch: {
isShow(newVal) {
this.getAreaList()
if (newVal) {
if (this.type === 'editor') {
this.getDetail()

@ -72,7 +72,7 @@
<template
v-if="scope.row.id_fill_datas_fill_id_relation && scope.row.id_fill_datas_fill_id_relation.length>0">
<template v-for="item in scope.row.id_fill_datas_fill_id_relation">
<div class="product-item">{{item.business_type.name}}</div>
<div class="product-item">{{item.business_type?item.business_type.name:''}}</div>
</template>
</template>
</template>
@ -82,7 +82,7 @@
<template
v-if="scope.row.id_fill_datas_fill_id_relation && scope.row.id_fill_datas_fill_id_relation.length>0">
<template v-for="item in scope.row.id_fill_datas_fill_id_relation">
<div class="product-item">{{item.business_data.name}}</div>
<div class="product-item">{{item.business_data?item.business_data.name:''}}</div>
</template>
</template>
</template>

@ -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 传递选项

Loading…
Cancel
Save