|
@@ -54,6 +54,25 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
+ <template slot="normType">
|
|
|
+ <el-select
|
|
|
+ size="small"
|
|
|
+ v-model="form.normType"
|
|
|
+ placeholder="请选择"
|
|
|
+ clearable
|
|
|
+ :filterable="true"
|
|
|
+ :disabled="detailData.status == 1"
|
|
|
+ @change="normTypeChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in normTypeList"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.dictValue"
|
|
|
+ :value="item.dictValue"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
</avue-form>
|
|
|
</basic-container>
|
|
|
<containerTitle title="基础明细"></containerTitle>
|
|
@@ -222,11 +241,7 @@ export default {
|
|
|
label: "标准类别",
|
|
|
prop: "normType",
|
|
|
type: "select",
|
|
|
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=norm_type",
|
|
|
- props: {
|
|
|
- label: "dictValue",
|
|
|
- value: "dictValue"
|
|
|
- },
|
|
|
+ // dicUrl: "/api/blade-system/dict-biz/dictionary?code=norm_type",
|
|
|
rules: [
|
|
|
{
|
|
|
required: true,
|
|
@@ -234,8 +249,14 @@ export default {
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
- filterable: true,
|
|
|
span: 6
|
|
|
+ // change: ({ value, column }) => {
|
|
|
+ // if (value == "工资拨付标准") {
|
|
|
+ // this.tableOption = tableOption2;
|
|
|
+ // } else {
|
|
|
+ // this.tableOption = tableOption;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
},
|
|
|
{
|
|
|
label: "教师类别",
|
|
@@ -290,7 +311,7 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- tableOption: {
|
|
|
+ tableOption:{
|
|
|
align: "center",
|
|
|
addBtn: false,
|
|
|
refreshBtn: false,
|
|
@@ -303,7 +324,8 @@ export default {
|
|
|
{
|
|
|
label: "分类明细",
|
|
|
prop: "parameter",
|
|
|
- overHidden: true
|
|
|
+ overHidden: true,
|
|
|
+ index: 1
|
|
|
},
|
|
|
{
|
|
|
label: "工资标准",
|
|
@@ -315,6 +337,90 @@ export default {
|
|
|
cell: true
|
|
|
},
|
|
|
{
|
|
|
+ label: "工作量工资标准",
|
|
|
+ prop: "workloadSalaryName",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "虚拟工作量工资标准",
|
|
|
+ prop: "virtualWorkloadSalary",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 140
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "双休日工作量工资标准",
|
|
|
+ prop: "doubleCease",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 160
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "日常考核工资标准",
|
|
|
+ prop: "dailyAssessmentCriteriaName",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "虚拟双休日工作量工资标准",
|
|
|
+ prop: "virtualDoubleCease",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 170
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "虚拟日常考核标准",
|
|
|
+ prop: "virtualDailyAssessmentCriteria",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "学期绩效工资标准",
|
|
|
+ prop: "termPerformanceSalaryName",
|
|
|
+ precision: 2,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ overHidden: true,
|
|
|
+ cell: true,
|
|
|
+ hide: true,
|
|
|
+ showColumn: false,
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "备注",
|
|
|
prop: "remarks",
|
|
|
overHidden: true,
|
|
@@ -323,10 +429,11 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
resultList: [],
|
|
|
+ normTypeList: [],
|
|
|
jobTitleList: [],
|
|
|
jobLevelList: [],
|
|
|
occupationalLevelList: [],
|
|
|
- maritalList:[]
|
|
|
+ maritalList: []
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
@@ -344,6 +451,9 @@ export default {
|
|
|
this.getWorkDicts("result_type").then(res => {
|
|
|
this.resultList = res.data.data;
|
|
|
});
|
|
|
+ this.getWorkDicts("norm_type").then(res => {
|
|
|
+ this.normTypeList = res.data.data;
|
|
|
+ });
|
|
|
this.getWorkDicts("job_title").then(res => {
|
|
|
this.jobTitleList = res.data.data;
|
|
|
});
|
|
@@ -390,6 +500,7 @@ export default {
|
|
|
}
|
|
|
this.form = res.data.data;
|
|
|
this.dataList = res.data.data.schoolConfigItems;
|
|
|
+ this.normTypeChange(this.form.normType);
|
|
|
})
|
|
|
.finally(() => {
|
|
|
// this.loading = false;
|
|
@@ -433,6 +544,23 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ normTypeChange(row) {
|
|
|
+ if (row == "工资拨付标准") {
|
|
|
+ this.tableOption.column.forEach(e => {
|
|
|
+ if (e.hide == true) {
|
|
|
+ e.hide = false;
|
|
|
+ e.showColumn = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.tableOption.column.forEach(e => {
|
|
|
+ if (e.hide == false) {
|
|
|
+ e.hide = true;
|
|
|
+ e.showColumn = false;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
parameterChange(row, index) {
|
|
|
if (
|
|
|
this.dataList.filter(value => value.parameter == row.parameter).length >
|