m lines-num-old"> 94 94
      if (res.status === 200) {
95 95
        this.companyTypesList = res.data.data
96
        this.companyTypeId = 10086
97
        this.getOrgId()
96 98
      } else {
97 99
        this.$Message.danger('公司类型列表数据获取失败!')
98 100
      }
@ -123,6 +125,13 @@ export default {
123 125
        })
124 126
        // eslint-disable-next-line no-return-assign
125 127
        this.departmentTypesList = data.filter(item => item.data = item.id)
128
        this.$nextTick(() => {
129
          if (this.firstCreated === true) {
130
            this.departmentTypeId = '10087'
131
            this.getDepId()
132
            this.firstCreated = false
133
          }
134
        })
126 135
      } else {
127 136
        this.$Message.danger('部门类型列表数据获取失败!')
128 137
      }

+ 1 - 0
security-protection-platform/src/modules/system/monitor/HomePageSettings/ShiftCameraDialog.vue

@ -118,6 +118,7 @@ export default {
118 118
      this.form.resourceToolName = item.resourceToolName
119 119
      this.form.resourceToolId = item.resourceToolId
120 120
      this.form.pictureUrl = item.pictureUrl
121
      this.form.videoUrl = item.videoUrl
121 122
    },
122 123
    handleSubmit () {
123 124
      this.$emit('submit', this.form)

+ 0 - 1
security-protection-platform/src/modules/usermana/index.vue

@ -115,7 +115,6 @@ export default {
115 115
      companyName: '',
116 116
      // 判断页面是否是第一次渲染
117 117
      firstCreated: true
118
119 118
    }
120 119
  },
121 120
  watch: {

code-example - Nuosi Git Service

团队对封装组件的代码范例

huangbo cbfab71f08 gitignore调整 5 jaren geleden
..
src 893513baf0 迅捷开发环境,spark测试用例提交。 6 jaren geleden
.gitignore cbfab71f08 gitignore调整 5 jaren geleden
pom.xml cc39ee2f82 迅捷开发环境,hbase测试用例提交。 6 jaren geleden
リリース - Nuosi Git Service