Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
5c92fa44
Commit
5c92fa44
authored
Jun 23, 2022
by
hd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改车辆档案
parent
eaf2a3c5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
24 deletions
+45
-24
src/components/qxda_compontents.vue
+4
-1
src/views/ryda/carDa/carDaAsj.vue
+1
-1
src/views/ryda/carDa/carDadj.vue
+1
-0
src/views/ryda/carDa/car_compontents.vue
+5
-4
src/views/ryda/carda.vue
+34
-18
No files found.
src/components/qxda_compontents.vue
View file @
5c92fa44
...
...
@@ -85,7 +85,7 @@
<span
v-if=
"page == 'jq'"
style=
"font-size: 15px; font-weight: 800"
>
{{
jbcjbxxThear
}}
</span>
<span>
(
{{
tableData
.
length
}}
)
</span>
<span>
(
{{
tableData
?
tableData
.
length
:
0
}}
)
</span>
</div>
<!--表格-->
<el-table
...
...
@@ -454,10 +454,13 @@ export default {
message: response.data.message
});*/
// self.closeLoading();
this
.
tableLoading
=
false
;
console
.
log
(
'this.tableLoading = false;'
,
this
.
tableLoading
)
}
})
.
catch
((
err
)
=>
{
this
.
tableLoading
=
false
;
console
.
log
(
'catch this.tableLoading = false;'
,
this
.
tableLoading
)
});
}
else
{
json
.
page
=
this
.
currentPage1
;
...
...
src/views/ryda/carDa/carDaAsj.vue
View file @
5c92fa44
<
template
>
<div
class=
"Content"
>
<div
class=
"nameContent"
>
<span
class=
"spanOne"
>
时间范围:
</span>
<span
class=
"spanOne"
>
时间范围:
</span>
<span
class=
"span"
@
click=
"sjDjCx(item.id)"
...
...
src/views/ryda/carDa/carDadj.vue
View file @
5c92fa44
...
...
@@ -147,6 +147,7 @@ export default {
label
:
"label"
,
},
// 机动车基本信息
// [ { "ccdjrq": null, "jlrksj": null, "ccrq": null, "cllx": null, "clpp1": null, "clxh": null, "csys": null, "clly": null, "hphm": null, "hpzl": null, "jdcsyr": null, "jdczt": null, "sfzh": null, "xm": null, "sjhm": null, "zzdzxz": null, "dicJdcgcjkfldm": null, "clsbdh": null, "jdcfdjddjxh": null, "dicjdcsyxzdm": null, "jdchpzldm": null, "jdcgcjkfldm": null, "jdccllxdm": null, "jdcsyxzdm": null, "csysdm": null, "clztdm": null } ]
jdcJbxxFormThead
:
[
{
label
:
"机动车所有人"
,
...
...
src/views/ryda/carDa/car_compontents.vue
View file @
5c92fa44
...
...
@@ -84,7 +84,7 @@
<span
v-if=
"page == 'jq'"
style=
"font-size: 15px; font-weight: 800"
>
{{
jbcjbxxThear
}}
</span>
<span>
(
{{
tableData
.
length
}}
)
</span>
<span>
(
{{
tableData
?
tableData
.
length
:
0
}}
)
</span>
</div>
<!--表格-->
<el-table
...
...
@@ -103,14 +103,14 @@
>
<el-table-column
align=
"center"
v-for=
"columnTitle in formThead"
v-for=
"(columnTitle, index) in formThead"
:key=
"index"
:prop=
"columnTitle.prop"
:key=
"columnTitle.prop"
:label=
"columnTitle.label"
:width=
"columnTitle.width"
>
<template
slot-scope=
"scope"
>
<div
class=
"color2"
v-html=
"scope.row[
columnTitle.prop
]"
></div>
<div
class=
"color2"
v-html=
"scope.row[
index
]"
></div>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -401,6 +401,7 @@ export default {
message: response.data.message
});*/
// self.closeLoading();
this
.
tableLoading
=
false
;
}
})
.
catch
((
err
)
=>
{
...
...
src/views/ryda/carda.vue
View file @
5c92fa44
...
...
@@ -363,14 +363,14 @@
>
-->
<span
style=
"padding-right: 10px"
>
出行规律时间:
</span>
<el-date-picker
v-model=
"valueCxgl"
type=
"daterange"
align=
"right"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
end-placeholder=
"结束日期"
v-model=
"valueCxgl"
type=
"daterange"
align=
"right"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
end-placeholder=
"结束日期"
>
</el-date-picker>
</div>
...
...
@@ -1644,6 +1644,8 @@ export default {
message
:
"保存失败"
,
});
}
}).
catch
(()
=>
{
self
.
clxgLoading
=
false
;
});
},
// getClXx() {
...
...
@@ -1680,10 +1682,14 @@ export default {
// });
debugger
this
.
$refs
.
carLsjsr
.
doQuery
(
'yes'
)
self
.
carOnwerUserxx
=
res
.
data
.
result
.
rows
[
0
];
if
(
res
.
data
.
result
.
rows
.
length
)
{
self
.
carOnwerUserxx
=
res
.
data
.
result
.
rows
[
0
];
}
var
img
=
document
.
getElementById
(
"zp"
);
debugger
;
img
.
src
=
res
.
data
.
result
.
rows
[
0
].
edzzplj
;
if
(
res
.
data
.
result
.
rows
.
length
)
{
img
.
src
=
res
.
data
.
result
.
rows
[
0
].
edzzplj
;
}
}
else
{
this
.
$message
({
type
:
"error"
,
...
...
@@ -1733,6 +1739,8 @@ export default {
message
:
"标签保存失败"
,
});
}
}).
catch
(()
=>
{
self
.
blbqLoading
=
false
;
});
},
eatilOnSubmit
()
{
...
...
@@ -1761,6 +1769,8 @@ export default {
message
:
"标签修改失败"
,
});
}
}).
catch
(()
=>
{
self
.
blbqLoading
=
false
;
});
},
// 标签基本信息查询
...
...
@@ -1900,6 +1910,8 @@ export default {
message
:
"保存失败"
,
});
}
}).
catch
(()
=>
{
this
.
lsJsrLoading
=
false
;
});
},
// 历史驾驶人修改保存
...
...
@@ -1930,6 +1942,8 @@ export default {
message
:
"修改失败"
,
});
}
}).
catch
(()
=>
{
this
.
lsJsrLoading
=
false
;
});
},
// 历史驾驶人删除
...
...
@@ -2216,16 +2230,18 @@ export default {
watch
:
{
valueCxgl
:
{
handler
(
val
)
{
console
.
log
(
"年后啊撒打发"
,
val
)
// debugger;
var
aDate
,
oDate1
,
oDate2
,
iDays
;
var
kssj
=
val
[
0
].
substring
(
0
,
10
);
var
jssj
=
val
[
1
].
substring
(
0
,
10
);
aDate
=
kssj
.
split
(
"-"
);
oDate1
=
new
Date
(
aDate
[
1
]
+
","
+
aDate
[
2
]
+
","
+
aDate
[
0
]);
aDate
=
jssj
.
split
(
"-"
);
oDate2
=
new
Date
(
aDate
[
1
]
+
","
+
aDate
[
2
]
+
","
+
aDate
[
0
]);
iDays
=
parseInt
(
Math
.
abs
(
oDate1
-
oDate2
)
/
1000
/
60
/
60
/
24
);
if
(
val
)
{
var
kssj
=
val
[
0
].
substring
(
0
,
10
);
var
jssj
=
val
[
1
].
substring
(
0
,
10
);
aDate
=
kssj
.
split
(
"-"
);
oDate1
=
new
Date
(
aDate
[
1
]
+
","
+
aDate
[
2
]
+
","
+
aDate
[
0
]);
aDate
=
jssj
.
split
(
"-"
);
oDate2
=
new
Date
(
aDate
[
1
]
+
","
+
aDate
[
2
]
+
","
+
aDate
[
0
]);
iDays
=
parseInt
(
Math
.
abs
(
oDate1
-
oDate2
)
/
1000
/
60
/
60
/
24
);
}
// return iDays;
if
(
iDays
<
31
)
{
this
.
valueCxgl
[
0
]
=
val
[
0
];
...
...
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