Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
23dfbb54
Commit
23dfbb54
authored
Jan 23, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
dd965c2c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
70 additions
and
47 deletions
+70
-47
bootstrap.js
src/bootstrap.js
+1
-1
element-variables.scss
src/styles/element-variables.scss
+2
-3
callDrawer.vue
src/views/property/audit-manage/components/callDrawer.vue
+36
-30
index.vue
src/views/property/audit-manage/index.vue
+6
-1
returnModal.vue
src/views/property/case-detail/components/returnModal.vue
+11
-9
splitDrawer.vue
src/views/property/case-detail/components/splitDrawer.vue
+6
-1
ManageOrgFormModal.vue
src/views/system/ManageOrg/components/ManageOrgFormModal.vue
+7
-1
index.vue
src/views/system/ManageOrg/index.vue
+1
-1
No files found.
src/bootstrap.js
View file @
23dfbb54
...
...
@@ -8,7 +8,7 @@ import { setupDirectives } from '@/plugins/directives';
import
{
setupVxeTabele
}
from
'./plugins/vxe-table'
;
import
ProTable
from
'@/components/ProTable/index.vue'
;
import
{
download
}
from
'@/utils/http/index'
;
import
'./styles/element-variables.scss'
import
'./styles/element-variables.scss'
;
export
async
function
bootstrapInstall
()
{
const
app
=
createApp
(
App
);
...
...
src/styles/element-variables.scss
View file @
23dfbb54
// element-variables.scss
@import
'element-plus/theme-chalk/src/index.scss'
;
@import
"element-plus/theme-chalk/src/index.scss"
;
$--font-size
:
13px
;
\ No newline at end of file
$--font-size
:
13px
;
src/views/property/audit-manage/components/callDrawer.vue
View file @
23dfbb54
...
...
@@ -155,8 +155,12 @@
<el-form
inline
:model=
"form"
:rules=
"rules"
label-width=
"110px"
label-position=
"left"
>
<el-form-item
class=
"w-full"
label=
"通话录音:"
prop=
"code"
>
<el-icon>
<Download
v-for=
"(item, index) in form.voices"
:key=
"index"
@
click=
"download(item)"
/>
</el-icon>
<Download
v-for=
"(item, index) in form.voices"
:key=
"index"
@
click=
"download(item)"
/>
</el-icon>
<el-upload
class=
"avatar-uploader"
:action=
"url"
...
...
@@ -165,7 +169,9 @@
:disabled=
"props.mode !== 'handle'"
:auto-upload=
"true"
>
<el-button
type=
"primary"
plain
:icon=
"Upload"
:disabled=
"props.mode !== 'handle'"
>
上传录音文件
</el-button>
<el-button
type=
"primary"
plain
:icon=
"Upload"
:disabled=
"props.mode !== 'handle'"
>
上传录音文件
</el-button
>
</el-upload>
<!-- 进度条 -->
<!-- <el-progress v-if="progressFlag" :percentage="loadProgress" /> -->
...
...
@@ -247,7 +253,7 @@
import
{
computed
,
inject
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
ElInputNumber
,
ElMessage
}
from
'element-plus'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
import
{
auditAudit
}
from
'@/api/audit'
;
...
...
@@ -384,15 +390,15 @@
}
};
const
handleFileSuccess
=
(
response
,
file
,
fileList
)
=>
{
if
(
file
.
uid
)
{
if
(
file
.
uid
)
{
const
item
=
form
.
voices
.
find
((
v
)
=>
v
.
uid
===
file
.
uid
);
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
;
}
};
const
handleFileSuccess1
=
(
response
,
file
,
fileList
)
=>
{
if
(
file
.
uid
)
{
if
(
file
.
uid
)
{
const
item
=
form
.
images
.
find
((
v
)
=>
v
.
uid
===
file
.
uid
);
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
;
}
};
const
handleRemove1
=
(
uploadFile
,
uploadFiles
)
=>
{
...
...
@@ -401,20 +407,20 @@
};
const
handleFileSuccess2
=
(
response
,
file
,
fileList
)
=>
{
// console.log(response, file);
if
(
file
.
uid
)
{
if
(
file
.
uid
)
{
const
item
=
form
.
notes
.
find
((
v
)
=>
v
.
uid
===
file
.
uid
);
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
}
;
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
;
}
};
const
handleRemove2
=
(
uploadFile
,
uploadFiles
)
=>
{
const
index
=
form
.
notes
.
findIndex
((
v
)
=>
v
.
name
===
uploadFile
.
name
);
form
.
notes
.
splice
(
index
,
1
);
};
const
handleFileSuccess3
=
(
response
,
file
,
fileList
)
=>
{
if
(
file
.
uid
)
{
if
(
file
.
uid
)
{
const
item
=
form
.
others
.
find
((
v
)
=>
v
.
uid
===
file
.
uid
);
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
}
;
item
.
url
=
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
response
.
message
;
}
};
const
download
=
(
item
)
=>
{
const
name
=
item
.
slice
(
item
.
lastIndexOf
(
'/'
)
+
1
,
item
.
length
);
...
...
@@ -496,22 +502,22 @@
console
.
log
(
'formform'
,
form
);
};
const
submitForm
=
(
type
)
=>
{
let
voices
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
voices
.
map
(
v
=>
v
.
url
)))
let
images
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
images
.
map
(
v
=>
v
.
url
)))
let
notes
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
notes
.
map
(
v
=>
v
.
url
)))
let
others
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
others
.
map
(
v
=>
v
.
url
)))
voices
=
voices
.
map
(
v
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
})
images
=
images
.
map
(
v
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
})
notes
=
notes
.
map
(
v
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
})
others
=
others
.
map
(
v
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
})
let
voices
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
voices
.
map
(
(
v
)
=>
v
.
url
)));
let
images
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
images
.
map
(
(
v
)
=>
v
.
url
)));
let
notes
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
notes
.
map
(
(
v
)
=>
v
.
url
)));
let
others
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
others
.
map
(
(
v
)
=>
v
.
url
)));
voices
=
voices
.
map
(
(
v
)
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
;
})
;
images
=
images
.
map
(
(
v
)
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
;
})
;
notes
=
notes
.
map
(
(
v
)
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
;
})
;
others
=
others
.
map
(
(
v
)
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
)
;
})
;
saveTrackRecord
({
loans
:
tabledata
.
value
,
id
:
currentInfo
.
value
.
id
,
...
...
src/views/property/audit-manage/index.vue
View file @
23dfbb54
...
...
@@ -330,7 +330,12 @@
field
:
'code'
,
title
:
'操作'
,
width
:
80
,
visible
:
activeName
.
value
===
'audit'
||
activeName
.
value
===
'complete'
||
activeName
.
value
===
'rejected'
?
true
:
false
,
visible
:
activeName
.
value
===
'audit'
||
activeName
.
value
===
'complete'
||
activeName
.
value
===
'rejected'
?
true
:
false
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
if
(
activeName
.
value
===
'audit'
||
activeName
.
value
===
'rejected'
)
{
...
...
src/views/property/case-detail/components/returnModal.vue
View file @
23dfbb54
...
...
@@ -240,9 +240,9 @@
};
const
openModal
=
(
info
,
detail
,
type
)
=>
{
showModal
.
value
=
true
;
form
.
realRepayAmount
=
''
form
.
files
=
[]
form
.
realRepayTime
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
form
.
realRepayAmount
=
''
;
form
.
files
=
[]
;
form
.
realRepayTime
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
;
currentInfo
.
value
=
info
;
console
.
log
(
'currentInfo'
,
currentInfo
.
value
);
currentDetail
.
value
=
detail
;
...
...
@@ -282,7 +282,7 @@
flowStatus
:
'pending'
,
repayStatus
:
'over'
,
status
:
'enable'
,
}
}
;
if
(
currentType
.
value
===
'分期还款'
)
{
param
[
'stages'
]
=
{
borrower
:
currentInfo
.
value
.
borrower
,
...
...
@@ -293,11 +293,13 @@
firstApplyDate
:
currentDetail
.
value
.
firstApplyDate
,
effectiveTime
:
currentDetail
.
value
.
effectiveTime
,
loans
:
currentDetail
.
value
.
loans
,
flowStatus
:
'pending'
}
const
item
=
currentDetail
.
value
.
byStagesRecords
.
find
(
v
=>
currentInfo
.
value
.
period
===
v
.
period
)
item
[
'repayStatus'
]
=
'over'
param
[
'stages'
][
'byStagesRecords'
]
=
currentDetail
.
value
.
byStagesRecords
flowStatus
:
'pending'
,
};
const
item
=
currentDetail
.
value
.
byStagesRecords
.
find
(
(
v
)
=>
currentInfo
.
value
.
period
===
v
.
period
);
item
[
'repayStatus'
]
=
'over'
;
param
[
'stages'
][
'byStagesRecords'
]
=
currentDetail
.
value
.
byStagesRecords
;
}
saveRepayRecord
(
param
).
then
((
res
)
=>
{
console
.
log
(
'res'
,
res
);
...
...
src/views/property/case-detail/components/splitDrawer.vue
View file @
23dfbb54
...
...
@@ -101,7 +101,12 @@
</el-form>
</div>
<div
class=
"w-3/5"
>
<ProTable
:config=
"splitconfig"
:data=
"splitdata"
:showPagination=
"false"
:showToolBar=
"false"
>
<ProTable
:config=
"splitconfig"
:data=
"splitdata"
:showPagination=
"false"
:showToolBar=
"false"
>
<
template
#
table_top
>
<div
class=
"flex justify-end"
>
<el-button
type=
"primary"
@
click=
"editOrConfirm"
class=
"mr-1 my-2"
>
{{
...
...
src/views/system/ManageOrg/components/ManageOrgFormModal.vue
View file @
23dfbb54
...
...
@@ -17,7 +17,13 @@
</el-col>
<el-col
:span=
"24"
>
<el-form-item
class=
"w-full"
label=
"所属区域"
prop=
"orgName"
>
<el-cascader
v-model=
"form.arealist"
class=
"w-full"
:checkStrictly=
"true"
:options=
"citydata"
clearable
/>
<el-cascader
v-model=
"form.arealist"
class=
"w-full"
:checkStrictly=
"true"
:options=
"citydata"
clearable
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
...
...
src/views/system/ManageOrg/index.vue
View file @
23dfbb54
...
...
@@ -41,7 +41,7 @@
enum
:
citydata
,
title
:
'所属区域'
,
fieldNames
:
{
label
:
'label'
,
value
:
'value'
},
search
:
{
el
:
'cascader'
,
props
:
{
clearable
:
true
,
checkStrictly
:
true
}
},
search
:
{
el
:
'cascader'
,
props
:
{
clearable
:
true
,
checkStrictly
:
true
}
},
slots
:
{
default
:
({
row
})
=>
{
return
(
...
...
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