fix: BUG修改

This commit is contained in:
kun 2024-04-30 02:35:10 +08:00
parent a5afd084e7
commit a67c9388d3
17 changed files with 117 additions and 77 deletions

View File

@ -79,12 +79,12 @@ if (process.env.NODE_ENV === 'development') {
console.log('生产环境')
// Vue.prototype.url_config = 'http://10.168.1.105:11111/' // 线上地址
// Vue.prototype.url_config = 'http://10.168.1.104:11111/' // 线上地址
Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢线上地址
// Vue.prototype.url_config = 'http://47.93.215.234:11211/' // 鞍钢测试地址
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢线上地址
Vue.prototype.url_config = 'http://47.93.215.234:11211/' // 鞍钢测试地址
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' // 百色三标段
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' // 百色三标段
Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址
// Vue.prototype.work_url = 'http://47.93.215.234:19097' // 工作流测试地址
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址
Vue.prototype.work_url = 'http://47.93.215.234:19097' // 工作流测试地址
// Vue.prototype.work_url = 'http://192.168.34.139:5173' // 工作流地址
// Vue.prototype.url_config = 'http://182.90.224.147:100/' //演示平台
// Vue.prototype.url_config ='http://124.71.178.44:8012/' // 河南

View File

@ -457,6 +457,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/projectList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/qualityManage/index",
"style": {
@ -464,6 +471,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/qualityManage/list",
"style": {
@ -471,6 +485,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/list",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeManage/list",
"style": {
@ -485,6 +506,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeManage/details",
"style": {
@ -499,6 +527,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/addIssue",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/carWashManage/index",
"style": {
@ -584,14 +619,24 @@
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/projectEnd/qualityManage/reply",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/projectEnd/safeSame/reply",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/workstation/workstationIndex/workstationIndex",
"style": {
"navigationBarTitleText": "",
@ -744,6 +789,14 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/taskList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/wifiQuestion/index",
@ -1004,18 +1057,8 @@
"enablePullDownRefresh": false
}
},
// {
// "path": "pages/alarmPage/index",
// "style": {
// "navigationBarTitleText": "报警提示",
// "enablePullDownRefresh": true,
// "onReachBottomDistance": 100,
// "navigationBarBackgroundColor": "#3A7BFF",
// "navigationBarTextStyle": "white"
// }
// },
{
"path": "pages/alarmPage/indexTwo",
"path": "pages/alarmPage/index",
"style": {
"navigationBarTitleText": "报警提示",
"enablePullDownRefresh": true,
@ -1419,6 +1462,14 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/safeSame/listTow",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/projectEnd/ukashManage/ukashManage",
@ -1519,22 +1570,6 @@
"enablePullDownRefresh": false
}
},
{
"path" : "pages/alarmPage/shutting/shutting",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/alarmPage/disposition/disposition",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
}
],
// "subPackages":[{

View File

@ -638,6 +638,11 @@
url: '../dangerBigProject/index'
})
break
case 'safeManageAG':
uni.navigateTo({
url: '../safeSame/index'
})
break
case 'fileManage':
uni.navigateTo({
url: '../../fileManage/fileManage'

View File

@ -8,7 +8,7 @@
</headers>
<view class="tab flex2">
<view class="tabType" @click="radioChange('type1')" :class="checkedTab=='type1'?'checkedTab':'noCheckTab'">
质量问题</view>
安全问题</view>
<view class="tabType" @click="radioChange('type2')" :class="checkedTab=='type2'?'checkedTab':'noCheckTab'">
排查记录</view>
</view>
@ -18,7 +18,7 @@
<view>
<radio-group @change="radioChange" class="radio-wrap">
<label class="radio">
<radio value="type1" checked="true" />质量问题
<radio value="type1" checked="true" />安全问题
</label>
<label class="radio">
<radio value="type2" />排查记录
@ -550,7 +550,7 @@
basicInfo: {},
selectIndex: null,
userInfo: '',
typeCheck: 'type1', // type1 type2
typeCheck: 'type1', // type1 type2
listData: [], //
subListData: [], //
subsectionIndex: -1, //
@ -825,7 +825,7 @@
//
getIssueList() {
this.sendRequest({
url: 'xmgl/dangerTypeRecord/selectDangerTypeAndItemList',
url: 'xmgl/xzSecurityDangerTypeRecord/selectDangerTypeAndItemList',
method: 'post',
data: {
projectSn: this.projectSn,
@ -1301,9 +1301,9 @@
console.log('data.measurePoints=============', data.measurePoints);
if (this.typeCheck == "type1") {
console.log(data);
//
//
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/add',
url: 'xmgl/xzSecurityQualityInspectionRecord/add',
method: 'post',
data: data,
success: (res) => {
@ -1354,7 +1354,7 @@
}
console.log(data.taskId);
await this.sendRequest({
url: 'xmgl/qualityInspectionRecord/add',
url: 'xmgl/xzSecurityQualityInspectionRecord/add',
method: 'post',
data: data2,
success: (res) => {

View File

@ -210,7 +210,7 @@
issueInfoList: [],
userInfo: {},
entryType: '',
recordType: 1, // 1 2
recordType: 1, // 1 2
id: '',
}
},
@ -243,7 +243,7 @@
getBasicInfo() {
let that = this;
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/selectQualityInspectionRecordById',
url: 'xmgl/xzSecurityQualityInspectionRecord/selectQualityInspectionRecordById',
method: 'post',
data: {
id: that.id
@ -266,7 +266,7 @@
getIssueInfo() {
let that = this;
this.sendRequest({
url: 'xmgl/qualityRectifyRecord/selectRectifyRecordList',
url: 'xmgl/xzSecurityQualityRectifyRecord/selectRectifyRecordList',
method: 'post',
data: {
qualityId: that.id

View File

@ -2,7 +2,7 @@
<view class="qualityManage">
<headers class="fixedheader" :showBack="true">
<view class="headerName">
质量管理
安全管理
</view>
</headers>
<view class="problemOverview">
@ -66,7 +66,7 @@
</view>
<view class="menu" @click="addPrjcet">
<image class="icon" style="width: 30px; height: 30px; margin-right: 7px;" src="@/static/xmzlzj.jpg"></image>
<view>项目质量自检</view>
<view>项目安全自检</view>
</view>
</view>
@ -190,7 +190,7 @@
projectSn: this.projectSn
}
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data,
success: res => {
@ -218,7 +218,7 @@
let userId = JSON.parse(uni.getStorageSync('userInfo')).userId;
//
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/selectQualityStatistics',
url: 'xmgl/xzSecurityQualityInspectionRecord/selectQualityStatistics',
method: 'post',
data: {
projectSn: this.projectSn
@ -271,7 +271,7 @@
})
},
addPrjcet() {
//
//
uni.navigateTo({
url: "./projectList"
})

View File

@ -28,7 +28,7 @@
<view class="item" v-if="listData.length>0" v-for="(item,index) in listData" :key="index"
@click="goDetails(item.id)">
<view class="item_title" v-if="item.recordType == 1 ">
<image src="/static/zlwtIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>质量问题
<image src="/static/zlwtIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>安全问题
</view>
<view class="item_title" v-if="item.recordType == 2 ">
<image src="/static/pcjlIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>排查记录
@ -231,7 +231,7 @@
type: 1,
value: -1
}, {
name: '质量问题',
name: '安全问题',
type: 1,
value: 1
}, {
@ -489,7 +489,7 @@
let that = this;
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {
@ -547,7 +547,7 @@
let that = this;
// uni.showLoading({title: ''})
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {
@ -920,7 +920,7 @@
let that = this;
// uni.showLoading({title: ''})
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {

View File

@ -28,7 +28,7 @@
<view class="item" v-if="listData.length>0" v-for="(item,index) in listData" :key="index"
@click="goDetails(item.id)">
<view class="item_title" v-if="item.recordType == 1 ">
<image src="/static/zlwtIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>质量问题
<image src="/static/zlwtIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>安全问题
</view>
<view class="item_title" v-if="item.recordType == 2 ">
<image src="/static/pcjlIcon.png" style="width: 15px;height: 15px;margin-right: 5px;"></image>排查记录
@ -231,7 +231,7 @@
type: 1,
value: -1
}, {
name: '质量问题',
name: '安全问题',
type: 1,
value: 1
}, {
@ -490,7 +490,7 @@
let that = this;
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {
@ -548,7 +548,7 @@
let that = this;
// uni.showLoading({title: ''})
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {
@ -921,7 +921,7 @@
let that = this;
// uni.showLoading({title: ''})
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/list',
url: 'xmgl/xzSecurityQualityInspectionRecord/list',
method: 'post',
data: that.condition,
success: res => {

View File

@ -99,7 +99,7 @@
}
let _this = this
this.sendRequest({
url: 'xmgl/inspectTaskRecord/list',
url: 'xmgl/xzSecurityInspectTaskRecord/list',
method: 'post',
data: data,
success: (res) => {

View File

@ -308,7 +308,7 @@ import dateTimePiccker from '@/components/dateTimePicker/index.vue'
// }
console.log('data传的参数', data)
this.sendRequest({
url: 'xmgl/qualityRectifyRecord/add',
url: 'xmgl/xzSecurityQualityRectifyRecord/add',
method: 'post',
data: data,
success: res => {

View File

@ -95,7 +95,7 @@
},
methods: {
junpPage(val) {
console.log(val, '质量管理')
console.log(val, '安全管理')
// if (val.count.inspectNum > 0) {
uni.navigateTo({
url: './listTow?itemS=' + val.id
@ -124,7 +124,7 @@
}
let _this = this
this.sendRequest({
url: 'xmgl/inspectTaskItemRecord/list',
url: 'xmgl/xzSecurityInspectTaskItemRecord/list',
method: 'post',
data: data,
success: res => {
@ -149,7 +149,7 @@
}
let _this = this
this.sendRequest({
url: 'xmgl/qualityInspectionRecord/selectInspectTaskCount',
url: 'xmgl/xzSecurityQualityInspectionRecord/selectInspectTaskCount',
method: 'post',
data: data,
success: res => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long