修改bug
This commit is contained in:
parent
ad13799eea
commit
43a92fb84c
|
@ -15,7 +15,7 @@
|
||||||
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
||||||
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExport" style="margin-left: 8px">PDF导出</a-button> -->
|
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExport" style="margin-left: 8px">PDF导出</a-button> -->
|
||||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px">Excel导出</a-button>
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px">Excel导出</a-button>
|
||||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="pdfzwys" style="margin-left: 8px">PDF职位映射</a-button>
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="pdfzwys" style="margin-left: 8px" v-show="isAdmin=='1'">PDF职位映射</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
@ -131,6 +131,7 @@
|
||||||
const KcZwtksfInfoList = ref();
|
const KcZwtksfInfoList = ref();
|
||||||
const StaticConXyglyChart = ref();
|
const StaticConXyglyChart = ref();
|
||||||
const StaticConGlyChart = ref();
|
const StaticConGlyChart = ref();
|
||||||
|
const isAdmin = ref<any>("");
|
||||||
|
|
||||||
const queryParam = ref<any>({});
|
const queryParam = ref<any>({});
|
||||||
|
|
||||||
|
@ -142,6 +143,8 @@
|
||||||
const tjlist = (queryParam) => defHttp.get({ url: '/config/kcExportConfigTpkwcqkjzglx/getTjlist', params:queryParam });
|
const tjlist = (queryParam) => defHttp.get({ url: '/config/kcExportConfigTpkwcqkjzglx/getTjlist', params:queryParam });
|
||||||
//进入就加载
|
//进入就加载
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
isAdmin.value = roleList.value.filter(x => x.roleCode == 'admin' ).length;
|
||||||
|
console.log(`🚀 ~ file: KcExportConfigTpkwcqkjzglxListNew.vue:147 ~ onMounted ~ isAdmin:`, isAdmin)
|
||||||
queryParam.value.xqxn = getSysConfig().flag1
|
queryParam.value.xqxn = getSysConfig().flag1
|
||||||
searchQuery()
|
searchQuery()
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,15 +20,15 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '应听课次数',
|
title: '发送内容',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'ytkcs'
|
dataIndex: 'ytkcs'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '实际听课次数',
|
// title: '实际听课次数',
|
||||||
align: "center",
|
// align: "center",
|
||||||
dataIndex: 'sjtkcs'
|
// dataIndex: 'sjtkcs'
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: '发送结果',
|
title: '发送结果',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
@ -7,21 +7,26 @@
|
||||||
<a-input v-model:value="formData.teacherName" placeholder="请输入教师姓名" :disabled="disabled" @change="handleTeacherNameChange"></a-input>
|
<a-input v-model:value="formData.teacherName" placeholder="请输入教师姓名" :disabled="disabled" @change="handleTeacherNameChange"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-item label="微信openid" v-bind="validateInfos.openid">
|
||||||
|
<a-input v-model:value="formData.openid" placeholder="请输入微信openid" :disabled="disabled"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="学期学年" v-bind="validateInfos.xqxn">
|
<a-form-item label="学期学年" v-bind="validateInfos.xqxn">
|
||||||
<j-dict-select-tag ref="xqDictTag" placeholder="请选择学年学期" v-model:value="formData.xqxn" :disabled="disabled" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
<j-dict-select-tag ref="xqDictTag" placeholder="请选择学年学期" v-model:value="formData.xqxn" :disabled="disabled" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="应听课次数" v-bind="validateInfos.ytkcs">
|
<a-form-item label="推送内容" v-bind="validateInfos.ytkcs">
|
||||||
<a-input v-model:value="formData.ytkcs" placeholder="请输入应听课次数" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.ytkcs" placeholder="请输入推送内容,最大20个字" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<!-- <a-col :span="24">
|
||||||
<a-form-item label="实际听课次数" v-bind="validateInfos.sjtkcs">
|
<a-form-item label="实际听课次数" v-bind="validateInfos.sjtkcs">
|
||||||
<a-input v-model:value="formData.sjtkcs" placeholder="请输入实际听课次数" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.sjtkcs" placeholder="请输入实际听课次数" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col> -->
|
||||||
<a-col :span="24" v-show="formData.remark">
|
<a-col :span="24" v-show="formData.remark">
|
||||||
<a-form-item label="备注" v-bind="validateInfos.remark">
|
<a-form-item label="备注" v-bind="validateInfos.remark">
|
||||||
<a-textarea v-model:value="formData.remark" placeholder="请输入实际听课次数" :disabled="disabled" style="height: 80px;"></a-textarea>
|
<a-textarea v-model:value="formData.remark" placeholder="请输入实际听课次数" :disabled="disabled" style="height: 80px;"></a-textarea>
|
||||||
|
@ -54,7 +59,7 @@
|
||||||
teacherName: '',
|
teacherName: '',
|
||||||
xqxn: '',
|
xqxn: '',
|
||||||
ytkcs: '',
|
ytkcs: '',
|
||||||
sjtkcs: '',
|
// sjtkcs: '',
|
||||||
openid: '',
|
openid: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
});
|
});
|
||||||
|
@ -67,7 +72,7 @@
|
||||||
teacherName: [{ required: true, message: '请输入教师姓名!'},],
|
teacherName: [{ required: true, message: '请输入教师姓名!'},],
|
||||||
xqxn: [{ required: true, message: '请选择学期学年!'},],
|
xqxn: [{ required: true, message: '请选择学期学年!'},],
|
||||||
ytkcs: [{ required: true, message: '请输入应听课次数!'},],
|
ytkcs: [{ required: true, message: '请输入应听课次数!'},],
|
||||||
sjtkcs: [{ required: true, message: '请输入实际听课次数!'},],
|
// sjtkcs: [{ required: true, message: '请输入实际听课次数!'},],
|
||||||
};
|
};
|
||||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<a-form-item label="">
|
<a-form-item label="">
|
||||||
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
|
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
|
||||||
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
|
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="tpkwcqkjzglx" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
|
|
Loading…
Reference in New Issue