生产计划-计划工序功能修改 12.13

zhc4dev
zhc077 2 years ago
parent 7a6cb5072f
commit cd8180298c
  1. 608
      ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessAddList.vue
  2. 50
      ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessList.vue

@ -4,130 +4,41 @@
<!-- <div class="table-page-search-wrapper">--> <!-- <div class="table-page-search-wrapper">-->
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery">--> <!-- <a-form layout="inline" @keyup.enter.native="searchQuery">-->
<!-- <a-row :gutter="24">--> <!-- <a-row :gutter="24">-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学期">-->
<!-- <j-dict-select-tag placeholder="请选择学期" v-model="queryParam.semester" dictCode="se_semester,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学院">-->
<!-- <j-select-depart placeholder="请选择学院" v-model="queryParam.faculty"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="专业">-->
<!-- <j-dict-select-tag placeholder="请选择专业" v-model="queryParam.major" dictCode="se_major,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别1">-->
<!-- <j-dict-select-tag placeholder="请选择课程类别1" v-model="queryParam.type1" dictCode="course_type1"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别2">-->
<!-- <j-dict-select-tag placeholder="请选择课程类别2" v-model="queryParam.type2" dictCode="course_type2"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别3">-->
<!-- <a-input placeholder="请输入课程类别3" v-model="queryParam.type3"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程代码">-->
<!-- <a-input placeholder="请输入课程代码" v-model="queryParam.courseCode"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程名称">-->
<!-- <j-dict-select-tag placeholder="请选择课程名称" v-model="queryParam.courseName"-->
<!-- dictCode="se_course,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="教师工号">-->
<!-- <a-input placeholder="请输入教师工号" v-model="queryParam.workNo"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="教师姓名">-->
<!-- <j-select-user-by-dep placeholder="请选择教师姓名" v-model="queryParam.teName"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
<!-- <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>-->
<!-- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>-->
<!-- &lt;!&ndash; <a @click="handleToggleSearch" style="margin-left: 8px">-->
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}-->
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
<!-- </a>&ndash;&gt;-->
<!-- </span>-->
<!-- </a-col>-->
<!-- </a-row>--> <!-- </a-row>-->
<!-- </a-form>--> <!-- </a-form>-->
<!-- &lt;!&ndash;=============================王家东添加用于更新课程质量监控===============================================&ndash;&gt;-->
<!-- &lt;!&ndash;-->
<!-- <a-form layout="inline" @keyup.enter.native="dosx">-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学期">-->
<!-- <j-dict-select-tag placeholder="请选择学期" v-model="semester" dictCode="se_semester,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="专业">-->
<!-- <j-dict-select-tag placeholder="请选择专业" v-model="major" dictCode="se_major,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
<!-- <a-button type="primary" @click="dosx" icon="search">更新课程质量监控</a-button>-->
<!-- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>-->
<!-- <a @click="handleToggleSearch" style="margin-left: 8px">-->
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}-->
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
<!-- </a>-->
<!-- </span>-->
<!-- </a-col>-->
<!-- </a-row>-->
<!-- </a-form>-->
<!-- &ndash;&gt;-->
<!-- &lt;!&ndash;============================================================================&ndash;&gt;-->
<!-- </div>--> <!-- </div>-->
<!-- &lt;!&ndash; 查询区域-END &ndash;&gt;--> <!-- &lt;!&ndash; 查询区域-END &ndash;&gt;-->
<!-- &lt;!&ndash; 操作按钮区域 &ndash;&gt;--> <!-- &lt;!&ndash; 操作按钮区域 &ndash;&gt;-->
<!-- &lt;!&ndash; <div class="table-operator">&ndash;&gt;--> <!-- <div class="table-operator">-->
<!-- &lt;!&ndash; <a-button @click="handleAdd" type="primary" icon="plus" v-if="user_name==='admin'">新增</a-button>&ndash;&gt;--> <!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
<!-- &lt;!&ndash; <a-button type="primary" icon="download" @click="handleExportXls('开课任务')" v-if="user_name==='admin'">导出</a-button>&ndash;&gt;--> <!-- <a-button type="primary" icon="download" @click="handleExportXls('生产计划')">导出</a-button>-->
<!-- &lt;!&ndash; <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel" v-if="user_name==='admin'">&ndash;&gt;--> <!-- &lt;!&ndash; <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash;<a-button type="primary" icon="import">导入</a-button>&ndash;&gt;&ndash;&gt;--> <!-- &lt;!&ndash; <a-button type="primary" icon="import">导入</a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; </a-upload>&ndash;&gt;--> <!-- &lt;!&ndash; </a-upload>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; 高级查询区域 &ndash;&gt;&ndash;&gt;--> <!-- &lt;!&ndash; 高级查询区域 &ndash;&gt;-->
<!-- &lt;!&ndash; <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery" v-if="user_name==='admin'"></j-super-query>&ndash;&gt;--> <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal"-->
<!-- &lt;!&ndash; <a-dropdown v-if="selectedRowKeys.length > 0">&ndash;&gt;--> <!-- @handleSuperQuery="handleSuperQuery"></j-super-query>-->
<!-- &lt;!&ndash; <a-menu slot="overlay">&ndash;&gt;--> <!-- <a-dropdown v-if="selectedRowKeys.length > 0">-->
<!-- &lt;!&ndash; <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>&ndash;&gt;--> <!-- <a-menu slot="overlay">-->
<!-- &lt;!&ndash; </a-menu>&ndash;&gt;--> <!-- <a-menu-item key="1" @click="batchDel">-->
<!-- &lt;!&ndash; <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>&ndash;&gt;--> <!-- <a-icon type="delete"/>-->
<!-- &lt;!&ndash; </a-dropdown>&ndash;&gt;--> <!-- 删除-->
<!-- &lt;!&ndash; </div>&ndash;&gt;--> <!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- <a-button style="margin-left: 8px"> 批量操作-->
<!-- <a-icon type="down"/>-->
<!-- </a-button>-->
<!-- </a-dropdown>-->
<!-- </div>-->
<!-- &lt;!&ndash; table区域-begin &ndash;&gt;--> <!-- &lt;!&ndash; table区域-begin &ndash;&gt;-->
<!-- <div>--> <!-- <div>-->
<!-- &lt;!&ndash; <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">&ndash;&gt;--> <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<!-- &lt;!&ndash; <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>&ndash;&gt;--> <!-- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a-->
<!-- &lt;!&ndash; <a style="margin-left: 24px" @click="onClearSelected">清空</a>&ndash;&gt;--> <!-- style="font-weight: 600">{{ selectedRowKeys.length }}</a>-->
<!-- &lt;!&ndash; </div>&ndash;&gt;--> <!-- <a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
<!-- </div>-->
<!-- <a-table--> <!-- <a-table-->
<!-- ref="table"--> <!-- ref="table"-->
@ -146,31 +57,49 @@
<!-- <template slot="htmlSlot" slot-scope="text">--> <!-- <template slot="htmlSlot" slot-scope="text">-->
<!-- <div v-html="text"></div>--> <!-- <div v-html="text"></div>-->
<!-- </template>--> <!-- </template>-->
<!-- &lt;!&ndash; <template slot="imgSlot" slot-scope="text">&ndash;&gt;--> <!-- <template slot="imgSlot" slot-scope="text">-->
<!-- &lt;!&ndash; <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>&ndash;&gt;--> <!-- <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>-->
<!-- &lt;!&ndash; <img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>&ndash;&gt;--> <!-- <img v-else :src="getImgView(text)" height="25px" alt=""-->
<!-- &lt;!&ndash; </template>&ndash;&gt;--> <!-- style="max-width:80px;font-size: 12px;font-style: italic;"/>-->
<!-- &lt;!&ndash; <template slot="fileSlot" slot-scope="text">&ndash;&gt;--> <!-- </template>-->
<!-- &lt;!&ndash; <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>&ndash;&gt;--> <!-- <template slot="fileSlot" slot-scope="text">-->
<!-- &lt;!&ndash; <a-button&ndash;&gt;--> <!-- <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>-->
<!-- &lt;!&ndash; v-else&ndash;&gt;--> <!-- <a-button-->
<!-- &lt;!&ndash; :ghost="true"&ndash;&gt;--> <!-- v-else-->
<!-- &lt;!&ndash; type="primary"&ndash;&gt;--> <!-- :ghost="true"-->
<!-- &lt;!&ndash; icon="download"&ndash;&gt;--> <!-- type="primary"-->
<!-- &lt;!&ndash; size="small"&ndash;&gt;--> <!-- icon="download"-->
<!-- &lt;!&ndash; @click="downloadFile(text)">&ndash;&gt;--> <!-- size="small"-->
<!-- &lt;!&ndash; 下载&ndash;&gt;--> <!-- @click="downloadFile(text)">-->
<!-- &lt;!&ndash; </a-button>&ndash;&gt;--> <!-- 下载-->
<!-- &lt;!&ndash; </template>&ndash;&gt;--> <!-- </a-button>-->
<!-- </template>-->
<!-- <span slot="action" slot-scope="text, record">--> <!-- <span slot="action" slot-scope="text, record">-->
<!-- <a @click="handleEdit(record)" v-if="user_name==='admin'">编辑</a>--> <!-- <a @click="handleEdit(record)">编辑</a>-->
<!-- <a-divider type="vertical"/>-->
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- <a>删除</a>-->
<!-- </a-popconfirm>-->
<!-- &lt;!&ndash; <a-dropdown>-->
<!-- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
<!-- <a-menu slot="overlay">-->
<!-- <a-menu-item>-->
<!-- <a @click="handleDetail(record)">详情</a>-->
<!-- </a-menu-item>-->
<!-- <a-menu-item>-->
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- <a>删除</a>-->
<!-- </a-popconfirm>-->
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>&ndash;&gt;-->
<!-- </span>--> <!-- </span>-->
<!-- </a-table>--> <!-- </a-table>-->
<!-- </div>--> <!-- </div>-->
<!-- &lt;!&ndash; <class-opening-task-install-modal ref="classOpeningTaskInstallModal" @ok="modalFormOk"></class-opening-task-install-modal>&ndash;&gt;-->
<!-- &lt;!&ndash; <class-opening-task-modal ref="modalForm" @ok="modalFormOk"></class-opening-task-modal>&ndash;&gt;--> <!-- <zy-product-plan-modal ref="modalForm" @ok="modalFormOk"></zy-product-plan-modal>-->
<!-- &lt;!&ndash; <progress-plan-show ref="pps"></progress-plan-show>&ndash;&gt;-->
<!-- </a-card>--> <!-- </a-card>-->
<!--</template>--> <!--</template>-->
@ -179,422 +108,137 @@
<!--import '@/assets/less/TableExpand.less'--> <!--import '@/assets/less/TableExpand.less'-->
<!--import {mixinDevice} from '@/utils/mixin'--> <!--import {mixinDevice} from '@/utils/mixin'-->
<!--import {JeecgListMixin} from '@/mixins/JeecgListMixin'--> <!--import {JeecgListMixin} from '@/mixins/JeecgListMixin'-->
<!--import ClassOpeningTaskModal from 'src/views/classopeningtask/modules/ClassOpeningTaskModal.vue'--> <!--import ZyProductPlanModal from './modules/ZyProductPlanModal'-->
<!--import ProgressPlanShow from 'src/views/classopeningtask/ProgressPlanShow.vue'-->
<!--import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'-->
<!--import ClassOpeningTaskInstallModal from "src/views/classopeningtask/modules/ClassOpeningTaskInstallModal.vue";-->
<!--import Vue from 'vue'-->
<!--import {USER_INFO} from "@/store/mutation-types"-->
<!--import {getAction} from '@/api/manage'-->
<!--export default {--> <!--export default {-->
<!-- name: 'ClassOpeningTaskList',--> <!-- name: 'ZyProductPlanList',-->
<!-- mixins: [JeecgListMixin, mixinDevice],--> <!-- mixins: [JeecgListMixin, mixinDevice],-->
<!-- // components: {--> <!-- components: {-->
<!-- // ClassOpeningTaskInstallModal,--> <!-- ZyProductPlanModal-->
<!-- // ClassOpeningTaskModal,--> <!-- },-->
<!-- // ProgressPlanShow-->
<!-- // },-->
<!-- data() {--> <!-- data() {-->
<!-- return {--> <!-- return {-->
<!-- description: '开课任务管理页面',--> <!-- description: '生产计划管理页面',-->
<!-- // --> <!-- // -->
<!-- columns: [--> <!-- columns: [-->
<!-- {--> <!-- {-->
<!-- title: '学期',--> <!-- title: '#',-->
<!-- align: "center",--> <!-- dataIndex: '',-->
<!-- customCell: () => {--> <!-- key: 'rowIndex',-->
<!-- return {--> <!-- width: 60,-->
<!-- style: {-->
<!-- 'max-width': '90px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'semester_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '学院',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '60px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'faculty_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '专业',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '60px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'major_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '年级',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '50px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'year_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '班级',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '40px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'classId_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '人数',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'number'-->
<!-- },-->
<!-- {-->
<!-- title: '类别1',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type1_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '类别2',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type2_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '类别3',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- customRender: function (t, r, index) {-->
<!-- return {--> <!-- return parseInt(index) + 1;-->
<!-- style: {--> <!-- }-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type3'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '课程代码',--> <!-- title: '工单编号',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- dataIndex: 'courseCode'--> <!-- dataIndex: 'productCode'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '课程名称',--> <!-- title: '车间编号',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'workshopId'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'courseName_dictText'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '学分',--> <!-- title: '车间负责人',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'responsiblePerson'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'credit'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '学年',--> <!-- title: '班组编号',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'teamId'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'schoolYear'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '学期',--> <!-- title: '组长',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'teamLeader'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'openingSemester_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '教师工号',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'workNo'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '教师姓名',--> <!-- title: '生产开始时间',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'workTime',-->
<!-- return {--> <!-- customRender: function (text) {-->
<!-- style: {--> <!-- return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)-->
<!-- 'max-width': '10px',--> <!-- }-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'teName_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '理论周学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'theoryWeekPeriod'-->
<!-- },-->
<!-- {-->
<!-- title: '上课周数',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'classWeeks'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '理论学时',--> <!-- title: '生产时长',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'offTime'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'theoryPeriod'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '实验学时',--> <!-- title: '状态',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- // dataIndex: 'status'-->
<!-- return {--> <!-- dataIndex: 'status_dictText'-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'experimentPeriod'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '实践学时',--> <!-- title: '是否加急',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- // dataIndex: 'speedUp'-->
<!-- return {--> <!-- dataIndex: 'speedUp_dictText'-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'practicePeriod'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '总学时',--> <!-- title: '审核人',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'auditBy'-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'period'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '承担院系',--> <!-- title: '审核时间',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- customCell: () => {--> <!-- dataIndex: 'auditTimr',-->
<!-- return {--> <!-- customRender: function (text) {-->
<!-- style: {--> <!-- return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)-->
<!-- 'max-width': '10px',--> <!-- }-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'responsibleDepartments_dictText'-->
<!-- },--> <!-- },-->
<!-- {--> <!-- {-->
<!-- title: '操作',--> <!-- title: '操作',-->
<!-- dataIndex: 'action',--> <!-- dataIndex: 'action',-->
<!-- align: "center",--> <!-- align: "center",-->
<!-- fixed: "right",--> <!-- fixed: "right",-->
<!-- width: 80,--> <!-- width: 147,-->
<!-- scopedSlots: {customRender: 'action'}--> <!-- scopedSlots: {customRender: 'action'}-->
<!-- }--> <!-- }-->
<!-- ],--> <!-- ],-->
<!-- url: {--> <!-- url: {-->
<!-- list: "/classopeningtask/classOpeningTask/list",--> <!-- list: "/org.jeecg.modules.productplan/zyProductPlan/list",-->
<!-- delete: "/classopeningtask/classOpeningTask/delete",--> <!-- delete: "/org.jeecg.modules.productplan/zyProductPlan/delete",-->
<!-- deleteBatch: "/classopeningtask/classOpeningTask/deleteBatch",--> <!-- deleteBatch: "/org.jeecg.modules.productplan/zyProductPlan/deleteBatch",-->
<!-- exportXlsUrl: "/classopeningtask/classOpeningTask/exportXls",--> <!-- exportXlsUrl: "/org.jeecg.modules.productplan/zyProductPlan/exportXls",-->
<!-- importExcelUrl: "classopeningtask/classOpeningTask/importExcel",--> <!-- importExcelUrl: "org.jeecg.modules.productplan/zyProductPlan/importExcel",-->
<!-- dosx: "/classopeningtask/classOpeningTask/dosx"-->
<!-- },--> <!-- },-->
<!-- dictOptions: {},--> <!-- dictOptions: {},-->
<!-- superFieldList: [],--> <!-- superFieldList: [],-->
<!-- user_name: '',-->
<!-- }--> <!-- }-->
<!-- },--> <!-- },-->
<!-- created() {--> <!-- created() {-->
<!-- this.getSuperFieldList();--> <!-- this.getSuperFieldList();-->
<!-- this.user_name = Vue.ls.get(USER_INFO).username;-->
<!-- },--> <!-- },-->
<!-- computed: {--> <!-- computed: {-->
<!-- importExcelUrl: function () {--> <!-- // importExcelUrl: function(){-->
<!-- return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;--> <!-- // return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;-->
<!-- },--> <!-- // },-->
<!-- },--> <!-- },-->
<!-- methods: {--> <!-- methods: {-->
<!-- dosx() {-->
<!-- getAction(this.url.dosx, {xq: this.semester, zy: this.major}).then((res) => {-->
<!-- if (res.success) {-->
<!-- this.$message.success(res.message);-->
<!-- this.loadData();-->
<!-- } else {-->
<!-- this.$message.warning(res.message);-->
<!-- }-->
<!-- });-->
<!-- },-->
<!-- initDictConfig() {--> <!-- initDictConfig() {-->
<!-- },--> <!-- },-->
<!-- show(record) {-->
<!-- this.$refs.pps.edit(record);-->
<!-- this.$refs.pps.title = "查看";-->
<!-- this.$refs.pps.disableSubmit = true;-->
<!-- },-->
<!-- openInstall(id) {-->
<!-- this.$refs.classOpeningTaskInstallModal.showModal(id);-->
<!-- // this.$children[0].showModal(id)-->
<!-- },-->
<!-- getSuperFieldList() {--> <!-- getSuperFieldList() {-->
<!-- let fieldList = [];--> <!-- let fieldList = [];-->
<!-- fieldList.push({--> <!-- fieldList.push({type: 'string', value: 'productCode', text: '工单编号', dictCode: ''})-->
<!-- type: 'string',--> <!-- fieldList.push({type: 'string', value: 'workshopId', text: '车间id', dictCode: ''})-->
<!-- value: 'semesterOpeningPlanId',--> <!-- fieldList.push({type: 'string', value: 'responsiblePerson', text: '车间负责人', dictCode: ''})-->
<!-- text: '学期开课计划',--> <!-- fieldList.push({type: 'string', value: 'teamId', text: '班组', dictCode: ''})-->
<!-- dictCode: 'semester_opening_plan,name,id'--> <!-- fieldList.push({type: 'string', value: 'teamLeader', text: '组长', dictCode: ''})-->
<!-- })--> <!-- fieldList.push({type: 'date', value: 'workTime', text: '生产开始时间'})-->
<!-- fieldList.push({--> <!-- fieldList.push({type: 'int', value: 'offTime', text: '生产时长', dictCode: ''})-->
<!-- type: 'popup',--> <!-- fieldList.push({type: 'int', value: 'status', text: '状态', dictCode: ''})-->
<!-- value: 'coursePlanListName',--> <!-- fieldList.push({type: 'int', value: 'speedUp', text: '是否加急', dictCode: ''})-->
<!-- text: '开课计划课程',--> <!-- fieldList.push({type: 'string', value: 'auditBy', text: '审核人', dictCode: ''})-->
<!-- popup: {--> <!-- fieldList.push({type: 'date', value: 'auditTimr', text: '审核时间'})-->
<!-- code: 'course_plan',-->
<!-- field: 'course_name',-->
<!-- orgFields: 'course_name',-->
<!-- destFields: 'course_plan_list_name'-->
<!-- }-->
<!-- })-->
<!-- fieldList.push({type: 'string', value: 'semester', text: '学期', dictCode: 'se_semester,name,id'})-->
<!-- fieldList.push({type: 'sel_depart', value: 'faculty', text: '学院'})-->
<!-- fieldList.push({type: 'string', value: 'major', text: '专业', dictCode: 'se_major,name,id'})-->
<!-- fieldList.push({type: 'string', value: 'year', text: '年级', dictCode: 'class_year'})-->
<!-- fieldList.push({-->
<!-- type: 'list_multi',-->
<!-- value: 'classId',-->
<!-- text: '班级',-->
<!-- dictTable: 'jx_class',-->
<!-- dictText: 'class_name',-->
<!-- dictCode: 'id'-->
<!-- })-->
<!-- fieldList.push({type: 'string', value: 'number', text: '人数', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'type1', text: '课程类别1', dictCode: 'coursecategory'})-->
<!-- fieldList.push({type: 'string', value: 'type2', text: '课程类别2', dictCode: 'se_nature,content,id'})-->
<!-- fieldList.push({type: 'string', value: 'type3', text: '课程类别3', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'courseCode', text: '课程代码', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'courseName', text: '课程名称', dictCode: 'se_course,name,id'})-->
<!-- fieldList.push({type: 'string', value: 'credit', text: '学分', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'schoolYear', text: '开课学年', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'openingSemester', text: '开课学期', dictCode: 'open_semester'})-->
<!-- fieldList.push({type: 'string', value: 'workNo', text: '教师工号', dictCode: ''})-->
<!-- fieldList.push({type: 'sel_user', value: 'teName', text: '教师姓名'})-->
<!-- fieldList.push({type: 'string', value: 'theoryWeekPeriod', text: '理论周学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'classWeeks', text: '上课周数', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'theoryPeriod', text: '理论学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'experimentPeriod', text: '实验或上机学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'practicePeriod', text: '实践学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'period', text: '总学时', dictCode: ''})-->
<!-- fieldList.push({type: 'sel_depart', value: 'responsibleDepartments', text: '承担院系'})-->
<!-- this.superFieldList = fieldList--> <!-- this.superFieldList = fieldList-->
<!-- }--> <!-- }-->
<!-- }--> <!-- }-->

@ -61,15 +61,15 @@
<!-- &lt;!&ndash; <a @click="jumpPage2(record)">工位工具管理</a>&ndash;&gt;--> <!-- &lt;!&ndash; <a @click="jumpPage2(record)">工位工具管理</a>&ndash;&gt;-->
<!-- </span>--> <!-- </span>-->
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a> <!-- <a @click="handleEdit(record)">编辑</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<!-- <a @click="handleDetail(record)">详情</a>--> <!-- <a @click="handleDetail(record)">详情</a>-->
<a-divider type="vertical"/> <!-- <a-divider type="vertical"/>-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete2(record.id)"> <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a> <a>删除</a>
</a-popconfirm> </a-popconfirm>
<a-divider type="vertical"/> <a-divider type="vertical"/>
<a @click="pf(record)">制定计划详情</a> <a @click="jumpPage1(record)">制定计划详情</a>
</span> </span>
</a-table> </a-table>
@ -136,14 +136,6 @@ export default {
align: "center", align: "center",
dataIndex: 'userIds' dataIndex: 'userIds'
}, },
{
title: '计划工序',
dataIndex: 'action1',
align: "center",
// fixed: "right",
width: 80,
scopedSlots: {customRender: 'action1'}
},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
@ -189,7 +181,7 @@ export default {
}, },
jumpPage1(record) { jumpPage1(record) {
this.$router.push({ this.$router.push({
path: '/productplan/ZyPlanProcessAddList', path: '/productplan/ZyProductPlanList',
// query: { // // query: { //
// 'stationId': record.id, // 'stationId': record.id,
@ -197,19 +189,25 @@ export default {
// }, // },
}); });
}, },
pf(record) { // pf(record) {
getAction("productPlanlist", {id: record.id}).then((res) => { // this.$router.push({
if (res.success) { // path: '/productplan/ZyPlanProcessAddList',
this.$router.push({ // query: { //
path: '/src/views/processassessment/assessmentCourse/ClassOpeningTaskList', // }
query: { // // });
}
}); // getAction("productPlanlist", {id: record.id}).then((res) => {
} else { // if (res.success) {
this.$message.error(res.message) // this.$router.push({
} // path: '/src/views/processassessment/assessmentCourse/ClassOpeningTaskList',
}); // query: { //
}, // }
// });
// } else {
// this.$message.error(res.message)
// }
// });
// },
} }
} }
</script> </script>

Loading…
Cancel
Save