南昌市物联网技防平台-前端
Administrator
2021-03-24 5bbc98b1d80842f185d7d6baee520479b5f667a2
src/views/parcel/parcel.vue
@@ -20,20 +20,15 @@
               @on-load="onLoad">
        
      <template slot="menu">
        <el-button type="text" @click="dialogVisible=true">点击打开 Dialog</el-button>
        <el-button type="text" @click="dialogVisible=true">查看包裹图片</el-button>
        <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
          <span>这是一段信息</span>
          <span slot="footer" class="dialog-footer">
            <el-button @click="dialogVisible = false">取 消</el-button>
            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
          </span>
        </el-dialog>
      </template>
    </avue-crud>
  </basic-container>
</template>
@@ -97,11 +92,11 @@
              hide:true
            },
            {
              label: "过机时间",
              label: "安检时间",
              prop: "samplingTime",
            },
            {
              label: "过机时间",
              label: "安检时间",
              prop: "dateTime",
              type: "datetime",
              format: "yyyy-MM-dd HH:mm:ss",
@@ -217,13 +212,6 @@
      refreshChange() {
        this.onLoad(this.page, this.query);
      },
      handleClose(done) {
        this.$confirm('确认关闭?')
          .then(_ => {
            done();
          })
          .catch(_ => {});
      },
      onLoad(page, params = {}) {
        debugger;
        const { dateTime } = this.query;
@@ -231,7 +219,6 @@
          ...params,
        };
        debugger;
        if (this.$route.query.decisioDiagramResult && this.$route.query!='' && this.$route.query!=null && this.$route.query!=undefined ) {
            if (this.$route.query.startTime != undefined && this.$route.query.startTime != null && this.$route.query.startTime != "" ) {
              this.page.currentPage = 1;