/**
 * 视频监控系统：vsT（videoSurveillance.vsNs）、vsCommon
 */
export default {
  methods: {
    vsT(key, values) {
      const ns = this.vsNs
      if (!ns) {
        return key
      }
      return this.$t(`videoSurveillance.${ns}.${key}`, values)
    },
    vsCommon(key) {
      return this.$t(`videoSurveillance.common.${key}`)
    },
    ownerTypeTagType(ownerType) {
      if (ownerType === 1) {
        return "success"
      }
      if (ownerType === 2) {
        return "warning"
      }
      return "info"
    }
  }
}
