|
|
@ -36,6 +36,14 @@ export default {
|
|
|
|
label: "报表编码",
|
|
|
|
label: "报表编码",
|
|
|
|
field: "reportCode"
|
|
|
|
field: "reportCode"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
inputType: "anji-select",
|
|
|
|
|
|
|
|
anjiSelectOption: {
|
|
|
|
|
|
|
|
dictCode: "SHARE_VAILD"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
label: "分享类型",
|
|
|
|
|
|
|
|
field: "shareValidType"
|
|
|
|
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// 表头按钮
|
|
|
|
// 表头按钮
|
|
|
|
tableButtons: [
|
|
|
|
tableButtons: [
|
|
|
@ -83,7 +91,9 @@ export default {
|
|
|
|
buttons: {
|
|
|
|
buttons: {
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
api: reportShareList,
|
|
|
|
api: reportShareList,
|
|
|
|
permission: 'ReportShare:query'
|
|
|
|
permission: 'ReportShare:query',
|
|
|
|
|
|
|
|
sort: "create_time",
|
|
|
|
|
|
|
|
order: "DESC"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
queryByPrimarykey: {
|
|
|
|
queryByPrimarykey: {
|
|
|
|
api: reportShareDetail,
|
|
|
|
api: reportShareDetail,
|
|
|
@ -127,7 +137,7 @@ export default {
|
|
|
|
disabled: false,
|
|
|
|
disabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '分享有效期类型',//分享有效期类型,DIC_NAME=SHARE_VAILD
|
|
|
|
label: '分享类型',//分享有效期类型,DIC_NAME=SHARE_VAILD
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
field: 'shareValidType',
|
|
|
|
field: 'shareValidType',
|
|
|
|
fieldTableRowRenderer: row => {
|
|
|
|
fieldTableRowRenderer: row => {
|
|
|
@ -140,7 +150,7 @@ export default {
|
|
|
|
disabled: false,
|
|
|
|
disabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '分享有效期',//分享有效期
|
|
|
|
label: '分享过期时间',//分享有效期
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
field: 'shareValidTime',
|
|
|
|
field: 'shareValidTime',
|
|
|
|
editField: 'shareValidTime',
|
|
|
|
editField: 'shareValidTime',
|
|
|
@ -154,6 +164,7 @@ export default {
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
field: 'shareToken',
|
|
|
|
field: 'shareToken',
|
|
|
|
editField: 'shareToken',
|
|
|
|
editField: 'shareToken',
|
|
|
|
|
|
|
|
tableHide: true,
|
|
|
|
inputType: 'input',
|
|
|
|
inputType: 'input',
|
|
|
|
rules: [
|
|
|
|
rules: [
|
|
|
|
{ min: 1, max: 255, message: '不超过255个字符', trigger: 'blur' }
|
|
|
|
{ min: 1, max: 255, message: '不超过255个字符', trigger: 'blur' }
|
|
|
@ -171,6 +182,16 @@ export default {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
disabled: false,
|
|
|
|
disabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '分享码',
|
|
|
|
|
|
|
|
placeholder: '',
|
|
|
|
|
|
|
|
field: 'sharePassword',
|
|
|
|
|
|
|
|
editField: 'sharePassword',
|
|
|
|
|
|
|
|
inputType: 'input',
|
|
|
|
|
|
|
|
rules: [
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
disabled: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// 弹出框表单对应的值有改动时
|
|
|
|
// 弹出框表单对应的值有改动时
|
|
|
|
// formData 整个表单,通过编辑打开弹出框,根据主键查询数据时,fieldName, fieldVal, fieldExtend为空
|
|
|
|
// formData 整个表单,通过编辑打开弹出框,根据主键查询数据时,fieldName, fieldVal, fieldExtend为空
|
|
|
|