Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
sgaqgl-vue
Commits
77998bfc
Commit
77998bfc
authored
Feb 13, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
00f15a68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
edit.vue
src/views/daily/duty/edit.vue
+16
-17
No files found.
src/views/daily/duty/edit.vue
View file @
77998bfc
...
@@ -22,8 +22,7 @@
...
@@ -22,8 +22,7 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职内容"
ref=
"content"
prop=
"content"
>
<el-form-item
label=
"履职内容"
ref=
"content"
prop=
"content"
>
<RelSelect
:optionsData=
'optionsData'
style=
"width: 100%;"
:params=
"
{flid:form.flid}" clearable :match="{value:'content',label:'content'}" v-model='form.content' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{flid:form.flid}" :readonly="readonly" style="width: 100%;" src='/aqgl/rcgl/lzbz/query' filterable clearable :match="{value:'content',label:'content'}" v-model='form.content' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-input>
-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -55,23 +54,23 @@
...
@@ -55,23 +54,23 @@
},
},
computed
:{
computed
:{
flid
:
function
(){
//
flid:function(){
return
this
.
form
.
flid
//
return this.form.flid
}
//
}
},
},
watch
:{
watch
:{
flid
(
val
){
//
flid(val){
console
.
log
(
'查询详细'
)
//
console.log('查询详细')
queryFlnr
({
flid
:
val
}).
then
(
res
=>
{
//
queryFlnr({flid:val}).then(res=>{
if
(
res
.
data
&&
res
.
data
.
records
){
//
if(res.data&&res.data.records){
if
(
this
.
type
==
'add'
){
//
if(this.type=='add'){
this
.
form
.
content
=
''
//
this.form.content=''
}
//
}
this
.
optionsData
=
res
.
data
.
records
||
[]
//
this.optionsData=res.data.records||[]
}
//
}
})
//
})
}
//
}
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"dutyEdit"
,
name
:
"dutyEdit"
,
...
...
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