修改:文档库的增加数据;

This commit is contained in:
qq787203167
2022-02-12 17:04:11 +08:00
parent cf41526bd2
commit 73eaa05cd6
6 changed files with 389 additions and 298 deletions
@@ -10,6 +10,8 @@
style="height: 100%;overflow: auto;padding-bottom: 53px;">
<addFormData
ref="addFormDataRef"
@addFormClick="addFormClick"
:flag="'1'"
isDisplayType
v-if="visible"
:url="url"
@@ -26,7 +28,6 @@
<script>
import addFormData from '@/components/addForm/index'
import { getAction, postAction } from '@/api/manage'
export default {
name: 'docLibraryAddForm',
@@ -55,24 +56,11 @@
},
},
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
@@ -82,15 +70,10 @@
},
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')
}
},
addFormClick(){
this.visible = false
},
}
}
</script>