NEZ-1422 feat: 新增字段,完善Date Expires,license_type=trial

This commit is contained in:
@changcode
2021-12-23 14:54:00 +08:00
parent 0b7efe0f2a
commit 52a92d05c8
9 changed files with 61 additions and 76 deletions

View File

@@ -12,14 +12,19 @@ export default {
setTimeout(() => {
this.setSearchInput(val, qv)
}, 200)
console.log()
qv && this.$set(val.target, val.propertyName, qv)
})
},
// 更新path包含请求参数
updatePath (param, path) {
console.log(param)
this.$router.replace({ path: path, query: param }).catch(err => {})
const params = lodash.cloneDeep(param)
Object.keys(params).forEach(key => {
if (!params[key]) {
delete params[key]
}
})
this.$router.replace({ path: path, query: params }).catch(err => {})
},
setSearchInput (val, qv) {
let dataList = ''
@@ -35,7 +40,6 @@ export default {
console.log(obj[val.jsonKey])
if (val.strKey) {
this.$refs[dataList].$refs.searchInput[val.listStr].map((e) => {
console.log(e)
obj[val.strKey] = e.name
})
}