Browse Source

fix: 修复细节问题

sy-water-data-board-ui
hejunjie 1 month ago
parent
commit
bd9acbf2bb
  1. 3
      src/views/dike/runManage/patrolMaintenance/componentsDetails/acceptanceDetails.vue
  2. 3
      src/views/dike/runManage/patrolMaintenance/componentsDetails/defectDetails.vue
  3. 3
      src/views/dike/runManage/patrolMaintenance/componentsDetails/inspectionRecordDetails.vue
  4. 3
      src/views/dike/runManage/patrolMaintenance/componentsDetails/maintenanceDetails.vue
  5. 1
      src/views/dike/runManage/patrolMaintenance/defectList/index.vue
  6. 2
      src/views/dike/runManage/pestAnimalControl2/componentsDetails/acceptanceDetails.vue
  7. 2
      src/views/dike/runManage/pestAnimalControl2/componentsDetails/defectDetails.vue
  8. 7
      src/views/dike/runManage/pestAnimalControl2/componentsDetails/inspectionRecordDetails.vue
  9. 3
      src/views/dike/runManage/pestAnimalControl2/componentsDetails/maintenanceDetails.vue
  10. 1
      src/views/dike/runManage/pestAnimalControl2/defectList/index.vue
  11. 3
      src/views/sluice/runManage/patrolMaintenance/componentsDetails/acceptanceDetails.vue
  12. 3
      src/views/sluice/runManage/patrolMaintenance/componentsDetails/defectDetails.vue
  13. 3
      src/views/sluice/runManage/patrolMaintenance/componentsDetails/inspectionRecordDetails.vue
  14. 3
      src/views/sluice/runManage/patrolMaintenance/componentsDetails/maintenanceDetails.vue
  15. 1
      src/views/sluice/runManage/patrolMaintenance/defectList/index.vue

3
src/views/dike/runManage/patrolMaintenance/componentsDetails/acceptanceDetails.vue

@ -294,7 +294,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'df_xs_c_classfy': 'df_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

3
src/views/dike/runManage/patrolMaintenance/componentsDetails/defectDetails.vue

@ -115,7 +115,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'df_xs_c_classfy': 'df_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

3
src/views/dike/runManage/patrolMaintenance/componentsDetails/inspectionRecordDetails.vue

@ -372,7 +372,8 @@ export default {
this.form.dikeType = checking.data.dikeType;
this.form.type = checking.data.type;
const items = checking.data.items;
getDictMapData("df_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'df_xs_c_classfy': 'df_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
items.forEach((item) => {
let parts = "";
item.parts.forEach((part) => {

3
src/views/dike/runManage/patrolMaintenance/componentsDetails/maintenanceDetails.vue

@ -303,7 +303,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'df_xs_c_classfy': 'df_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

1
src/views/dike/runManage/patrolMaintenance/defectList/index.vue

@ -202,6 +202,7 @@
<el-button
type="text"
size="small"
:disabled="scope.row.status !== '4'"
v-hasPermi="['df:run:patrol:defect:list:item:getInvoices']"
@click="handleReceiveDetails(scope.row)"
>领单</el-button

2
src/views/dike/runManage/pestAnimalControl2/componentsDetails/acceptanceDetails.vue

@ -267,7 +267,7 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
getDictMapData("df_an_c_classfy").then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

2
src/views/dike/runManage/pestAnimalControl2/componentsDetails/defectDetails.vue

@ -115,7 +115,7 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
getDictMapData("df_an_c_classfy").then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

7
src/views/dike/runManage/pestAnimalControl2/componentsDetails/inspectionRecordDetails.vue

@ -289,10 +289,9 @@ import { calcTableHeight } from "@/mixins/calcTableHeight";
import SyMixMap from "@/views/components/SyMixMap.vue";
import {
getRecordDetails,
getRecordTraceList,
getV2PatrolChecking,
getRecordTraceList
} from "@/api/dike";
import { gettV2Record, postV2Record } from "@/api/dike/pestAnimalControl2";
import { gettV2Record, postV2Record, getV2PatrolChecking } from "@/api/dike/pestAnimalControl2";
import { uploadFileData } from "@/api/system/upload";
import { getDictMapData } from "@/api/system/dict/data";
@ -372,7 +371,7 @@ export default {
this.form.projectType = checking.data.projectType;
this.form.type = checking.data.type;
const items = checking.data.items;
getDictMapData("df_xs_c_classfy").then((res) => {
getDictMapData("df_an_c_classfy").then((res) => {
items.forEach((item) => {
let parts = "";
item.parts.forEach((part) => {

3
src/views/dike/runManage/pestAnimalControl2/componentsDetails/maintenanceDetails.vue

@ -195,7 +195,6 @@ export default {
rules: {
userName: [{required: true}],
projectName: [{required: true}],
projectName: [{required: true}],
inspectionCategory: [{required: true}],
time: [{required: true, message: "请选择巡查时间", trigger: "change"}],
describe: [{required: true, message: "输入巡查详情", trigger: "change"}],
@ -242,7 +241,7 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("df_xs_c_classfy").then((res) => {
getDictMapData("df_an_c_classfy").then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

1
src/views/dike/runManage/pestAnimalControl2/defectList/index.vue

@ -204,6 +204,7 @@
<el-button
type="text"
size="small"
:disabled="scope.row.status !== '4'"
v-hasPermi="['df:run:pestanimal2:defect:list:item:getInvoices']"
@click="handleReceiveDetails(scope.row)"
>领单</el-button

3
src/views/sluice/runManage/patrolMaintenance/componentsDetails/acceptanceDetails.vue

@ -294,7 +294,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("sz_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'sz_xs_c_classfy': 'sz_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

3
src/views/sluice/runManage/patrolMaintenance/componentsDetails/defectDetails.vue

@ -115,7 +115,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("sz_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'sz_xs_c_classfy': 'sz_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

3
src/views/sluice/runManage/patrolMaintenance/componentsDetails/inspectionRecordDetails.vue

@ -372,7 +372,8 @@ export default {
this.form.wagaType = checking.data.wagaType;
this.form.type = checking.data.type;
const items = checking.data.items;
getDictMapData("sz_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'sz_xs_c_classfy': 'sz_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
items.forEach((item) => {
let parts = "";
item.parts.forEach((part) => {

3
src/views/sluice/runManage/patrolMaintenance/componentsDetails/maintenanceDetails.vue

@ -303,7 +303,8 @@ export default {
this.form.content = item.content
this.form.position = item.position
this.form.parts = item.parts
getDictMapData("sz_xs_c_classfy").then((res) => {
let DictData = checking.data.category === '1' ? 'sz_xs_c_classfy': 'sz_xs_jd_classfy'
getDictMapData(DictData).then((res) => {
let parts = ''
item.parts.forEach((part) => {
if (parts) {

1
src/views/sluice/runManage/patrolMaintenance/defectList/index.vue

@ -202,6 +202,7 @@
<el-button
type="text"
size="small"
:disabled="scope.row.status !== '4'"
v-hasPermi="['sz:run:patrol:defect:list:item:getInvoices']"
@click="handleReceiveDetails(scope.row)"
>领单</el-button

Loading…
Cancel
Save