dev
e 3 years ago
parent 89f080c9f5
commit 75e523724e
  1. 10
      package-lock.json
  2. 1
      package.json
  3. 2
      src/views/customer/customer.vue
  4. 16
      src/views/user/User.vue

10
package-lock.json generated

@ -1988,6 +1988,16 @@
"object.assign": "^4.1.0" "object.assign": "^4.1.0"
} }
}, },
"babel-plugin-import": {
"version": "1.13.3",
"resolved": "https://registry.nlark.com/babel-plugin-import/download/babel-plugin-import-1.13.3.tgz",
"integrity": "sha1-nbu6fRrHK9QSkXqDDUReAJQdJtc=",
"dev": true,
"requires": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/runtime": "^7.0.0"
}
},
"babel-plugin-module-resolver": { "babel-plugin-module-resolver": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.2.0.tgz", "resolved": "https://registry.npmjs.org/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.2.0.tgz",

@ -28,6 +28,7 @@
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^3.9.0", "@vue/cli-plugin-babel": "^3.9.0",
"@vue/cli-service": "^3.9.0", "@vue/cli-service": "^3.9.0",
"babel-plugin-import": "^1.13.3",
"element-theme-chalk": "^2.13.0", "element-theme-chalk": "^2.13.0",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.10" "vue-template-compiler": "^2.6.10"

@ -33,7 +33,7 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item> <el-form-item>
<el-input placeholder="请输入客户名称/管理员姓名/电话" prefix-icon="el-icon-search" v-model="form.keyword" clearable></el-input> <el-input placeholder="支持客户,联系人,账号搜索" prefix-icon="el-icon-search" v-model="form.keyword" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>

@ -218,10 +218,6 @@ export default {
value: 2, value: 2,
label: '数据平台' label: '数据平台'
}, },
{
value: 3,
label: '中台'
}
], ],
page: 1, page: 1,
pageSize: 10, pageSize: 10,
@ -373,7 +369,11 @@ export default {
id: row.userId, id: row.userId,
isEnable: val isEnable: val
}).then(res => { }).then(res => {
if(res.code == '200') {
this.$message.success(val ? '启用成功' : '禁用成功') this.$message.success(val ? '启用成功' : '禁用成功')
}else{
this.$message.success(res.message)
}
}).catch(res => {}) }).catch(res => {})
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
@ -386,10 +386,16 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.$post(this.api.delUserAccounts,delList).then(res => { this.$post(this.api.delUserAccounts,delList).then(res => {
}).catch(res => {
if(res.code == '200') {
this.multipleSelection = []; this.multipleSelection = [];
this.$message.success('删除成功') this.$message.success('删除成功')
this.getData() this.getData()
}).catch(res => {}) }else{
this.$message.success(res.message)
}
})
}).catch(() => {}) }).catch(() => {})
}else{ }else{
this.$message.error('请先选择客户 !') this.$message.error('请先选择客户 !')

Loading…
Cancel
Save