|
@@ -8,7 +8,7 @@
|
|
|
<a-form-item label="考评指标名称:" :label-col="{ span: 6 }" :wrapper-col="{ span: 18 }">
|
|
|
<a-input
|
|
|
allowClear
|
|
|
- id="addEvaIndexModal-name"
|
|
|
+ id="addEvaIndexModal-name"
|
|
|
:maxLength="128"
|
|
|
v-decorator="[
|
|
|
'formData.name',
|
|
@@ -110,7 +110,7 @@ export default {
|
|
|
const _this = this
|
|
|
this.form.validateFields((err, values) => {
|
|
|
if (!err) {
|
|
|
- this.loading = true
|
|
|
+ this.loading = true
|
|
|
const params = this.itemIndexId ? Object.assign({ assessItemId: this.itemId, id: this.itemIndexId }, values.formData) : Object.assign({ assessItemId: this.itemId }, values.formData)
|
|
|
// console.log(params, 'ppppppppppppp')
|
|
|
itemIndexSave(params).then(res => {
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
} else {
|
|
|
// this.$message.warning(res.message)
|
|
|
}
|
|
|
- this.loading = false
|
|
|
+ this.loading = false
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style>
|
|
|
+<style scoped>
|
|
|
.modalBox {}
|
|
|
|
|
|
.ant-modal-footer {
|