ZR20090193-陈敬勇 9 months ago
commit d46e9165bc

@ -13,8 +13,8 @@ VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666
VITE_DROP_CONSOLE = false VITE_DROP_CONSOLE = false
# 后台接口父地址(必填) # 后台接口父地址(必填)
# VITE_GLOB_API_URL=http://localhost:3008 VITE_GLOB_API_URL=http://localhost:3008
VITE_GLOB_API_URL="/api" # 开发 测试环境 # VITE_GLOB_API_URL="/api" # 开发 测试环境
# File upload address optional # File upload address optional
#VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile #VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile

@ -38,27 +38,42 @@
{ {
field: 'divider-selects', field: 'divider-selects',
component: 'Divider', component: 'Divider',
label: '授权信息', label: '系统授权用户数',
colProps: { span: 24 }, colProps: { span: 24 },
}, },
{ {
field: 'authUserNum', field: 'authUserNum',
label: '租户授权用户数', label: '租户授权用户数',
component: 'Input', component: 'InputNumber',
labelWidth: '140px', labelWidth: '200px',
colProps: { span: 24 }, componentProps: {
min: 0,
placeholder: '可登陆系统的最大用户数',
},
colProps: { span: 8 },
}, },
]) ])
console.log(props.checkedKeys, 'props.checkedKeys') console.log(props.checkedKeys, 'props.checkedKeys')
// const ASD = () => { // const ASD = () => {
props.checkedKeys.forEach((item) => { props.checkedKeys.forEach((item, index) => {
if (index == 0) {
authorization.value.push({
field: 'divider-selects',
component: 'Divider',
label: '权限模块授权',
colProps: { span: 24 },
})
}
authorization.value.push({ authorization.value.push({
field: `${item.key}--authNum`, field: `${item.key}--authNum`,
label: `${item.title} 授权数`, label: `${item.title} 授权数`,
component: 'Input', component: 'InputNumber',
labelWidth: '140px', labelWidth: '200px',
colProps: { span: 12 }, componentProps: {
min: 0,
},
colProps: { span: 8 },
}) })
}) })
authorization.value.push({ authorization.value.push({

@ -2,7 +2,6 @@
<el-config-provider namespace="el" :locale="zhCn"> <el-config-provider namespace="el" :locale="zhCn">
<FlowDesign :process="process" :fields="fields" /> <FlowDesign :process="process" :fields="fields" />
</el-config-provider> </el-config-provider>
<h1>123132</h1>
<el-timeline> <el-timeline>
<!-- <el-timeline-item <!-- <el-timeline-item
timestamp="2018/4/12" timestamp="2018/4/12"

@ -85,20 +85,30 @@
const Rdata = (taged) => { const Rdata = (taged) => {
let data = '' let data = ''
switch (taged) { switch (taged) {
case -1: // case -1:
data = '撤销、召回' // data = ''
break // break
case 0: // case 0:
data = '就绪状态' // data = ''
break // break
// case 1:
// data = ''
// break
// case 2:
// data = ''
// break
// case 3:
// data = ''
// break
case 1: case 1:
data = '正在运行' data = '通过'
break break
case 2: case 2:
data = '驳回' data = '不通过'
break break
case 3: case 3:
data = '审核通过' data = '驳回'
break break
default: default:
data = '-' data = '-'

@ -419,8 +419,9 @@
note: ApiData.note ? ApiData.note : '', note: ApiData.note ? ApiData.note : '',
}) })
if (res.succeeded) { if (res.succeeded) {
finish() BasicModalCancel()
closeModal() closeModal()
notification.success({ message: res.message, duration: 3 })
} }
} }
// function handleStep2Next(step2Values: any) { // function handleStep2Next(step2Values: any) {

@ -150,10 +150,10 @@
return postParam return postParam
}, },
columns, columns,
formConfig: { // formConfig: {
labelWidth: 120, // labelWidth: 120,
schemas: searchFormSchema, // schemas: searchFormSchema,
}, // },
sortFn: (sorter) => { sortFn: (sorter) => {
// console.log(':' + sorter); // console.log(':' + sorter);
sortInfo = sorter sortInfo = sorter

Loading…
Cancel
Save