配置及样式更改
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
4da35daa3c
commit
cadb3e8f7a
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<BaseContainer>
|
||||
<BaseContainer class="medical-feedback-ir">
|
||||
<el-tabs v-model="TrialReadingCriterionId" type="border-card">
|
||||
<el-tab-pane v-for="i of trialCriterionList" :key="i.TrialReadingCriterionId" :label="i.TrialReadingCriterionName" :name="i.TrialReadingCriterionId">
|
||||
<div v-if="TrialReadingCriterionId === i.TrialReadingCriterionId">
|
||||
|
@ -491,3 +491,11 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.medical-feedback-ir{
|
||||
::v-deep.search {
|
||||
padding: 0px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<BaseContainer v-loading="loading" style="height:100%;background-color: #fff;">
|
||||
<BaseContainer v-loading="loading" class="read-task">
|
||||
<el-tabs v-model="TrialReadingCriterionId" type="border-card">
|
||||
<el-tab-pane v-for="item of trialCriterionList" :key="item.TrialReadingCriterionId" :label="item.TrialReadingCriterionName" :name="item.TrialReadingCriterionId">
|
||||
<div v-if="TrialReadingCriterionId === item.TrialReadingCriterionId">
|
||||
|
@ -607,3 +607,12 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.read-task{
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
::v-deep.search {
|
||||
padding: 0px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<BaseContainer
|
||||
v-loading="loading"
|
||||
style="height: 100%; background-color: #fff"
|
||||
class="reading-task"
|
||||
>
|
||||
<el-tabs
|
||||
v-if="TrialReadingCriterionId"
|
||||
|
@ -499,3 +499,12 @@ export default {
|
|||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.reading-task{
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
::v-deep.search {
|
||||
padding: 0px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<BaseContainer>
|
||||
<BaseContainer class="reread-task">
|
||||
<el-tabs v-model="TrialReadingCriterionId" type="border-card">
|
||||
<el-tab-pane v-for="item of trialCriterionList" :key="item.TrialReadingCriterionId" :label="item.TrialReadingCriterionName" :name="item.TrialReadingCriterionId">
|
||||
<div v-if="TrialReadingCriterionId === item.TrialReadingCriterionId">
|
||||
|
@ -464,3 +464,10 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.reread-task{
|
||||
::v-deep.search {
|
||||
padding: 0px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -83,13 +83,7 @@ module.exports = defineConfig({
|
|||
asyncWebAssembly: true
|
||||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin({
|
||||
filename: 'static/css/[name].[contenthash:8].css'
|
||||
}),
|
||||
new NodePolyfillPlugin(),
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser'
|
||||
}),
|
||||
|
||||
process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function() { }
|
||||
: new WebpackAliyunOss({
|
||||
from: ['./dist/**'],
|
||||
|
@ -109,7 +103,14 @@ module.exports = defineConfig({
|
|||
'Cache-Control': 'max-age=31536000'
|
||||
}
|
||||
}
|
||||
})
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: 'static/css/[name].[contenthash:8].css'
|
||||
}),
|
||||
new NodePolyfillPlugin(),
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser'
|
||||
})
|
||||
// new OfflinePlugin({})
|
||||
],
|
||||
// 如果需要对 .wasm 文件进行特殊处理,可以添加 module.rules 配置
|
||||
|
@ -150,15 +151,18 @@ module.exports = defineConfig({
|
|||
}
|
||||
}
|
||||
},
|
||||
minimize: true,
|
||||
minimizer: [
|
||||
// 配置生产环境的压缩方案:js和css
|
||||
// new TerserWebpackPlugin({
|
||||
// // 开启多进程打包
|
||||
// parallel: true
|
||||
// }),
|
||||
minimize: process.env.NODE_ENV !== 'development',
|
||||
minimizer: process.env.NODE_ENV === 'development' ? [] : [
|
||||
new CssMinimizerPlugin()
|
||||
]
|
||||
// minimizer: process.env.NODE_ENV === 'development' ? [] : [
|
||||
// // 配置生产环境的压缩方案:js和css
|
||||
// // new TerserWebpackPlugin({
|
||||
// // // 开启多进程打包
|
||||
// // parallel: true
|
||||
// // }),
|
||||
// new CssMinimizerPlugin()
|
||||
// ]
|
||||
},
|
||||
performance: {
|
||||
hints: false,
|
||||
|
|
Loading…
Reference in New Issue