schangxiang@126.com
2025-09-10 3d43ffa3152110b7823f9fa6320c08a6ae02358a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<template>
  <div>
    <!--数据编辑器Editor-->
    <yrt-editor :ref="editorRef" :edit-type="'inner'" :data-list-ref="dataListRef" v-bind="editorOptions" :data-options="dataOptions" :action.sync="editorOptions.action" :visible.sync="editorOptions.config.visible" :detail-button-click="detailButtonClick" :auth-nodes="authNodes" @on-edit-load-after="onEditLoadAfter">
    </yrt-editor>
  </div>
</template>
<script>
import baseLayout from "@/components/common/base-layout.vue";
 
export default {
  name: "sys-dev-basicInfo",
  components: {},
  mixins: [baseLayout],
  data() {
    return {};
  },
  init(the) {
    the.dataOptions.noUserProduct_Id = true;
  },
  mounted() {
    setTimeout(() => {
      this.editor.editData(1);
    }, 600);
  },
  methods: {
    // 数据加载后
    onEditLoadAfter(formData) {
      const userInfo = this.common.getUserInfo();
      formData.userProduct_Id = userInfo.userProduct_Id;
    }
  }
};
</script>