|
|
@@ -3,7 +3,7 @@
|
|
|
<div style="margin:10px 10px 0 10px;border-radius:5px;" class="container normal-panel sticky" @click="closeTags">
|
|
|
<div class="flex-align-start flex-between normal-margin" style="flex-wrap:nowrap">
|
|
|
<div>
|
|
|
- <p class="main_title mt-10">{{titleText?titleText:'##'}}</p>
|
|
|
+ <p class="main_title mt-10"><i class="el-icon-back" @click="$store.dispatch('changeDetailDrawer',false)" style="color: #c7c7c7"></i>{{titleText?titleText:'##'}}</p>
|
|
|
<tagTemp v-if="activeApp.isdatatag" ref="tag" :ownertable="ownertable?ownertable:idname.slice(0, this.idname.length - 2)" @onSuccess="onSuccess"></tagTemp>
|
|
|
</div>
|
|
|
<div class="flex-align-center" style="flex: 1 0 auto; justify-content: flex-end;">
|
|
|
@@ -64,10 +64,10 @@
|
|
|
<div v-else style="text-align-center" class="container normal-panel">
|
|
|
<el-button slot="collapse" type="text" icon="el-icon-s-fold" @click="onCollapse"></el-button>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
</el-row>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -115,9 +115,9 @@ export default {
|
|
|
})
|
|
|
return data
|
|
|
} catch (error) {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
mainAData2 () {
|
|
|
try {
|
|
|
@@ -128,9 +128,9 @@ export default {
|
|
|
})
|
|
|
return data
|
|
|
} catch (error) {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
...mapGetters({
|
|
|
activeApp:"activeApp",
|
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
"systemappid":this.systemappid,
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
this.reportCenterLsit = res.data
|
|
|
},
|
|
|
async printBtn (data,data2) {
|
|
|
@@ -183,8 +183,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.tool.showMessage(res,() => {
|
|
|
-
|
|
|
- window.open(this.tool.getBaseUrl() + res.data + `&${this.idname}=${data}`)
|
|
|
+
|
|
|
+ window.open(this.tool.getBaseUrl() + res.data + `&${this.idname}=${data}`)
|
|
|
})
|
|
|
},
|
|
|
async next () {
|
|
|
@@ -221,7 +221,7 @@ export default {
|
|
|
const fun = (rs)=>{
|
|
|
let nowId = this.$route.query.id
|
|
|
let changeId = ''
|
|
|
-
|
|
|
+
|
|
|
if (rs == 0) {
|
|
|
changeId = this.svlistData.listData[this.svlistData.listData.length - 1][this.idname]
|
|
|
} else {
|
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
},
|
|
|
onSuccess () {
|
|
|
this.$emit('onEditSuccess')
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
deleteData () {
|
|
|
this.$confirm('确定删除当前数据吗?', '提示', {
|
|
|
@@ -273,12 +273,12 @@ export default {
|
|
|
this.$store.dispatch('changeDetailDrawer',false)
|
|
|
})
|
|
|
}).catch((err) => {
|
|
|
-
|
|
|
+
|
|
|
console.log(err)
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
message: '已取消删除'
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
},
|
|
|
checkDisabled () {
|
|
|
@@ -314,7 +314,7 @@ export default {
|
|
|
let n = 0
|
|
|
this.svlistData.listData.filter((e,index)=>{
|
|
|
if (e[this.idname] == id){
|
|
|
-
|
|
|
+
|
|
|
n = index
|
|
|
}
|
|
|
})
|
|
|
@@ -331,7 +331,7 @@ export default {
|
|
|
mounted () {
|
|
|
// this.checkPaginationData()
|
|
|
this.idx = this.$route.query.rowindex
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
created () {
|
|
|
this.$emit('detailCreate',this.param)
|
|
|
@@ -384,4 +384,4 @@ export default {
|
|
|
margin-right:16px;
|
|
|
line-height: 2rem;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|