|
@@ -76,7 +76,7 @@
|
|
|
import { mapState, mapMutations } from "vuex";
|
|
import { mapState, mapMutations } from "vuex";
|
|
|
import EditPoint from "./dialog.editPoint.vue";
|
|
import EditPoint from "./dialog.editPoint.vue";
|
|
|
import { get, update } from "@/api/safetycheck/ruleManager.js";
|
|
import { get, update } from "@/api/safetycheck/ruleManager.js";
|
|
|
-
|
|
|
|
|
|
|
+import MessageEx from "@/components/message/messageex.js";
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -123,7 +123,7 @@ export default {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if(!this.formData.pointDtoList || this.formData.pointDtoList.length==0){
|
|
if(!this.formData.pointDtoList || this.formData.pointDtoList.length==0){
|
|
|
- this.$message.warning("检查内容不能为空!");
|
|
|
|
|
|
|
+ MessageEx.info("检查内容不能为空!");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
update(this.formData).then((v) => {
|
|
update(this.formData).then((v) => {
|
|
@@ -156,10 +156,8 @@ export default {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
-.brand_info {
|
|
|
|
|
- .el-form {
|
|
|
|
|
- width: 600px;
|
|
|
|
|
- padding-top: 40px;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+.box {
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|