标准清单 高级检索

This commit is contained in:
宋伟佳
2021-06-25 17:57:33 +08:00
parent a2acbe7ae6
commit b843b0d975
60 changed files with 572 additions and 698 deletions
@@ -513,7 +513,6 @@ export default {
month = month.toString().padStart(2, '0')
date = date.toString().padStart(2, '0')
var defaultDate = `${year}-${month}-${date}`
console.log('defaultDate', defaultDate)
// this.$set(this.searchFormField, 'date', defaultDate)
this.userVO.receiveTime = defaultDate
},
@@ -607,7 +606,6 @@ export default {
for (let key in item) {
if (key === 'dicCodeName') {
treeItem.name = item[key]
console.log('dicTypeName', item['dicTypeName'])
} else {
treeItem[key] = item[key]
}
@@ -645,7 +643,6 @@ export default {
// alert(1)
this.standNum.busStandClass = treeNode.name
this.busStandClassCode = this.standNum.busStandClass
console.log('TTTTTTTTTTT', this.busStandClassCode)
$('#deptBtn1').click()
},
treeDblClick2 (treeId, treeNode) {
@@ -733,7 +730,6 @@ export default {
},
// 编辑
selectStandardPro (item, state) {
console.log('item11111111111', item)
this.numTitle = '修改标准编号'
this.showNumModal = true
this.$nextTick(() => {
@@ -766,7 +762,6 @@ export default {
this.getOrgTreeSource()
this.getOrgTreeSource2()
this.numType = 2
console.log(' item.busStandClassShow', item.busStandClassShow)
// 赋值
this.sarBussionessStandEO.busStandClass = item.busStandClass
this.sarBussionessStandEO.employerShow = item.employerShow
@@ -912,7 +907,6 @@ export default {
// let userEOStr = JSON.stringify(this.userVO)
// let userEOStr = JSON.parse(JSON.stringify(this.userVO))
// 验证标准--新增、编辑都先验证
console.log('JSON.stringify(this.userVO.busStandClass)', JSON.stringify(this.userVO.busStandClass))
this.$http.post('lawss/sarStandReceivr/validateStandNumber', {
// userStr: userEOStr
busStandClass: JSON.stringify(this.userVO.busStandClass),
@@ -925,7 +919,6 @@ export default {
res => {
if (res.ok) {
// 更新
console.log('this.numType', this.numType)
if (this.numType !== 1) {
// alert('编辑')
this.drawerLoading = true
@@ -942,7 +935,6 @@ export default {
// 新增
// alert('新增')
// this.userVO.employerShow = this.userVO.employer
console.log('新增', this.userVO)
this.loading = true
this.$http.postData('lawss/sarStandReceivr/create', this.userVO,
{_this: this},
@@ -1254,7 +1254,6 @@ export default {
var index2 = filename.length
var fileSuffix = filename.substring(index1, index2)
// const fileSuffix = file.name.split('.')[1] // 后缀名
console.log(this.defaultFileList)
if (this.defaultFileList.length > 0) {
this.$message.warning('一次仅能拆分一个文件')
return false
@@ -1270,7 +1269,6 @@ export default {
return true
},
beforeSplitResultImport(file) {
console.log(file)
var filename = file.name
var index1 = filename.lastIndexOf('.')
var index2 = filename.length
@@ -1393,7 +1391,6 @@ export default {
break
case '收藏':
let personCollect = {}
console.log(command[0])
personCollect.collectResId = command[0].id // id
personCollect.collectType = 'STAND_SPLIT' // 类型
if (command[0].standId) {
@@ -427,7 +427,6 @@ export default {
this.spinShow = false
item.isSubmit = false
item.collectBtn = !item.collectBtn
console.log(item.collectBtn, '点击收藏后')
item.collectId = res.data.id
this.cancelCollect = !this.cancelCollect
}, e => {