diff --git a/src/App.vue b/src/App.vue index 33d7018..4c1245f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/src/components/dialog2/index.vue b/src/components/dialog2/index.vue index 5045d43..eb92996 100644 --- a/src/components/dialog2/index.vue +++ b/src/components/dialog2/index.vue @@ -6,7 +6,7 @@ append-to-body :close-on-click-modal="true" :show-close="false" - custom-class="data-dia"> + custom-class="data-dia ">
提交
提交成功
diff --git a/src/components/needBefore/index.vue b/src/components/needBefore/index.vue index 49acc3b..bfcf985 100644 --- a/src/components/needBefore/index.vue +++ b/src/components/needBefore/index.vue @@ -50,7 +50,7 @@ export default { }else { this.$message({ message: '请先完成' + obj[this.moduleName], - type: 'info' + type: 'warning' }); } @@ -60,13 +60,13 @@ export default { // this.$router.push(obj[this.moduleName]) this.$message({ message: '请先完成' + obj[this.moduleName], - type: 'info' + type: 'warning' }); }, goto2() { this.$message({ message: '您无需完成该操作!', - type: 'info' + type: 'warning' }); }, }, diff --git a/src/components/tipDialog/index.vue b/src/components/tipDialog/index.vue index 1183764..6cacbd8 100644 --- a/src/components/tipDialog/index.vue +++ b/src/components/tipDialog/index.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 868f4a6..df2dfca 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -222,23 +222,6 @@ export default { NeedBefore }, created() { - - const findIt = (tree, val, arr) => { - const quee = [] - quee.push(tree) - while(quee.length) { - const node = quee.shift() - arr.push(node.val) - if(node.leftNode) { - - }quee.push(node.leftNode) - if(node.rightNode) quee.push(node.rightNode) - - } - } - - - if(this.isNeedBefore) { return } diff --git a/src/utils/utilFunction.js b/src/utils/utilFunction.js index 4e0cdb1..4c595c7 100644 --- a/src/utils/utilFunction.js +++ b/src/utils/utilFunction.js @@ -1,6 +1,7 @@ import { MessageBox, Message } from 'element-ui'; import { addOperation, getOperation } from '@/api/http'; + const phoneListen = function(val, form, prop) { if(/^[0-9]*$/.test(val)) { form[prop] = val; @@ -129,10 +130,15 @@ const myValidate = (callback, refs) => { } catch (error) { } - Message.info({ + Message.warning({ center: true, message }) + // this.$message({ + // message, + // center: true, + // type: 'info' + // }); // Message.message(message + '', '提示', { // type: 'info', // confirmButtonText: message @@ -191,8 +197,9 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => { // message: '提交成功' // }) }).catch((error)=>{ + this.$message({ - message: '服务器繁忙哦,提交失败。', + message: '服务器繁忙,提交失败。', center: true, type: 'info' });