|
@@ -39,6 +39,8 @@
|
|
type="text"
|
|
type="text"
|
|
@click="setTeacher(props.scope.row)"
|
|
@click="setTeacher(props.scope.row)"
|
|
>双师制设置</el-button
|
|
>双师制设置</el-button
|
|
|
|
+ ><el-button type="text" @click="$refs.dayPracticeSet.open()"
|
|
|
|
+ >每日一练设置</el-button
|
|
>
|
|
>
|
|
<el-button type="text" @click="addClick(props.scope.row, 0)"
|
|
<el-button type="text" @click="addClick(props.scope.row, 0)"
|
|
>修改</el-button
|
|
>修改</el-button
|
|
@@ -84,6 +86,7 @@
|
|
<el-button type="primary" @click="submit">确 定</el-button>
|
|
<el-button type="primary" @click="submit">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <Day-practice-set-dialog ref="dayPracticeSet"></Day-practice-set-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -91,6 +94,7 @@
|
|
import searchBoxNew from "@/components/searchBoxNew";
|
|
import searchBoxNew from "@/components/searchBoxNew";
|
|
import tableList from "@/components/tableList";
|
|
import tableList from "@/components/tableList";
|
|
import pagination from "@/components/pagination";
|
|
import pagination from "@/components/pagination";
|
|
|
|
+import DayPracticeSetDialog from "./DayPracticeSetDialog.vue";
|
|
import {
|
|
import {
|
|
getGoodsSpecList,
|
|
getGoodsSpecList,
|
|
goodsUpdateSpec,
|
|
goodsUpdateSpec,
|
|
@@ -99,7 +103,7 @@ import {
|
|
} from "@/api/resource/good";
|
|
} from "@/api/resource/good";
|
|
export default {
|
|
export default {
|
|
name: "CommodityManageMent",
|
|
name: "CommodityManageMent",
|
|
- components: { searchBoxNew, tableList, pagination },
|
|
|
|
|
|
+ components: { searchBoxNew, tableList, pagination, DayPracticeSetDialog },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
loading: false, //当前表单加载是否加载动画
|
|
loading: false, //当前表单加载是否加载动画
|