update 巡检提示

This commit is contained in:
lb 2024-03-22 17:16:08 +08:00
parent de1b67aa5b
commit afa3f7c6f5
3 changed files with 11 additions and 13 deletions

View File

@ -73,7 +73,7 @@
<el-date-picker <el-date-picker
v-model="dataForm.planCheckTime" v-model="dataForm.planCheckTime"
type="datetime" type="datetime"
placeholder="请选择计划开始时间" placeholder="请选择实际巡检时间"
value-format="timestamp"></el-date-picker> value-format="timestamp"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -107,6 +107,9 @@ export default {
name: [ name: [
{ required: true, message: '巡检单名称不能为空', trigger: 'blur' }, { required: true, message: '巡检单名称不能为空', trigger: 'blur' },
], ],
planCheckTime: [
{ required: true, message: '巡检时间不能为空', trigger: 'blur' },
],
}, },
equipmentOptions: [], equipmentOptions: [],
groupOptions: [], groupOptions: [],

View File

@ -145,7 +145,7 @@ export default {
equipmentId: null, equipmentId: null,
}, },
attrFormVisible: false, attrFormVisible: false,
attrRows: [ attrRows: [
[ [
{ {
select: true, select: true,
@ -157,16 +157,8 @@ export default {
], ],
bind: { bind: {
clearable: true, clearable: true,
filterable: true filterable: true,
} },
},
{
input: true,
label: '巡检项目',
prop: 'program',
rules: [
{ required: true, message: '巡检项目不能为空', trigger: 'blur' },
],
}, },
], ],
[ [

View File

@ -7,6 +7,7 @@ function resolve(dir) {
} }
const CompressionPlugin = require('compression-webpack-plugin') const CompressionPlugin = require('compression-webpack-plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
const name = process.env.VUE_APP_TITLE || '中建材智能自动化研究院有限公司' // 网页标题 const name = process.env.VUE_APP_TITLE || '中建材智能自动化研究院有限公司' // 网页标题
@ -68,7 +69,9 @@ module.exports = {
filename: '[path].gz[query]', // 压缩后的文件名 filename: '[path].gz[query]', // 压缩后的文件名
algorithm: 'gzip', // 使用gzip压缩 algorithm: 'gzip', // 使用gzip压缩
minRatio: 0.8 // 压缩率小于1才会压缩 minRatio: 0.8 // 压缩率小于1才会压缩
}) }),
// analayzer
new BundleAnalyzerPlugin()
], ],
}, },
chainWebpack(config) { chainWebpack(config) {