知识库导入

This commit is contained in:
shidongli 2024-07-10 10:00:26 +08:00
parent 4b76b9caae
commit 4aa2619804
3 changed files with 8 additions and 18 deletions

View File

@ -138,7 +138,6 @@
<script> <script>
import { getBaseList } from "@/api/system/exportinfo"; import { getBaseList } from "@/api/system/exportinfo";
export default { export default {
props: ['Nameinfo'],
data() { data() {
return { return {
// //
@ -166,13 +165,6 @@ export default {
datalist(val) { datalist(val) {
this.$emit('submit', val); this.$emit('submit', val);
}, },
'Nameinfo': {
handler(val, oldval) {
// console.log(val,'Nameinfo111111111111')
},
deep: true,
immediate: true,
},
}, },
created() { created() {
this.informationInfoinfo() this.informationInfoinfo()
@ -215,6 +207,9 @@ export default {
this.informationqueryParams = { this.informationqueryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
type: 'MESSAGE',
textMessageStatus:'GROUNDING',
hospitalAgencyId: 46,
}; };
this.informationInfoinfo(); this.informationInfoinfo();
}, },

View File

@ -196,6 +196,9 @@ export default {
this.informationqueryParams = { this.informationqueryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
type:'SCRIPT',
scriptStatus:'NORMAL',
hospitalAgencyId:46,
}; };
this.informationInfoinfo(); this.informationInfoinfo();
}, },

View File

@ -112,7 +112,6 @@
<script> <script>
import { getBaseList } from "@/api/system/exportinfo"; import { getBaseList } from "@/api/system/exportinfo";
export default { export default {
props:['Nameinfo'],
data() { data() {
return { return {
// //
@ -139,13 +138,6 @@ export default {
datalist(val) { datalist(val) {
this.$emit('submit', val); this.$emit('submit', val);
}, },
'Nameinfo': {
handler(val,oldval){
// console.log(val,'Nameinfo111111111111')
},
deep:true,
immediate:true,
},
}, },
created() { created() {
this.informationInfoinfo() this.informationInfoinfo()
@ -167,14 +159,12 @@ export default {
}, },
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
console.log(selection, '0000000000000')
// this.datalist = selection // this.datalist = selection
this.datalist = selection.map(item => item.id) this.datalist = selection.map(item => item.id)
this.single = selection.length !== 1 this.single = selection.length !== 1
this.multiple = !selection.length this.multiple = !selection.length
}, },
handleRowDbClick(row, column, event) {// handleRowDbClick(row, column, event) {//
console.log(this.datalist,'-----------------')
const index = this.datalist.indexOf(row); const index = this.datalist.indexOf(row);
console.log(index,'0000000000') console.log(index,'0000000000')
if (index !== -1) { if (index !== -1) {
@ -190,6 +180,8 @@ export default {
this.informationqueryParams = { this.informationqueryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
type:'WECHAT',
hospitalAgencyId:46,
}; };
this.informationInfoinfo(); this.informationInfoinfo();
}, },