|
@@ -136,6 +136,7 @@ export default {
|
|
|
this.$router.push({ name: 'activity-list' })
|
|
this.$router.push({ name: 'activity-list' })
|
|
|
},
|
|
},
|
|
|
getSSQ (code, key) {
|
|
getSSQ (code, key) {
|
|
|
|
|
+ if (!code) return
|
|
|
this.$http.get('/sys/region/' + code).then(({ data: res }) => {
|
|
this.$http.get('/sys/region/' + code).then(({ data: res }) => {
|
|
|
if (res.code !== 0) return this.$message.error(res.msg)
|
|
if (res.code !== 0) return this.$message.error(res.msg)
|
|
|
this[key] = res.data.name
|
|
this[key] = res.data.name
|