Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
precision-effect
Commits
65c792b3
Commit
65c792b3
authored
Jul 05, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户名-排序
parent
13e58094
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
TPurchaseMapper.xml
...em/src/main/resources/mapper/business/TPurchaseMapper.xml
+1
-0
TTradeProjectMapper.xml
...rc/main/resources/mapper/business/TTradeProjectMapper.xml
+1
-1
index.vue
precision-effect-web/src/views/system/user/index.vue
+12
-12
No files found.
precision-effect-system/src/main/resources/mapper/business/TPurchaseMapper.xml
View file @
65c792b3
...
...
@@ -86,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"approvedTime != null "
>
and t.approved_time = #{approvedTime}
</if>
<if
test=
"purchaseType != null and purchaseType != ''"
>
and purchase_type = #{purchaseType}
</if>
</where>
ORDER BY t.create_time DESC
</select>
<select
id=
"selectTPurchaseById"
parameterType=
"Long"
resultMap=
"TPurchaseResult"
>
...
...
precision-effect-system/src/main/resources/mapper/business/TTradeProjectMapper.xml
View file @
65c792b3
...
...
@@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"queryTradeDeptId != null"
>
and trade_dept_id = #{queryTradeDeptId}
</if>
<if
test=
"transactionDetailName != null"
>
and transaction_detail_name like concat('%', #{transactionDetailName}, '%')
</if>
</where>
order by
update_time,
create_time desc
order by create_time desc
</select>
<select
id=
"selectTTradeProjectById"
parameterType=
"Long"
resultMap=
"TTradeProjectResult"
>
...
...
precision-effect-web/src/views/system/user/index.vue
View file @
65c792b3
...
...
@@ -28,10 +28,10 @@
<!--用户数据-->
<el-col
:span=
"20"
:xs=
"24"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"用户
名称
"
prop=
"userName"
>
<el-form-item
label=
"用户
账号
"
prop=
"userName"
>
<el-input
v-model=
"queryParams.userName"
placeholder=
"请输入用户
名称
"
placeholder=
"请输入用户
账号
"
clearable
size=
"small"
style=
"width: 240px"
...
...
@@ -142,8 +142,8 @@
<el-table
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
<el-table-column
label=
"用户编号"
align=
"center"
key=
"userId"
prop=
"userId"
v-if=
"columns[0].visible"
/>
<el-table-column
label=
"用户
名称
"
align=
"center"
key=
"userName"
prop=
"userName"
v-if=
"columns[1].visible"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户
昵称
"
align=
"center"
key=
"nickName"
prop=
"nickName"
v-if=
"columns[2].visible"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户
账号
"
align=
"center"
key=
"userName"
prop=
"userName"
v-if=
"columns[1].visible"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"用户
名
"
align=
"center"
key=
"nickName"
prop=
"nickName"
v-if=
"columns[2].visible"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"部门"
align=
"center"
key=
"deptName"
prop=
"dept.deptName"
v-if=
"columns[3].visible"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"手机号码"
align=
"center"
key=
"phonenumber"
prop=
"phonenumber"
v-if=
"columns[4].visible"
width=
"120"
/>
<el-table-column
label=
"状态"
align=
"center"
key=
"status"
v-if=
"columns[5].visible"
>
...
...
@@ -209,8 +209,8 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"用户
昵称
"
prop=
"nickName"
>
<el-input
v-model=
"form.nickName"
placeholder=
"请输入用户
昵称
"
/>
<el-form-item
label=
"用户
名
"
prop=
"nickName"
>
<el-input
v-model=
"form.nickName"
placeholder=
"请输入用户
名
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -233,8 +233,8 @@
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
v-if=
"form.userId == undefined"
label=
"用户
名称
"
prop=
"userName"
>
<el-input
v-model=
"form.userName"
placeholder=
"请输入用户
名称
"
/>
<el-form-item
v-if=
"form.userId == undefined"
label=
"用户
账号
"
prop=
"userName"
>
<el-input
v-model=
"form.userName"
placeholder=
"请输入用户
账号
"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -424,8 +424,8 @@ export default {
// 列信息
columns
:
[
{
key
:
0
,
label
:
`用户编号`
,
visible
:
true
},
{
key
:
1
,
label
:
`用户
名称
`
,
visible
:
true
},
{
key
:
2
,
label
:
`用户
昵称
`
,
visible
:
true
},
{
key
:
1
,
label
:
`用户
账号
`
,
visible
:
true
},
{
key
:
2
,
label
:
`用户
名
`
,
visible
:
true
},
{
key
:
3
,
label
:
`部门`
,
visible
:
true
},
{
key
:
4
,
label
:
`手机号码`
,
visible
:
true
},
{
key
:
5
,
label
:
`状态`
,
visible
:
true
},
...
...
@@ -434,10 +434,10 @@ export default {
// 表单校验
rules
:
{
userName
:
[
{
required
:
true
,
message
:
"用户
名称
不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"用户
账号
不能为空"
,
trigger
:
"blur"
}
],
nickName
:
[
{
required
:
true
,
message
:
"用户
昵称
不能为空"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"用户
名
不能为空"
,
trigger
:
"blur"
}
],
password
:
[
{
required
:
true
,
message
:
"用户密码不能为空"
,
trigger
:
"blur"
}
...
...
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