标准清单 高级检索
This commit is contained in:
@@ -117,7 +117,6 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.resolveFormFieldListRules()
|
||||
console.log(this.$dateFormat(1602518400000, 'yyyy-MM-dd hh:mm:ss'))
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
@@ -155,7 +154,6 @@ export default {
|
||||
},
|
||||
jiaoyan () {
|
||||
this.$refs['sarStandardsInfoForm'].validate((valid) => {
|
||||
console.log(valid)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@ export default {
|
||||
handleChange (event) {
|
||||
// const value = event.target.value
|
||||
const value = event
|
||||
console.log(value)
|
||||
this.$emit('input', value)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,7 +204,6 @@ export default {
|
||||
handleChange (event) {
|
||||
// const value = event.target.value
|
||||
const value = event
|
||||
console.log(value)
|
||||
this.$emit('input', value)
|
||||
},
|
||||
selectLaws () {
|
||||
@@ -303,7 +302,6 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
console.log('看看看看看看看看item', item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherBussStandardDetails',
|
||||
params: {
|
||||
|
||||
@@ -207,7 +207,6 @@ export default {
|
||||
handleChange (event) {
|
||||
// const value = event.target.value
|
||||
const value = event
|
||||
console.log(value)
|
||||
this.$emit('input', value)
|
||||
if (value.length==1000){
|
||||
return this.$message({
|
||||
|
||||
@@ -211,7 +211,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
dataSourceChange (val) {
|
||||
console.log(val)
|
||||
},
|
||||
handleChange (event) {
|
||||
// const value = event.target.value
|
||||
|
||||
@@ -93,7 +93,6 @@ export default {
|
||||
// 匹配项来源
|
||||
if (this.searchKey === '') {
|
||||
this.filterOptions = this.options
|
||||
console.log(this.options)
|
||||
} else {
|
||||
let result = []
|
||||
// 用原始数据进行匹配
|
||||
|
||||
@@ -89,7 +89,6 @@ export default {
|
||||
this.treeCheckNode = treeCheckNode
|
||||
},
|
||||
handleTreeDblClick (event, treeId, treeNode) {
|
||||
console.log('event, treeId, treeNode', event, treeId, treeNode)
|
||||
this.$emit('input', treeNode.id)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,6 @@ export default {
|
||||
this.treeCheckNode = treeCheckNode
|
||||
},
|
||||
handleTreeDblClick (treeId, treeNode) {
|
||||
console.log('event, treeId, treeNode', event, treeId, treeNode)
|
||||
this.$emit('input', treeNode.id)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleTreeDblClick (treeId, treeNode) {
|
||||
console.log(treeNode.id)
|
||||
this.checkedName = treeNode.name
|
||||
this.$emit('input', treeNode.id)
|
||||
this.visible = false
|
||||
@@ -130,8 +129,6 @@ export default {
|
||||
return name
|
||||
},
|
||||
handleTreeDrawerConfirm () {
|
||||
console.log(this.config.selVal)
|
||||
console.log(this.treeCheckNode)
|
||||
if (this.config.selVal === 'USERLIST') {
|
||||
const checkedList = []
|
||||
const checkedNameList = []
|
||||
@@ -141,9 +138,7 @@ export default {
|
||||
checkedNameList.push(item.name)
|
||||
}
|
||||
})
|
||||
console.log(checkedNameList)
|
||||
this.checkedName = checkedNameList.join(',')
|
||||
console.log(this.checkedName)
|
||||
this.$emit('input', checkedList.join(','))
|
||||
} else {
|
||||
const checkedList = []
|
||||
@@ -157,7 +152,6 @@ export default {
|
||||
}
|
||||
})
|
||||
this.checkedName = checkedNameList.join(',')
|
||||
console.log(this.checkedName)
|
||||
this.$emit('input', checkedList.join(','))
|
||||
}
|
||||
this.visible = false
|
||||
@@ -179,11 +173,9 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
value (newVal) {
|
||||
console.log(newVal)
|
||||
this.checkedName = newVal || ''
|
||||
},
|
||||
checkedName (val) {
|
||||
console.log(val)
|
||||
this.$emit('update:value', val)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -120,13 +120,11 @@ export default {
|
||||
},
|
||||
watch:{
|
||||
value(newValue, oldValue) {
|
||||
console.log(newValue)
|
||||
this.resolveValueToResultNodes(newValue)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleSelectTreeClick(treeId, treeNode) {
|
||||
console.log(treeId, treeNode)
|
||||
this.selectNode = { ...treeNode }
|
||||
},
|
||||
|
||||
@@ -186,7 +184,6 @@ export default {
|
||||
handleResultTreeEdit(treeId, treeNode) {
|
||||
const wxId = treeNode.wxId
|
||||
const findNode = this.resultNodes.find(item => item.wxId === wxId)
|
||||
console.log(findNode)
|
||||
if (findNode && findNode.type === 'user') {
|
||||
this.editNode = findNode
|
||||
this.editNodeForForm = { ...findNode }
|
||||
@@ -223,7 +220,6 @@ export default {
|
||||
userName: item.type === 'user' && item.nativeName || null
|
||||
}
|
||||
})
|
||||
console.log(result)
|
||||
this.$emit('input', result)
|
||||
},
|
||||
|
||||
|
||||
@@ -63,7 +63,6 @@ export default {
|
||||
},
|
||||
watch:{
|
||||
value(newValue, oldValue) {
|
||||
console.log(newValue)
|
||||
this.resolveValueToResultNodes(newValue)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -141,7 +141,6 @@ export default {
|
||||
submitLoading: 'loading'
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
console.log('success', res)
|
||||
this.newDialogVisible = false
|
||||
this.submitLoading = false
|
||||
this.$message({
|
||||
|
||||
@@ -1449,7 +1449,6 @@ export default {
|
||||
this.destroyZTree()
|
||||
$(this.dragBind).unbind('mousedown')
|
||||
$('#' + this.searchId).unbind('input propertychange')
|
||||
// console.log('beforeDestroy')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -141,7 +141,6 @@ export default {
|
||||
* @date: 2018/10/23 10:19:24
|
||||
*/
|
||||
rightRemove () {
|
||||
console.log('rightRemove')
|
||||
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
||||
this.setOpenNodes()
|
||||
this.$emit('treeRemove', this.treeId, this.treeNode)
|
||||
@@ -153,7 +152,6 @@ export default {
|
||||
* @date: 2020/2/6 10:19:24
|
||||
*/
|
||||
rightCopy () {
|
||||
console.log('rightCopy')
|
||||
$(`#${this.treeDivId}rMenu`).css({'visibility': 'hidden'})
|
||||
this.setOpenNodes()
|
||||
this.$emit('treeCopy', this.treeId, this.treeNode)
|
||||
@@ -1284,7 +1282,6 @@ export default {
|
||||
}
|
||||
|
||||
function showRMenu (type, x, y, treeId, treeNode) {
|
||||
console.log('showRMenu')
|
||||
// 右键隐藏菜单的节点
|
||||
if (treeNode.pId !== null && _this.showRMenu && !_this.disabled && _this.editable) {
|
||||
_this.isRoot = false
|
||||
@@ -1322,7 +1319,6 @@ export default {
|
||||
}
|
||||
/* eslint-disable */
|
||||
function hideRMenu () {
|
||||
console.log('hideRMenu')
|
||||
if (rMenu) rMenu.css({'visibility': 'hidden'})
|
||||
$('body').unbind('mousedown', onBodyMouseDown)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user