懒羊羊
2024-01-05 de1e72c63908983d52e12267258f5f3f4af70d5d
优化
已修改1个文件
7 ■■■■■ 文件已修改
jcdm-ui/src/views/main/em/equipmentArchives/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-ui/src/views/main/em/equipmentArchives/index.vue
@@ -266,19 +266,20 @@
  methods: {
    /** 查询设备档案列表 */
    initWorkshop(){
      listWorkshop(this.queryParams).then(response => {
      listWorkshop().then(response => {
        this.options = response.rows;
      });
    },
    // 在这里编写处理选中事件的逻辑
    handleSelectChange(selectedOption) {
      this.form.lineCode = null;
      this.queryParams.workshopCode = selectedOption;
      listLineInfo(this.queryParams).then(response => {
      listLineInfo(selectedOption).then(response => {
        this.lineOptions = response.rows;
      });
    },
    getList() {
      this.$modal.msgSuccess("修改成功");
      console.log(this.queryParams)
      this.loading = true;
      listEquipmentArchives(this.queryParams).then(response => {
        this.equipmentArchivesList = response.rows;