release-v1.0 #1

Merged
panchichun merged 57 commits from release-v1.0 into main 2024-09-13 17:04:18 +08:00
3 changed files with 16 additions and 4 deletions
Showing only changes of commit fc1603c786 - Show all commits

View File

@ -71,12 +71,12 @@
@click="handleExport" @click="handleExport"
v-hasPermi="['system:dict:export']" v-hasPermi="['system:dict:export']"
>导出</el-button> >导出</el-button>
<el-button <!-- <el-button
plain plain
icon="el-icon-close" icon="el-icon-close"
size="mini" size="mini"
@click="handleClose" @click="handleClose"
>关闭</el-button> >关闭</el-button>-->
</div> </div>
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />

View File

@ -37,6 +37,10 @@
</el-tab-pane><!--el-tab-pane--> </el-tab-pane><!--el-tab-pane-->
</el-tabs><!--el-tabs--> </el-tabs><!--el-tabs-->
</div><!--fl 左侧页签--> </div><!--fl 左侧页签-->
<el-dialog :title="viewDialogTitle" :visible.sync="viewDialogOpen" fullscreen width="500px" append-to-body :before-close="handleBeforeClose">
<i-frame :src="previewUrl" v-if="viewDialogOpen"/>
</el-dialog>
</div><!--fbox1 左右分栏--> </div><!--fbox1 左右分栏-->
</template> </template>
@ -115,6 +119,7 @@
this.getDocList() this.getDocList()
}, },
handlePriew(row){ handlePriew(row){
console.info("1111111==============")
this.previewUrl = process.env.VUE_APP_TOOL_TECH_FILE_VIEW_API + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(process.env.VUE_APP_BASE_API + row.docUrl)); this.previewUrl = process.env.VUE_APP_TOOL_TECH_FILE_VIEW_API + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(process.env.VUE_APP_BASE_API + row.docUrl));
this.viewDialogTitle = '文档在线预览' this.viewDialogTitle = '文档在线预览'
this.viewDialogOpen = true; this.viewDialogOpen = true;
@ -297,6 +302,9 @@
this.$set(parentItem.replyContentSon, repIndex, ''); this.$set(parentItem.replyContentSon, repIndex, '');
this.$set(parentItem.showReplyFormSon, repIndex, false); this.$set(parentItem.showReplyFormSon, repIndex, false);
}, },
handleBeforeClose() {
this.viewDialogOpen = false
}
} }
} }
</script> </script>

View File

@ -29,7 +29,7 @@
style="width: 240px" style="width: 240px"
> >
<el-option <el-option
v-for="dict in dict.type.sys_normal_disable" v-for="dict in dict.type.tool_status"
:key="dict.value" :key="dict.value"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
@ -107,7 +107,11 @@
<dict-tag :options="dict.type.tool_status" :value="scope.row.status"/> <dict-tag :options="dict.type.tool_status" :value="scope.row.status"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="审核状态" align="center" key="status">
<template slot-scope="scope">
<dict-tag :options="dict.type.tool_status" :value="scope.row.recordStatus"/>
</template>
</el-table-column>
<el-table-column label="关联工具" align="center" :show-overflow-tooltip="true"> <el-table-column label="关联工具" align="center" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="handleRelationTool(scope.row.relationToolList)"> <span v-if="handleRelationTool(scope.row.relationToolList)">