|
|
@ -41,9 +41,9 @@ |
|
|
|
prop="behaviorCode"> |
|
|
|
<el-select v-model="dataForm.behaviorCode"> |
|
|
|
<el-option v-for="item in behaviorTypeList" |
|
|
|
:key="item.dictValue" |
|
|
|
:label="item.dictName" |
|
|
|
:value="item.dictValue"> |
|
|
|
:key="item.behaviorCode" |
|
|
|
:label="item.behaviorDesc" |
|
|
|
:value="item.behaviorCode"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -186,7 +186,7 @@ export default { |
|
|
|
}), |
|
|
|
getBehaviorTypeList () { |
|
|
|
this.$http |
|
|
|
.get(`/sys/dict/listSimple/pointsrule_behavior`) |
|
|
|
.get(`/points/pointsbehavior/getAllBehaviorDesc`) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|