|
@@ -27,23 +27,55 @@
|
|
|
<div>{{ dict.label }}</div>
|
|
|
</div>
|
|
|
</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="预计填写结束时间">{{form.month}}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="预计评分结束时间">{{form.month}}</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
<el-form size="mini" label-position="right" ref="form" :model="form" :rules="formRules" :inline="true" class="demo-form-inline" v-if="pageState != 'see'">
|
|
|
<el-row>
|
|
|
<el-col span="6">
|
|
|
<el-form-item label="名称" prop="name">
|
|
|
- <el-input v-model="form.name"></el-input>
|
|
|
+ <el-input v-model="form.name" :disabled="form.isPublish == 'Y'"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="6">
|
|
|
- <el-form-item label="月份" prop="yearMonth">
|
|
|
- <el-date-picker type="month" value-format="yyyy-MM" v-model="form.month">
|
|
|
+ <el-form-item label="月份" prop="month">
|
|
|
+ <el-date-picker type="month" value-format="yyyy-MM" v-model="form.month" :disabled="form.isPublish == 'Y'">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col span="6">
|
|
|
+ <el-form-item label="状态" prop="stage">
|
|
|
+ <el-select size="mini" v-model="form.stage" placeholder="" :disabled="form.isPublish == 'Y'" >
|
|
|
+ <el-option
|
|
|
+ v-for="dict in dict.type.ehr_pm_status"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col span="6">
|
|
|
+ <el-form-item label="预计填写结束时间" prop="yearMonth">
|
|
|
+ <el-date-picker type="date" value-format="yyyy-MM" v-model="form.month">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col span="6">
|
|
|
+ <el-form-item label="预计评分结束时间" prop="yearMonth">
|
|
|
+ <el-date-picker type="date" value-format="yyyy-MM" v-model="form.month">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
- <div class="footer" v-if="form.isPublish == 'N'">
|
|
|
+ <el-tabs v-model="activeName" v-if="form.isPublish == 'Y'" @tab-click="btnTabs">
|
|
|
+ <el-tab-pane label="绩效列表" name="first">
|
|
|
+ 绩效列表
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="等级参数" name="second">等级参数</el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ <div class="footer">
|
|
|
<el-button type="primary" size="mini" @click="btnEdit" v-if="pageState == 'see'">修改</el-button>
|
|
|
<el-button size="mini" plain @click="btnCancel" v-if="pageState != 'see'">取消</el-button>
|
|
|
<el-button type="primary" :loading="loading" size="mini" @click="btnSave" v-if="pageState != 'see'">保存</el-button>
|
|
@@ -86,6 +118,8 @@ export default {
|
|
|
loading: false,
|
|
|
//页面状态
|
|
|
pageState: null,
|
|
|
+ //当前页签
|
|
|
+ activeName: 'first'
|
|
|
}
|
|
|
},
|
|
|
async created() {
|
|
@@ -390,6 +424,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ btnTabs(tab, event) {
|
|
|
+ console.log(tab, event);
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|