@@ -215,13 +194,11 @@ export default {
INVESTMENT_FUNDS: '', // 投入资金
RECTIFICATIONTIME: ''// 整改时间
},
- imgUrl: '',
rectify_files: [],
hideUpload: false, // 整改照片
dialogImageVisible: false, // 放大照片的显示和隐藏
dialogImageUrl: '', // 照片的地址
scheme_files: [], // 整改方案图片
- temporaryFilePath: [],
formRule: {
RECTIFICATIONDEPT: [{ required: true, message: '请选择整改部门', trigger: 'blur' }],
RECTIFICATIONOR: [{ required: true, message: '请选择整改人', trigger: 'blur' }],
@@ -275,53 +252,6 @@ export default {
this.getEditMyInfo()
},
methods: {
- uploadFiles(file) {
- // 调用文件大小校验方法
- if (this.beforeUpload(file.file)) {
- this.formData = new FormData()
- this.formData.append('FFILE', file.file)
- // 请求接口
- upload(
- '/mfolder/upLoadTemporary',
- this.formData
- ).then((data) => {
- if (data.result == 'success') {
- this.$message({
- message: '保存成功',
- type: 'success'
- })
- this.loading = false
- this.temporaryFilePath.push(data.temporaryFilePath)
- console.info('this.temporaryFilePath========' + this.temporaryFilePath)
- } else {
- this.$message({
- message: data.exception,
- type: 'error'
- })
- this.loading = false
- }
- }).catch((e) => {
- this.listLoading = false
- this.loading = false
- })
- }
- },
- // 文件大小校验
- beforeUpload(file) {
- if (file.size > 10 * 1024 * 1024) {
- this.$message('文件过大,请上传小于10MB的文件〜')
- return false
- }
- return true
- },
- // 删除图片
- imageRemove() {
- this.imgUrl = ''
- this.$message({
- message: '删除图片成功',
- type: 'success'
- })
- },
getEditMyInfo: function() {
requestFN(
'/user/goEditMyInfo',
@@ -484,8 +414,7 @@ export default {
},
saveRectify() { // 正常整改
this.loading = true
- // if (this.$refs.zhenggaiupload.uploadFiles.length < 1) {
- if (this.temporaryFilePath.length < 1) {
+ if (this.$refs.zhenggaiupload.uploadFiles.length < 1) {
this.$message({
message: '请上传整改后照片',
type: 'error'
@@ -612,24 +541,16 @@ export default {
text: '加载中......',
background: 'rgba(0,0,0,0.5)'
})
- // this.$refs.zhenggaiupload.submit()
+ this.$refs.zhenggaiupload.submit()
var todata = new FormData()
- for (var i = 0; i < _this.temporaryFilePath.length; i++) {
- if (_this.temporaryFilePath[i]) {
- todata.append('temporaryFilePath', _this.temporaryFilePath[i])
+ for (var i = 0; i < _this.rectify_files.length; i++) {
+ if (_this.rectify_files[i]) {
+ todata.append('FFILE', _this.rectify_files[i])
}
}
- if (!todata.get('temporaryFilePath')) {
+ if (!todata.get('FFILE')) {
return
}
- // for (var i = 0; i < _this.rectify_files.length; i++) {
- // if (_this.rectify_files[i]) {
- // todata.append('FFILE', _this.rectify_files[i])
- // }
- // }
- // if (!todata.get('FFILE')) {f
- // return
- // }
todata.append('FOREIGN_KEY', this.HIDDEN_ID)
todata.append('TYPE', 4)
upload(
@@ -682,7 +603,6 @@ export default {
}
todata.append('FOREIGN_KEY', this.HIDDEN_ID)
todata.append('TYPE', 8)
- todata.append('temporaryFilePath', this.temporaryFilePath)
upload(
'/imgfiles/add',
todata
@@ -764,39 +684,6 @@ export default {
this.scheme_files.push(file)
}
},
- submitUpload() {
- var _this = this
- this.$refs.zhenggaiupload.submit()
- var todata = new FormData()
- for (var i = 0; i < _this.rectify_files.length; i++) {
- if (_this.rectify_files[i]) {
- todata.append('FFILE', _this.rectify_files[i])
- }
- }
- console.log(todata)
- upload(
- '/mfolder/upLoadTemporary',
- todata
- ).then((data) => {
- if (data.result == 'success') {
- this.$message({
- message: '保存成功',
- type: 'success'
- })
- this.loading = false
- this.temporaryFilePath = data.temporaryFilePath
- } else {
- this.$message({
- message: data.exception,
- type: 'error'
- })
- this.loading = false
- }
- }).catch((e) => {
- this.listLoading = false
- this.loading = false
- })
- },
back() {
this.$parent.activeName = 'List'
}
diff --git a/src/views/index/index.vue b/src/views/index/index.vue
index e9711ba..96db313 100644
--- a/src/views/index/index.vue
+++ b/src/views/index/index.vue
@@ -118,9 +118,10 @@ export default {
this.jinduData[1] = nowYear + '-12-31'
this.getJindu()
this.getQingdan()
- this.getWorkNumber()
+ // this.getWorkNumber()
this.getRiskNumber()
- this.getHiddenTypeCount()/*
+ // this.getHiddenTypeCount()
+ /*
this.getNoticeList()
this.getNoticeCorpList()*/
},
diff --git a/src/views/keyprojects/outsourced/components/edit.vue b/src/views/keyprojects/outsourced/components/edit.vue
index 7d1fbc6..f3c2177 100644
--- a/src/views/keyprojects/outsourced/components/edit.vue
+++ b/src/views/keyprojects/outsourced/components/edit.vue
@@ -46,14 +46,26 @@
-
+
+
+
+
+
+
+
+
+
+
+ style="width: 100%;"
+ />
diff --git a/src/views/risk/identificationparts/index.vue b/src/views/risk/identificationparts/index.vue
index f08f9cd..eae29f4 100644
--- a/src/views/risk/identificationparts/index.vue
+++ b/src/views/risk/identificationparts/index.vue
@@ -1,7 +1,8 @@
-
-
+
+
+
diff --git a/src/views/risk/riskpoint/index.vue b/src/views/risk/riskpoint/index.vue
index 6e9132f..6f505f9 100644
--- a/src/views/risk/riskpoint/index.vue
+++ b/src/views/risk/riskpoint/index.vue
@@ -1,7 +1,9 @@
-
+
+
+
diff --git a/src/views/risk/riskunit/index.vue b/src/views/risk/riskunit/index.vue
index dcbfcc2..16606b6 100644
--- a/src/views/risk/riskunit/index.vue
+++ b/src/views/risk/riskunit/index.vue
@@ -1,7 +1,9 @@
-
+
+
+
diff --git a/src/views/safetyenvironmental/inspection/components/list.vue b/src/views/safetyenvironmental/inspection/components/list.vue
index 7d38400..507fb54 100644
--- a/src/views/safetyenvironmental/inspection/components/list.vue
+++ b/src/views/safetyenvironmental/inspection/components/list.vue
@@ -24,6 +24,16 @@
placeholder="请选择检查部门"/>
+
+
+
+
+
+
+
+
+
+
@@ -42,6 +52,8 @@
children-name="nodes" />
+
+
-
-
@@ -75,6 +85,11 @@
+
+
+
+
+
@@ -259,11 +274,14 @@ export default {
INSPECTION_ORIGINATOR_NAME: '', // 检查发起人
INSPECTION_TYPE: '', // 检查类型
INSPECTION_TIME: ['', ''], // 检查时间
+ INSPECTION_USER_NAME: '', // 检查人员
+ INSPECTION_USER_PHONE: '', // 检查人员手机
+ INSPECTION_CASE: '', // 检查情况
INSPECTION_STATUS: '', // 检查状态
INSPECTION_SUBJECT: '' // 检查题目
},
statusList: [
- { ID: '', NAME: '请选择' },
+ // { ID: '', NAME: '请选择' },
{ ID: '0', NAME: '待检查人核实' },
{ ID: '1', NAME: '检查人核实中' },
{ ID: '2', NAME: '待被检查人确认' },
diff --git a/src/views/xgf/insert/index.vue b/src/views/xgf/insert/index.vue
index a3a7ad0..9249e0f 100644
--- a/src/views/xgf/insert/index.vue
+++ b/src/views/xgf/insert/index.vue
@@ -1,5 +1,7 @@
-
+
+
+