zhanghonglin
5 天以前 96a94a59c08f55712ba04eb413e7f61739f11f66
ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Client/src/views/taskinfo/thickness_hty.vue
@@ -10,11 +10,13 @@
    :searchFormFields="searchFormFields"
    :searchFormOptions="searchFormOptions"
    :table="table"
    :extend="extend"
  ></view-grid>
</template>
    <script>
import extend from "@/extension/taskinfo/thickness_hty.js";
import { ref, defineComponent } from "vue";
export default defineComponent({
  setup() {
    const table = ref({
@@ -26,14 +28,23 @@
      sortName: "createDate"
    });
    const editFormFields = ref({});
    const editFormOptions = ref([
    ]);
    const editFormOptions = ref([]);
    const searchFormFields = ref({
      qualified:"",
    });
    const searchFormOptions = ref([
      [
        {
          title: "是否合格",
          field: "qualified",
          type: "select",
          dataKey: "WeightThicknessEnum",
          data: [
            { key: "0", value: "不合格" },
            { key: "1", value: "合格" }
          ]
        }
      ],
    ]);
    const columns = ref([
      {
@@ -108,10 +119,13 @@
        type: "string",
        width: 100,
        align: "left",
        bind: { key: "qualified", data: [
          {key: "0", value: "不合格"},
          {key: "1", value: "合格"},
        ] },
        bind: {
          key: "WeightThicknessEnum",
          data: [
            { key: "0", value: "不合格" },
            { key: "1", value: "合格" }
          ]
        }
      },
      {
        field: "interval",
@@ -125,15 +139,15 @@
        title: "创建人",
        type: "string",
        width: 90,
        align: "left",
        align: "left"
      },
      {
        field: "createDate",
        title: "创建时间",
        type: "datetime",
        width: 150,
        align: "left",
      },
        align: "left"
      }
    ]);
    const detail = ref({
      cnName: "#detailCnName",