Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
713a778a
Commit
713a778a
authored
Dec 30, 2025
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(gxgl): 添加编码字段
parent
b5c09c01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
38 deletions
+62
-38
xjrsoft-vue3/src/api/jcsj/gxgl/model/GxglModel.ts
+4
-6
xjrsoft-vue3/src/views/jcsj/gxgl/components/config.ts
+42
-32
xjrsoft-vue3/src/views/jcsj/gxgl/components/workflowPermission.ts
+16
-0
No files found.
xjrsoft-vue3/src/api/jcsj/gxgl/model/GxglModel.ts
View file @
713a778a
...
...
@@ -4,13 +4,13 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
* @description: RokeProcess分页参数 模型
*/
export
interface
RokeProcessPageParams
extends
BasicPageParams
{
code
:
string
;
name
:
string
;
categoryId
:
string
;
collectionSchemeId
:
string
;
note
:
string
;
}
/**
...
...
@@ -19,15 +19,13 @@ export interface RokeProcessPageParams extends BasicPageParams {
export
interface
RokeProcessPageModel
{
id
:
string
;
code
:
string
;
name
:
string
;
categoryId
:
string
;
collectionSchemeId
:
string
;
note
:
string
;
ratedWorkingHours
:
string
;
}
/**
...
...
xjrsoft-vue3/src/views/jcsj/gxgl/components/config.ts
View file @
713a778a
...
...
@@ -4,6 +4,12 @@ import { uploadApi } from '/@/api/sys/upload';
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'code'
,
label
:
'编码'
,
defaultValue
:
undefined
,
component
:
'Input'
,
},
{
field
:
'name'
,
label
:
'名称'
,
defaultValue
:
undefined
,
...
...
@@ -50,33 +56,14 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer
:
()
=>
document
.
body
,
},
},
{
field
:
'note'
,
label
:
'备注'
,
defaultValue
:
undefined
,
component
:
'Input'
,
},
];
export
const
columns
:
BasicColumn
[]
=
[
{
resizable
:
true
,
dataIndex
:
'name'
,
title
:
'名称'
,
componentType
:
'input'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
''
,
},
{
resizable
:
true
,
dataIndex
:
'categoryId'
,
title
:
'工序类别'
,
componentType
:
'select'
,
dataIndex
:
'code'
,
title
:
'编码'
,
componentType
:
'auto-code'
,
fixed
:
false
,
sorter
:
true
,
...
...
@@ -87,22 +74,22 @@ export const columns: BasicColumn[] = [
{
resizable
:
true
,
dataIndex
:
'
collectionSchemeId
'
,
title
:
'
采集方案
'
,
componentType
:
'
associate-selec
t'
,
dataIndex
:
'
name
'
,
title
:
'
名称
'
,
componentType
:
'
inpu
t'
,
fixed
:
false
,
sorter
:
true
,
styleConfig
:
undefined
,
listStyle
:
undefined
,
listStyle
:
''
,
},
{
resizable
:
true
,
dataIndex
:
'
note
'
,
title
:
'
备注
'
,
componentType
:
'
textarea
'
,
dataIndex
:
'
categoryId
'
,
title
:
'
工序类别
'
,
componentType
:
'
select
'
,
fixed
:
false
,
sorter
:
true
,
...
...
@@ -113,9 +100,9 @@ export const columns: BasicColumn[] = [
{
resizable
:
true
,
dataIndex
:
'
ratedWorkingHours
'
,
title
:
'
额定工时
'
,
componentType
:
'
number
'
,
dataIndex
:
'
collectionSchemeId
'
,
title
:
'
采集方案
'
,
componentType
:
'
associate-select
'
,
fixed
:
false
,
sorter
:
true
,
...
...
@@ -207,6 +194,29 @@ export const formProps: FormProps = {
span
:
8
,
list
:
[
{
key
:
'e0f5ab09b1e541d3bff26b82ad0ccf53'
,
field
:
'code'
,
label
:
'编码'
,
type
:
'auto-code'
,
component
:
'AutoCodeRule'
,
colProps
:
{
span
:
24
},
componentProps
:
{
width
:
'100%'
,
span
:
7
,
placeholder
:
'请输入编码组件组件'
,
prefix
:
''
,
suffix
:
''
,
addonBefore
:
''
,
addonAfter
:
''
,
showLabel
:
true
,
autoCodeRule
:
'GX'
,
required
:
false
,
isShow
:
false
,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
style
:
{
width
:
'100%'
},
},
},
{
key
:
'60af544637c442bcb20cdbf2cd71a2c2'
,
field
:
'name'
,
label
:
'名称'
,
...
...
xjrsoft-vue3/src/views/jcsj/gxgl/components/workflowPermission.ts
View file @
713a778a
export
const
permissionList
=
[
{
required
:
false
,
view
:
true
,
edit
:
false
,
disabled
:
true
,
isSaveTable
:
false
,
tableName
:
''
,
fieldName
:
'编码'
,
fieldId
:
'code'
,
isSubTable
:
false
,
showChildren
:
true
,
type
:
'auto-code'
,
key
:
'e0f5ab09b1e541d3bff26b82ad0ccf53'
,
children
:
[],
options
:
{},
},
{
required
:
true
,
view
:
true
,
edit
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment