@@ -282,7 +283,6 @@
@click="handleEdit(scope.row)"
type="text"
size="small"
- class="div-table-button--edit"
>{{ editBtnName(scope.row) }}
删除
@@ -507,9 +507,15 @@ export default {
},
data() {
+ let startDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
+ let nowData = Date.now()
+ return time.getTime() > nowData
+ }
return {
tableData: [],
-
+ startPickerOptions: {
+ disabledDate: startDisabledDate
+ },
pageNo: 1,
pageSize: window.localStorage.getItem("pageSize") || 20,
total: 1,
@@ -854,7 +860,7 @@ export default {
param = [idValue];
}
- const { data, code, msg } = await requestPost(url, param);
+ const { data, code, msg } = await requestPost(url, [idValue]);
if (code === 0) {
this.$message.success("删除成功!");
@@ -929,6 +935,7 @@ export default {
});
}
});
+ this.getTableData()
},
},
};
diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue b/src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue
index 4717eda69..7b705111c 100644
--- a/src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue
+++ b/src/views/modules/shequzhili/tuceng/zhonghe/shebei/cpts/record.vue
@@ -1,140 +1,154 @@
-
-
检查记录
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.inspectTime }}
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.inspectStaffName }}
-
-
-
-
-
-
-
-
- {{ scope.row.inspectStaffMobile }}
-
-
-
-
-
-
-
-
-
-
-
- {{
- scope.row.inspectResult == 1
- ? "正常"
- : "异常"
- }}
-
-
-
-
-
-
-
-
-
-
- 最多三张图片
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.nextInspectTime }}
-
-
-
-
-
-
-
- 保存
- 取消
-
-
- 修改
-
- 删除
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 最多三张图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.nextInspectTime }}
+
+
+
+
+
+
+
+
+ 保存
+ 取消
+
+
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
@@ -586,9 +680,9 @@ export default {
@import "@/assets/scss/modules/management/list-main.scss";
.mt10 {
- margin-bottom: 10px;
+ margin-bottom: 10px;
}
.input-width {
- width: 170px;
+ width: 170px;
}
diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/shebei/index.vue b/src/views/modules/shequzhili/tuceng/zhonghe/shebei/index.vue
index 9ea5ee2c9..499fcd5b5 100644
--- a/src/views/modules/shequzhili/tuceng/zhonghe/shebei/index.vue
+++ b/src/views/modules/shequzhili/tuceng/zhonghe/shebei/index.vue
@@ -24,7 +24,6 @@
>