BUG 28231
This commit is contained in:
@@ -208,8 +208,8 @@ export default {
|
||||
} else {
|
||||
document.title = '新增人员'
|
||||
if (this.$route.query.appId) {
|
||||
this.appId = this.$route.query.appId
|
||||
this.typeConfirm([this.$route.query])
|
||||
let {appId: value, appName} = this.$route.query
|
||||
this.typeConfirm([{value, label: decodeURIComponent(appName)}])
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -124,7 +124,6 @@ export default {
|
||||
onShow() {
|
||||
document.title = '新建走访'
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
realityClick() {
|
||||
if (this.id) return
|
||||
@@ -178,7 +177,6 @@ export default {
|
||||
this.$http
|
||||
.post(`/app/appvisitvondolence/addOrUpdate`, {
|
||||
areaId: this.forms.areaId,
|
||||
applicationId: this.forms.applicationId,
|
||||
name: this.forms.name,
|
||||
visitTime: this.forms.visitTime,
|
||||
optionId: this.forms.optionId,
|
||||
|
||||
@@ -176,7 +176,13 @@ export default {
|
||||
uni.$once("selectType", () => {
|
||||
this.getUsers()
|
||||
})
|
||||
uni.navigateTo({url: `/apps/AppSpecialPeople/add?appId=${this.appId}&appName=${this.applicationName}`})
|
||||
let {appId, applicationName: appName} = this
|
||||
uni.navigateTo({
|
||||
url: this.$qs.stringifyUrl({
|
||||
url: "/apps/AppSpecialPeople/add",
|
||||
query: {appId, appName}
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import dict from "./dict";
|
||||
import dayjs from './monent';
|
||||
import qs from 'query-string'
|
||||
|
||||
const confirm = (content, title, config) => {
|
||||
let ops = {content}
|
||||
@@ -275,5 +276,6 @@ export default {
|
||||
}
|
||||
},
|
||||
dayjs,
|
||||
idCardNoUtil
|
||||
idCardNoUtil,
|
||||
qs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user