保安服务企业管理项目备份
guoshilong
2023-12-13 a14d2573a4dab5e97696c74fa0a63565780483fe
src/views/check/postFiling.vue
@@ -82,9 +82,15 @@
          {
            label: "上岗时间",
            prop: "dutyTime",
            type: "datetime",
            format: "yyyy-MM-dd HH:mm:ss",
            valueFormat: "yyyy-MM-dd HH:mm:ss",
            display: false,
          },
          {
            label: "上岗时间",
            prop: "dutyTime",
            type: "time",
            format: "HH:mm",
            valueFormat: "HH:mm",
            hide:true,
            rules: [
              {
                required: true,
@@ -96,9 +102,15 @@
          {
            label: "下岗时间",
            prop: "layoffTime",
            type: "datetime",
            format: "yyyy-MM-dd HH:mm:ss",
            valueFormat: "yyyy-MM-dd HH:mm:ss",
            display: false,
          },
          {
            label: "下岗时间",
            prop: "layoffTime",
            type: "time",
            format: "HH:mm",
            valueFormat: "HH:mm",
            hide: true,
            rules: [
              {
                required: true,
@@ -171,7 +183,7 @@
  methods: {
    beforeOpen(done, type) {
      if (["edit", "view"].includes(type)) {
        getDetail(this.form.id).then(res => {
        getDetail({id:this.form.id}).then(res => {
          this.form = res.data.data;
          this.form['address'] = [this.form.lon,this.form.lat,this.form.position]
@@ -331,7 +343,6 @@
    },
    onLoad(page, params = {}) {
      params = this.questionBankSearch;
      const { releaseTimeRange } = this.query;
      let values = {