diff --git a/package.json b/package.json
index 3566446cb..b6c7da275 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,6 @@
"portfinder": "^1.0.21",
"qs": "^6.7.0",
"quill": "^1.3.6",
- "sass-loader": "^7.1.0",
"screenfull": "^4.2.1",
"sortablejs": "^1.12.0",
"svg-sprite-loader": "^4.1.6",
@@ -69,6 +68,7 @@
"element-theme-chalk": "^2.13.0",
"natives": "^1.1.6",
"ol": "^6.9.0",
+ "sass-loader": "^7.3.1",
"script-loader": "^0.7.2",
"tinymce": "^5.8.2",
"vue-template-compiler": "^2.6.11"
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()