diff --git a/src/views/modules/base/epidemic/natInfo/natForm.vue b/src/views/modules/base/epidemic/natInfo/natForm.vue
index e8e4f5849..ebd7d29f3 100644
--- a/src/views/modules/base/epidemic/natInfo/natForm.vue
+++ b/src/views/modules/base/epidemic/natInfo/natForm.vue
@@ -121,7 +121,6 @@
v-model="formData.natAddress">
-
+
+
+
+
+
-
+
+
+
+
+
@@ -161,7 +176,7 @@
header-align="center"
align="center"
label="检测时间"
- min-width="150">
+ width="150">
+
+
+
@@ -198,6 +220,10 @@
class="div-table-button--detail"
size="small"
@click="handleDetail(scope.row)">查看
+ 定时
{
+ this.timingNat(row)
+ })
+ .catch(err => {
+ if (err == "cancel") {
+
+ }
+
+ });
+ },
+
+ async timingNat (row) {
+ const url = "/epmetuser/dataSyncConfig/natInfoScanTask"
+ // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNat/synchro"
+
+ let params = {
+ isSync: '1',
+ dataCode: 'hesuan',
+ agencyId: this.agencyId
+ }
+
+ const { data, code, msg } = await requestPost(url, params)
+
+ if (code === 0) {
+ this.$message({
+ type: "success",
+ message: "操作成功"
+ });
+
+ // this.loadTable()
+ } else {
+ this.$message.error(msg)
+ }
+ },
async handleAttention (row) {
this.$confirm("确认将信息同步到本辖区核酸检测信息中心?", "提示", {
@@ -582,8 +664,11 @@ export default {
idCard: '',//身份证号码
startTime: '',//检测开始时间yyyy-MM-dd HH:mm
endTime: '',//检测结束时间yyyy-MM-dd HH:mm
+ sampleStartTime: '',//采样开始时间yyyy-MM-dd HH:mm
+ sampleEndTime: '',//采样结束时间yyyy-MM-dd HH:mm
}
this.timeRange = []
+ this.sampleTimeRange = []
this.pageNo = 0
// this.loadTable()