田源
2023-09-21 810e34d320111d0101ca8115de5f82db61d080e2
引用码段JSON字符串bug处理
已修改3个文件
31 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/integration/systemInfo.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
@@ -167,7 +167,7 @@
      if (this.eventList) {
        this.eventFlag= this.eventList.some(item => {
          if (item.classifyInvokeEditFlag === 'true') {
            console.log('even', item);
            // console.log('even', item);
            this.eventObject = item;
            return true;
          }
@@ -182,7 +182,7 @@
      let value=''
      formItemList.forEach((formItem) => {
        formItem = this.resetFormConfig(formItem);
        console.log(formItem)
        // console.log(formItem)
        // console.log('formItem.dicData.value',formItem.dicData)
        if (formItem.type === "line") {
          group.push({
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
@@ -287,10 +287,10 @@
        }
      })
      let mapFields;
      if (this.options.mapFields == "") {
      if (this.options.mapFields === "") {
        mapFields = this.referConfig.fieldMap;
      } else {
        mapFields = Object.assign(this.referConfig.fieldMap, JSON.parse(this.options.mapFields));
        mapFields = Object.assign(this.referConfig.fieldMap, this.options.mapFields);
      }
      this.value=value.join(',');
      this.text=text.join(',')
Source/UBCS-WEB/src/views/integration/systemInfo.vue
@@ -25,6 +25,17 @@
      </template>
    </avue-crud>
    <el-dialog :visible.sync="dialogVisible" append-to-body title="分类授权">
      <el-row>
        <el-col :span="14">
          <avue-tree ref="tree"
                     :option="TreeOption"
                     :data="TreeData"
                     v-model="TreeForm"
                     @check-change="checkChange">
          </avue-tree>
        </el-col>
      </el-row>
    </el-dialog>
  </basic-container>
</template>
@@ -34,6 +45,14 @@
export default {
  data() {
    return {
      TreeOption:{
        defaultExpandAll: true,
        multiple: true,
        addBtn:false,
        filter:false
      },
      TreeData:[],
      TreeForm:{},
      loading: false,
      dialogVisible:false,
      page: {
@@ -100,6 +119,10 @@
    }
  },
  methods: {
    //分类授权多选回调
    checkChange(){
    },
    //分类授权
    classifyHandler(){
      this.dialogVisible=true;