Commit 88690615 by fairyly

style: 修改样式

parent 4a23cc8c
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:22
* @LastEditors : 无尘
* @LastEditTime : 2020-02-18 13:48:18
* @LastEditTime : 2020-02-18 17:26:24
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\depart-list.vue
-->
<!--
......@@ -25,7 +25,7 @@
<span slot="reference"><span class="cursor-pointer iconfont iconchangyongicon- color-909399"></span></span>
</el-popover>
</div>
<div class="depart-id font-12 color-909399">{{ departObj.departmentId }}</div>
<div class="depart-id font-12 color-909399">门店 code:{{ departObj.departmentId }}</div>
</div>
<div class="depart-children-list border-box m-t-18">
<div class="depart-children-title"><span class="iconfont iconbumen color-303133"></span><span class="font-16 color-303133 font-w-600 p-l-5">下级部门</span></div>
......@@ -70,6 +70,7 @@
import { _debounce } from '@/common/js/public';
import { getRequest, postRequest } from '@/api/api';
import errMsg from '@/common/js/error';
import showMsg from '@/common/js/showmsg';
import limitInput from '@/components/limit-input.vue';
export default {
name: 'depart-list',
......@@ -129,6 +130,10 @@ export default {
},
toMod() {
const that = this;
if (!that.departmentName) {
showMsg.showmsg('请输入部门名称!', 'warning');
return false;
}
let obj = JSON.parse(JSON.stringify(that.departObj));
obj.departmentName = that.departmentName;
that.$emit('resetData', obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment