Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a5a38153
authored
2023-02-02 10:45:17 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
界址点
1 parent
13dacf08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
5 deletions
src/api/kttGyJzd.js
src/components/business/kttGyJzd.vue
src/api/kttGyJzd.js
0 → 100644
View file @
a5a3815
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
kttGyJzd
{
//界址点
async
getKttGyJzdById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KttGyJzd/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
//修改界址点
async
updateKttGyJzd
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KttGyJzd/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
kttGyJzd
()
\ No newline at end of file
src/components/business/kttGyJzd.vue
View file @
a5a3815
...
...
@@ -58,8 +58,9 @@
顺序号:
<br
/>
<p
class=
"label-detail"
>
(SXH)
</p>
</span>
<el-input-number
:disabled=
"$store.state.business.Edit"
v-model
.
number=
"form.auditInfo[index].SXH"
type=
"number"
v-only-number=
"
{ max: 999999999, min: 0, precision: 0 }" placeholder="顺序号">
</el-input-number>
<el-input-number
:disabled=
"$store.state.business.Edit"
v-model
.
number=
"form.auditInfo[index].SXH"
type=
"number"
v-only-number=
"
{ max: 999999999, min: 0, precision: 0 }"
placeholder="顺序号">
</el-input-number>
<el-input
:disabled=
"$store.state.business.Edit"
v-model
.
number=
"boundaryPoint.ruleForm[index].SXH"
type=
"number"
v-only-number=
"
{ max: 99999999999, min: 0, precision: 0 }" placeholder="顺序号">
</el-input>
</el-form-item>
...
...
@@ -127,7 +128,7 @@
</
template
>
<
script
>
// 界址点信息
import
business
from
'@/api/business
'
import
kttGyJzd
from
'@/api/kttGyJzd
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -161,7 +162,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getKttGyJzdById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
kttGyJzd
.
getKttGyJzdById
(
this
.
bsmSjsb
)
this
.
boundaryPoint
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -171,7 +172,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateKttGyJzd
(
this
.
boundaryPoint
.
ruleForm
)
let
res
=
await
kttGyJzd
.
updateKttGyJzd
(
this
.
boundaryPoint
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment