- 规计科确认结果
+ 确认结果
@@ -864,13 +874,14 @@ import elSelectTree from '@/components/selectTree'
steps_active: 1,
showReason:true,
showTarget:true,
-
+ fixList:[],
form: {
steps: '',
contents:'',
status: '',
- is_hidden:null,
+ is_hidden:null,
+ deal_id:'',
check_leader: '',
check_main: '',
leader_status: '',
@@ -981,7 +992,8 @@ import elSelectTree from '@/components/selectTree'
created() {
this.uploadOther.token = getToken();
this.getLeads()
- this.getUnit()
+ this.getUnit()
+ this.getFixList()
this.loadDeptOptions()
this.loadUser()
},
@@ -1201,6 +1213,10 @@ import elSelectTree from '@/components/selectTree'
this.showPicUrl = file.url;
this.showPic = true;
},
+ async getFixList() {
+ const res = await getparameteritem('fix_options')
+ this.fixList = res.detail
+ },
async getUnit() {
const res = await getparameteritem('unitTypeList')
for(var k of res.detail){
@@ -1272,7 +1288,8 @@ import elSelectTree from '@/components/selectTree'
// 审核
status: res?.status,
- accept_status: '',
+ accept_status: '',
+ deal_id:res?.deal_id,
check_leader: res.check_leader == 1 ? 1 : 0,
check_main: res.check_main == 1 ? 1 : 0,
is_hidden:res?.is_hidden,
diff --git a/src/views/task/list/outline.vue b/src/views/task/list/outline.vue
index 8613a9a..9264f4e 100644
--- a/src/views/task/list/outline.vue
+++ b/src/views/task/list/outline.vue
@@ -56,7 +56,8 @@
} from '@/utils/contactTable.js'
import addOutline from '../list/components/addOutline.vue'
import addPlan from '../list/components/addPlan.vue'
- import addUnit from '../list/components/addUnit.vue'
+ import addUnit from '../list/components/addUnit.vue'
+ import state from '@/store/modules/user.js'
export default {
components: {
addOutline,
@@ -137,7 +138,8 @@
}
},
created() {
- // this.getMenuList()
+ // this.getMenuList()
+ this.stateObj = state.state
this.getList()
},
methods: {
@@ -154,7 +156,7 @@
op: 'eq',
value: this.select.year
}, {
- key: 'name',
+ key: 'content',
op: 'like',
value: this.select.keyword
}],
@@ -192,11 +194,13 @@
this.$refs.addUnit.setType(type)
this.$refs.addUnit.setNameContent(row.content,row.flow)
this.$refs.addUnit.setMenuLevel(row.menu,row.level,row.menu_id,row.level_id)
+ this.$refs.addUnit.setMainId(this.stateObj.department_id,this.stateObj.login_id)
this.$refs.addUnit.isShow = true
},
editPlan(row,type){
this.$refs.addPlan.type="add"
this.$refs.addPlan.setMenuLevel(row)
+ this.$refs.addPlan.setMainId(this.stateObj.department_id,this.stateObj.login_id)
this.$refs.addPlan.isShow = true
},
toUrlPlan(){
diff --git a/src/views/task/list/patrol.vue b/src/views/task/list/patrol.vue
index 3bc98ce..fa9e95b 100644
--- a/src/views/task/list/patrol.vue
+++ b/src/views/task/list/patrol.vue
@@ -229,8 +229,7 @@
table:[{
label:"问题描述",
prop:'ask_introduce',
- align:'left',
- width:180
+ align:'left'
},{
label:"问题类型",
prop:'ask.value',
@@ -239,7 +238,8 @@
label:"问题来源",
prop:'missionName',
// width:180,
- align:'left'
+ align:'left',
+ width:240,
},{
label:"发现日期",
prop:'date',
@@ -273,109 +273,6 @@
)
}
- },{
- label:"状态",
- prop:'status',
- width:80,
- customFn:(row)=>{
- return(
- {
- this.statusLabel.map(item=>{
- if(item.id==row.status){
- return({item.value})
- }
- })
- }
-
)
- }
- },{
- label:"检查站点/地点",
- prop:'site.name',
- align:'left',
- width:120,
- formatter:(cell,data,value,index)=>{
- if(cell.site){
- return cell.site.name
- }else{
- return cell.address
- }
- }
- },{
- label:"问题图片",
- prop:'_files',
- width:80,
- customFn: (row) => {
- let arr = []
- return ( {
- row.files.length>0?
- row.files.map(item=>{
- arr.push(item.url)
- }):''
- }
- {
- arr.length>0?
- :''
- }
-
-
)
- }
- },{
- label:"整改图片",
- prop:'fix_files',
- width:80,
- customFn: (row) => {
- let arr = []
- return ({
- row.fix_files.length>0?
- row.fix_files.map(item=>{
- arr.push(item.url)
- }):''
- }
- {
- arr.length>0?
- :''
- }
-
)
- }
- },{
- label:"整改完成日期",
- prop:'fix_end_date',
- width:110,
},{
label:"上报人",
prop:'up_admin.name',
@@ -398,7 +295,7 @@
label:"任务名称",
prop:'mission_name',
},{
- label:"检查日期",
+ label:"发现时间",
prop:'date',
},{
label:"检查站点/地点",
@@ -636,7 +533,7 @@
page_size:999,
unit_type:k.id,
year:this.year,
- pid:0
+ pid:''
})
this.missionList = res1.data
@@ -728,6 +625,7 @@
// this.$refs['addPatrol'].siteListArr=this.siteListArr
// this.$refs['addPatrol'].askList = this.askList
// this.$refs['addPatrol'].siteList = this.siteList
+ this.$refs['addPatrol'].mission_id = 0
this.$refs['addPatrol'].department_id = this.department_id
this.$refs['addPatrol'].login_id=this.login_id
this.$refs['addPatrol'].isShow=true
diff --git a/src/views/task/list/unit.vue b/src/views/task/list/unit.vue
index 5604c06..6e4cfc2 100644
--- a/src/views/task/list/unit.vue
+++ b/src/views/task/list/unit.vue
@@ -80,7 +80,7 @@
-
+
@@ -91,7 +91,7 @@
-
+
@@ -577,13 +577,18 @@
this.select.type = 4
this.type_name = '专项专题任务'
this.path_type = path[1]
-
- this.table.unshift({
+ this.table.splice(1,0,{
label: "任务类别",
prop: 'mission_type',
width: 120,
- align: 'left'
- })
+ align: 'center'
+ })
+ // this.table.unshift({
+ // label: "任务类别",
+ // prop: 'mission_type',
+ // width: 120,
+ // align: 'left'
+ // })
}
if (path[1] == 1) {
this.showSelectMonth = false
@@ -707,6 +712,7 @@
}
if(formtype){
this.$refs.addUnit.setType(4)
+ this.$refs.addUnit.setMainId(this.stateObj.department_id,this.stateObj.login_id)
}
this.$refs.addUnit.type = type
@@ -775,8 +781,8 @@
}
}
})
- let my_arr = [] // 接收我的任务中我已完成的
- let my_no_arr = [] // 接收我的任务中未完成的
+ let my_arr = [] // 接收我的任务中我已完成的
+ let my_no_arr = [] // 接收我的任务中未完成的
if(this.path_type == 5){
const newArr = res.data.filter((_, index) => !spliceIndex.includes(index));
newArr.map(item=>{
diff --git a/vue.config.js b/vue.config.js
index 8b49cd5..c1b0b04 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
- outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin_test',
+ outputDir: '/Users/mac/Documents/朗业/2024/h-河道处项目/a-安全生产/safety-manage-service/public/admin',
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,