Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

# Conflicts:
#	ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue
wangqin
王钦 6 months ago
parent
commit
be5b91aa8b
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/CrowdnessIndicatorRankings/index.vue
  2. 49
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/data.js
  3. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/index.vue
  4. 1
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue
  5. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/assets/charts3.js
  6. 15
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/index.vue
  7. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js
  8. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js
  9. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/CrowdnessIndicatorRankings/index.vue

@ -406,6 +406,9 @@ export default {
} }
} }
} }
::v-deep .el-popover {
z-index: 2 !important; /* 请根据你的项目需求设置合适的值 */
}
.weather { .weather {
width: 435px; width: 435px;
span { span {

49
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/data.js

@ -16,6 +16,19 @@ const station = {
}, },
}, },
key: "stakeMark[0]", key: "stakeMark[0]",
rules: [
{
message: "请补全桩号",
callback(value, data) {
if (value || data.stakeMark[1]){
return /^0\d{2}|\d{3}$/.test(value);
} else {
return true
}
},
}
],
}, },
{ {
prefix: { prefix: {
@ -25,6 +38,18 @@ const station = {
}, },
}, },
key: "stakeMark[1]", key: "stakeMark[1]",
rules: [
{
message: "请补全桩号",
callback(value, data) {
if (value || data.stakeMark[0]){
return /^0\d{2}|\d{3}$/.test(value);
} else {
return true
}
},
}
],
}, },
], ],
}, },
@ -214,9 +239,33 @@ export const searchFormList = [
options: [ options: [
{ {
key: "endStakeMark[0]", key: "endStakeMark[0]",
rules: [
{
message: "请补全桩号",
callback(value, data) {
if (value || data.endStakeMark[1]){
return /^0\d{2}|\d{3}$/.test(value);
} else {
return true
}
},
}
],
}, },
{ {
key: "endStakeMark[1]", key: "endStakeMark[1]",
rules: [
{
message: "请补全桩号",
callback(value, data) {
if (value || data.endStakeMark[0]){
return /^0\d{2}|\d{3}$/.test(value);
} else {
return true
}
},
}
],
}, },
], ],
}, },

6
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/index.vue

@ -230,13 +230,13 @@ export default {
warningSource: data?.warningSource || '', warningSource: data?.warningSource || '',
direction: data.direction, direction: data.direction,
startTime: daterange && daterange.length > 0 ? daterange[0] : "", startTime: daterange && daterange.length > 0 ? daterange[0] : "",
endTime: this.activeName != "-1" && daterange && daterange.length > 0 ? daterange[1] : "", // endTime: this.activeName != "-1" && daterange && daterange.length > 0 ? daterange[1] : "",
completeTime: this.activeName == "-1" && daterange && daterange.length > 0 ? daterange[1] : "", completeTime: daterange && daterange.length > 0 ? daterange[1] : "",
startStakeMark: stakeMark, startStakeMark: stakeMark,
endStakeMark: endStakeMark, endStakeMark: endStakeMark,
}; };
console.log(this.searchData) console.log(this.searchData)
// this.getData(); this.getData();
} }
}, },
}; };

1
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue

@ -456,6 +456,7 @@ export default {
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
--keep-ratio: scaleX(1); --keep-ratio: scaleX(1);
pointer-events: auto;
.body-l { .body-l {
width: 70%; width: 70%;

6
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/assets/charts3.js

@ -68,7 +68,11 @@ var options = {
containLabel: true, containLabel: true,
}, },
yAxis: { yAxis: {
type: 'value' type: 'value',
axisLabel: {
fontSize: 10,
color: "#fff",
},
}, },

15
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/nucleusThrough/index.vue

@ -25,13 +25,15 @@
size="mini" size="mini"
class="btnSearch" class="btnSearch"
icon="el-icon-search" icon="el-icon-search"
@click="bindEventTypePublishManageMonth"
>查询</el-button >查询</el-button
> >
<el-button class="btnReset" size="mini" icon="el-icon-refresh-left" <el-button class="btnReset" size="mini" icon="el-icon-refresh-left"
>重置</el-button @click="init"
>重置</el-button
> >
</div> </div>
<div class="charts keep-ratio" id="nucleusThrough"></div> <div class="charts" id="nucleusThrough"></div>
</div> </div>
</div> </div>
</template> </template>
@ -59,6 +61,9 @@ export default {
this.bindEventTypePublishManageMonth(); this.bindEventTypePublishManageMonth();
}, },
bindEventTypePublishManageMonth(){ bindEventTypePublishManageMonth(){
if (!this.dateTime){
return this.$modal.msgWarning("请选择日期");
}
request({ request({
url: `/business/manage/eventTypePublishManageMonth`, url: `/business/manage/eventTypePublishManageMonth`,
method: "post", method: "post",
@ -131,11 +136,11 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
height: 40px; height: 40px;
width: 50%; width: 35%;
font-size: 14px; font-size: 14px;
margin-bottom: 10px; margin-bottom: 10px;
left: 20px; left: 10px;
top: 2px; top: 5px;
z-index: 9; z-index: 9;
div { div {

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js

@ -92,7 +92,7 @@ var options = {
grid: { grid: {
top: "75px", //上边距 top: "75px", //上边距
right: "0", //右边距 right: "0", //右边距
left: "0", //左边距 left: "3px", //左边距
bottom: "20px", //下边距 bottom: "20px", //下边距
containLabel: true, containLabel: true,
}, },

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js

@ -91,7 +91,7 @@ var options = {
grid: { grid: {
top: "80px", //上边距 top: "80px", //上边距
right: "0", //右边距 right: "0", //右边距
left: "0", //左边距 left: "3px", //左边距
bottom: "20px", //下边距 bottom: "20px", //下边距
containLabel: true, containLabel: true,
}, },

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue

@ -20,6 +20,7 @@
:formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" /> :formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" />
</div> </div>
<!-- 内容 --> <!-- 内容 -->
<div class="body"> <div class="body">
<Table :data="tableData"> <Table :data="tableData">
<el-table-column label="序号" type="index" :index="indexMethod" width="100" align="center" <el-table-column label="序号" type="index" :index="indexMethod" width="100" align="center"
@ -115,7 +116,7 @@ export default {
}, },
onDelete(id){ onDelete(id){
const self = this; const self = this;
this.$confirm("是否删除?"+id, "警告", { this.$confirm("是否删除?", "警告", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
@ -202,6 +203,7 @@ export default {
request({ request({
url: `/business/manage/statisticsList?pageNum=${this.searchData.pageNum}&pageSize=${this.searchData.pageSize}`, url: `/business/manage/statisticsList?pageNum=${this.searchData.pageNum}&pageSize=${this.searchData.pageSize}`,
method: "post", method: "post",
params: { pageNum: this.searchData.pageNum, pageSize: this.searchData.pageSize },
data: this.searchData, data: this.searchData,
}).then((result) => { }).then((result) => {
if (result.code != 200) return Message.error(result?.msg); if (result.code != 200) return Message.error(result?.msg);

Loading…
Cancel
Save