标签管理

This commit is contained in:
caoyang
2022-02-11 18:14:40 +08:00
parent 3f4fe0c76e
commit 03e17c6c68
7 changed files with 174 additions and 62 deletions
@@ -26,6 +26,7 @@
<script>
import addFormData from '@/components/addForm/index'
import { getAction, postAction } from '@/api/manage'
export default {
name: 'docLibraryAddForm',
@@ -38,12 +39,40 @@
drawerWidth: 1000,
visible: false,
confirmLoading: false,
url: {}
isDisplayType:false,
dataList:[]
}
},
props:{
flag: {
type: String,
default: ''
},
//接口
url: {
type: Object,
default: {}
},
},
mounted() {
this.formData()
},
methods: {
formData(){
let params = {
flag: this.flag
}
getAction(this.url.formList, params).then((res) => {
if(res.success){
}
console.log('res',res)
})
},
handleCancel() {
this.visible = false
console.log('2222')
},
add() {
this.visible = true
@@ -53,6 +82,13 @@
},
handleSubmit() {
this.$refs.addFormDataRef.sumber()
// postAction(this.url.datarule,params).then(res=>{
// if(res.success){
// this.$message.success(res.message)
// }else{
// this.$message.error(res.message)
// }
// })
console.log('11111')
}
}