|
@@ -809,6 +809,31 @@ export default {
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
+ activated(){
|
|
|
+ console.log(this.$route.query.open)
|
|
|
+ if (this.$route.query.open === 'true'){
|
|
|
+ this.detailList.columnList = this.detailStyle
|
|
|
+ this.detailForm = {}
|
|
|
+ this.detailData = []
|
|
|
+ this.inDex = this.detailOption.length
|
|
|
+ //从表修改按钮
|
|
|
+ for(let li in this.detailStyle){
|
|
|
+ if(!this.detailStyle[li].doNot){
|
|
|
+ this.detailStyle[li].disabled = false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ for(let item in this.detailOption){
|
|
|
+ if(!this.detailOption[item].doNot){
|
|
|
+ this.detailOption[item].disabled = false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ for(let li in this.detailButton){
|
|
|
+ this.detailButton[li].disabled = false
|
|
|
+ }
|
|
|
+ this.MainTable = true
|
|
|
+ this.$router.push({ query: {} })
|
|
|
+ }
|
|
|
+ },
|
|
|
created() {
|
|
|
let data = {
|
|
|
tableName: this.queryList.tableName,
|