update 巡检提示
This commit is contained in:
		@@ -73,7 +73,7 @@
 | 
			
		||||
					<el-date-picker
 | 
			
		||||
						v-model="dataForm.planCheckTime"
 | 
			
		||||
						type="datetime"
 | 
			
		||||
						placeholder="请选择计划开始时间"
 | 
			
		||||
						placeholder="请选择实际巡检时间"
 | 
			
		||||
						value-format="timestamp"></el-date-picker>
 | 
			
		||||
				</el-form-item>
 | 
			
		||||
			</el-col>
 | 
			
		||||
@@ -107,6 +107,9 @@ export default {
 | 
			
		||||
				name: [
 | 
			
		||||
					{ required: true, message: '巡检单名称不能为空', trigger: 'blur' },
 | 
			
		||||
				],
 | 
			
		||||
				planCheckTime: [
 | 
			
		||||
					{ required: true, message: '巡检时间不能为空', trigger: 'blur' },
 | 
			
		||||
				],
 | 
			
		||||
			},
 | 
			
		||||
			equipmentOptions: [],
 | 
			
		||||
			groupOptions: [],
 | 
			
		||||
 
 | 
			
		||||
@@ -145,7 +145,7 @@ export default {
 | 
			
		||||
				equipmentId: null,
 | 
			
		||||
			},
 | 
			
		||||
			attrFormVisible: false,
 | 
			
		||||
			attrRows: [
 | 
			
		||||
			attrRows: [ 
 | 
			
		||||
				[
 | 
			
		||||
					{
 | 
			
		||||
						select: true,
 | 
			
		||||
@@ -157,16 +157,8 @@ export default {
 | 
			
		||||
						],
 | 
			
		||||
						bind: {
 | 
			
		||||
							clearable: true,
 | 
			
		||||
							filterable: true
 | 
			
		||||
						}
 | 
			
		||||
					},
 | 
			
		||||
					{
 | 
			
		||||
						input: true,
 | 
			
		||||
						label: '巡检项目',
 | 
			
		||||
						prop: 'program',
 | 
			
		||||
						rules: [
 | 
			
		||||
							{ required: true, message: '巡检项目不能为空', trigger: 'blur' },
 | 
			
		||||
						],
 | 
			
		||||
							filterable: true,
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
				],
 | 
			
		||||
				[
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@ function resolve(dir) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const CompressionPlugin = require('compression-webpack-plugin')
 | 
			
		||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
 | 
			
		||||
 | 
			
		||||
const name = process.env.VUE_APP_TITLE || '中建材智能自动化研究院有限公司' // 网页标题
 | 
			
		||||
 | 
			
		||||
@@ -68,7 +69,9 @@ module.exports = {
 | 
			
		||||
        filename: '[path].gz[query]',   // 压缩后的文件名
 | 
			
		||||
        algorithm: 'gzip',              // 使用gzip压缩
 | 
			
		||||
        minRatio: 0.8                   // 压缩率小于1才会压缩
 | 
			
		||||
      })
 | 
			
		||||
      }),
 | 
			
		||||
      // analayzer
 | 
			
		||||
      new BundleAnalyzerPlugin()
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
  chainWebpack(config) {
 | 
			
		||||
 
 | 
			
		||||
		Посилання в новій задачі
	
	Block a user