|
@@ -11,7 +11,7 @@
|
|
|
</template>
|
|
|
<hc-card>
|
|
|
<template #header>
|
|
|
- {{ headerTitle }}
|
|
|
+ <el-link type="primary" @click="goBack"> <HcIcon v-if="isShowFile" name="arrow-left-s" class="mr-2" />{{ headerTitle }}</el-link>
|
|
|
</template>
|
|
|
<div v-if="!isShowFile" v-loading="ruleLoading" class="rule-box">
|
|
|
<div v-for="(item, index) in ruleItemOptions" :key="index" class="rule-box-item" @click="ruleDetailClick(item)">
|
|
@@ -160,6 +160,12 @@ const getFileDetail1 = async (id) => {
|
|
|
pdfList.value = []
|
|
|
}
|
|
|
}
|
|
|
+const goBack = ()=>{
|
|
|
+ if (!isShowFile.value) return
|
|
|
+
|
|
|
+ isShowFile.value = !isShowFile.value
|
|
|
+ headerTitle.value = '规范文件夹'
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|