-
+
@@ -92,10 +92,10 @@
已选择
-
{{selectedRowKeys.length}}
+
{{ selectedRowKeys.length }}
项
列表选项总计:
-
{{tableData.length}}条
+
{{ tableData.length }}条
清空
@@ -244,17 +244,17 @@
-
+
+
+ .opat {
+ .opacationt {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ .ant-switch-checked {
+ background-color: #5dc988;
+ }
+ .showt {
+ // margin-top: 10px;
+ display: flex;
+ margin-left: 10px;
+ height: 23px;
+ position: relative;
+ .bi {
+ // margin-top: 10px;
+ width: 63px;
+ height: 23;
+ background-color: #5dc988;
+ line-height: 23px;
+ position: absolute;
+ z-index: 998;
+ color: #ffffff;
+ border-radius: 4px;
+ }
+ .xuan {
+ width: 63px;
+ height: 23px;
+ background-color: #f2f6fc;
+ line-height: 23px;
+ // display: none;
+ position: absolute;
+ z-index: 998;
+ color: #5dc988;
+ border-radius: 4px;
+ }
+ }
+ }
+ }
+ .racona {
+ display: flex;
+ align-items: center;
+ height: 100%;
+ .img {
+ width: 17px;
+ height: 14px;
+ background-image: url("../../assets/images/leveladd/z1.png");
+ // position: absolute;
+ // left: -40px;
+ }
+ .ch {
+ margin-left: 10px;
+ }
+ }
+ .footbtn {
+ width: 100%;
+ height: 80px;
+ margin-top: 16px;
+ // flex: 1;
+ background-color: #fff;
+ box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.07);
+ display: flex;
+ justify-content: end;
+ .btnbox {
+ display: flex;
+ margin-right: 36px;
+ height: 80px;
+ .btn {
+ padding: 0px 26px 0px 26px;
+ height: 38px;
+ border-radius: 8px;
+ border: 1px solid rgba(64, 158, 255, 1);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+ margin: 21px 0px 19px 14px;
+ cursor: pointer;
+ white-space: nowrap;
+ .btnText {
+ font-size: 14px;
+ font-weight: 400;
+ line-height: 36px;
+ margin-left: 5px;
+ }
+ }
+ .btn1 {
+ background-color: #409eff;
+ .btnText {
+ color: #ffffff;
+ }
+ }
+ .btn2 {
+ background-color: #ffffff;
+ .btnText {
+ color: #409eff;
+ }
+ }
+ }
+ }
+}
+
\ No newline at end of file
diff --git a/src/views/projectcenter/templateAdd.vue b/src/views/projectcenter/templateAdd.vue
index 3da46e50..0d1050b7 100644
--- a/src/views/projectcenter/templateAdd.vue
+++ b/src/views/projectcenter/templateAdd.vue
@@ -318,14 +318,12 @@ import { useRouter, useRoute } from "vue-router";
// import dayjs from "dayjs";
import * as api from "../../api/indexTemplate";
import { storage } from "../../api/storage";
-import {useStore} from "vuex";
// import { toDate } from "../../api/method";
import dayjs from "dayjs";
export default {
name: "projectAdd",
setup() {
- const store = useStore();
// 编辑页面跳转过来时候,自动填充表格
const routers = useRoute();
const isEdit = ref(false);
@@ -641,7 +639,7 @@ export default {
"courseSyncFlag": state.projectInfo.courseSyncFlag? 1:0,
"notice": "",
"noticeFlag": 0,
- "projectTemplateId": store.state.projectTemplateId,
+ "projectTemplateId": localStorage.getItem("projectTemplateId"),
"remark": "",
"status": 0,
diff --git a/vue.config.js b/vue.config.js
index 09870fd2..1c1b80fa 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -8,22 +8,22 @@
*/
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
- publicPath: '/manage',
- // transpileDependencies: true,
- devServer: {
- port: 8080,
- proxy: {
- "/manageApi": {
+ publicPath: "/manage",
+ // transpileDependencies: true,
+ devServer: {
+ port: 8080,
+ proxy: {
+ "/manageApi": {
// target:"http://192.168.19.246:30001",
// target:"http://192.168.100.208:30001",
target: "https://u-pre.boe.com/manageApi/", //这里后台的地址模拟的;应该填写你们真实的后台接口
- changeOrigin: true, //表示是否改变原域名
- // secure: false,
- // ws: false, //表示WebSocket协议
- pathRewrite: {
- "^/manageApi": "",
- },
- },
- },
- },
+ changeOrigin: true, //表示是否改变原域名
+ // secure: false,
+ // ws: false, //表示WebSocket协议
+ pathRewrite: {
+ "^/manageApi": "",
+ },
+ },
+ },
+ },
});