标签属性类型修改
This commit is contained in:
@@ -268,18 +268,22 @@
|
|||||||
backDocument(val){
|
backDocument(val){
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: this.$t('backDocument'),
|
content: this.$t('backDocument'),
|
||||||
|
|
||||||
onOk:
|
onOk:
|
||||||
async () =>
|
async () =>
|
||||||
{
|
{
|
||||||
// deleteAction(``, { id: val.id }).then((res) => {
|
let params={
|
||||||
// if (res.success) {
|
id:val.id,
|
||||||
// this.$message.success(res.message)
|
fileName:val.fileName,
|
||||||
// this.loadData()
|
connectId:val.connectId
|
||||||
// } else {
|
}
|
||||||
// this.$message.warning(res.message)
|
getAction(`split/sarFileSplitInfo/bindToDocumentLibrary`, params).then((res) => {
|
||||||
// }
|
if (res.success) {
|
||||||
// })
|
this.$message.success(res.message)
|
||||||
|
this.loadData()
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -551,16 +551,16 @@
|
|||||||
async () => {
|
async () => {
|
||||||
axios({
|
axios({
|
||||||
url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildren',
|
url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildren',
|
||||||
method: 'post',
|
method: 'get',
|
||||||
data: params,
|
params: params,
|
||||||
transformRequest: [function (data) {
|
// transformRequest: [function (data) {
|
||||||
// Do whatever you want to transform the data
|
// // Do whatever you want to transform the data
|
||||||
let ret = ''
|
// let ret = ''
|
||||||
for (let it in data) {
|
// for (let it in data) {
|
||||||
ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
|
// ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
|
||||||
}
|
// }
|
||||||
return ret
|
// return ret
|
||||||
}],
|
// }],
|
||||||
headers: {
|
headers: {
|
||||||
// 'Content-Type': 'application/x-www-form-urlencoded',
|
// 'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
'X-Access-Token':this.token
|
'X-Access-Token':this.token
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
seachList: 'document/bussDocumentLibraryEO/getHeaderOrConditionForOcr', //搜索字段
|
seachList: 'document/bussDocumentLibraryEO/getHeaderOrConditionForOcr', //搜索字段
|
||||||
tableList: 'document/bussDocumentLibraryEO/ocrPageInfo', //表格数据
|
tableList: 'document/bussDocumentLibraryEO/ocrPageInfo', //表格数据
|
||||||
},
|
},
|
||||||
type:'',
|
type:'doc',
|
||||||
OperationList:[]
|
OperationList:[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -205,11 +205,12 @@
|
|||||||
if (file.file_name) {
|
if (file.file_name) {
|
||||||
let name = file.file_name.split('.')
|
let name = file.file_name.split('.')
|
||||||
let nameSuffix = name[name.length - 1]
|
let nameSuffix = name[name.length - 1]
|
||||||
// if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx') {
|
if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx') {
|
||||||
let params = {
|
let params = {
|
||||||
attId: file.id,
|
attId: file.id,
|
||||||
standName: file.title,
|
title: file.title,
|
||||||
standNumber: file.serial_number,
|
fileName:file.file_name,
|
||||||
|
serialNumber: file.serial_number,
|
||||||
connectId: file.connect_id
|
connectId: file.connect_id
|
||||||
}
|
}
|
||||||
if (file.text_info == '发布稿(必读)') {
|
if (file.text_info == '发布稿(必读)') {
|
||||||
@@ -235,10 +236,10 @@
|
|||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// this.$emit('exportVisible',true)
|
this.$emit('exportVisible',true)
|
||||||
// } else {
|
} else {
|
||||||
// this.$message.warning(this.$t('OnlyWord'))
|
this.$message.warning(this.$t('OnlyWord'))
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -237,20 +237,22 @@
|
|||||||
watch:{
|
watch:{
|
||||||
'form.fieldShowType'(val){
|
'form.fieldShowType'(val){
|
||||||
// this.contentFlag=val
|
// this.contentFlag=val
|
||||||
if(val===0){
|
if(val==0){
|
||||||
this.contentOption=[...this.contentOption2]
|
this.contentOption=[...this.contentOption2]
|
||||||
this.isTagContent=true
|
this.isTagContent=true
|
||||||
}else if(val===3||val===4){
|
}else if(val==3||val==4){
|
||||||
this.contentOption=[...this.contentOption1]
|
this.contentOption=[...this.contentOption1]
|
||||||
this.isTagContent=true
|
this.isTagContent=true
|
||||||
}else if(val===7) {
|
}else{
|
||||||
|
this.isTagContent=false
|
||||||
|
}
|
||||||
|
if(val==7){
|
||||||
this.isSearch=false
|
this.isSearch=false
|
||||||
this.form.isQuery=0
|
this.form.isQuery=0
|
||||||
}else{
|
}else{
|
||||||
this.isTagContent=false
|
|
||||||
this.isSearch=true
|
this.isSearch=true
|
||||||
}
|
}
|
||||||
if(val===1||val===8||val===9||val===10||val===11||val==='sel_user'){
|
if(val==1||val==8||val==9||val==10||val==11||val=='sel_user'){
|
||||||
this.isLength=true
|
this.isLength=true
|
||||||
}else{
|
}else{
|
||||||
this.isLength=false
|
this.isLength=false
|
||||||
|
|||||||
Reference in New Issue
Block a user