Commit ed5c95b7 authored by TZW's avatar TZW

1215

parent bec6748f
......@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-14 15:00:29
* @Last Modified time: 2022-12-15 09:49:39
*/
import * as React from 'react';
......@@ -868,7 +868,7 @@ function Model(props) {
key: 'productLineName',
align: 'center',
options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop',
path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: {
shopId: '',
},
......@@ -970,7 +970,7 @@ function Model(props) {
key: 'productLineName',
align: 'center',
options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop',
path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: {
shopId: '',
},
......@@ -1231,7 +1231,7 @@ function Model(props) {
key: 'productLineName',
align: 'center',
options: {
path: 'auth/sysProductionLine/getAllProductLineSelectionByShop',
path: '/auth/sysProductionLine/getAllProductLineSelectionByShop',
linkParams: {
shopId: '',
},
......
......@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-09 14:44:44
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-14 09:56:26
* @Last Modified time: 2022-12-15 09:46:05
*/
import * as React from 'react';
......@@ -137,20 +137,20 @@ function Role(props) {
// });
// //console.log(data);
//console.log(row);
setdrawer((s) => ({
setDrawer((s) => ({
...s,
authorityOpen: true,
item: row,
onFinish: async (vals) => {
//console.log(vals);
let res = await doFetch({
url: '/sysEnterprise/save',
url: '/auth/sysPermission/queryAll',
params: { ...vals },
});
//console.log(res);
if (res.code === '0000') {
message.success('修改成功!');
setdrawer((s) => ({
setDrawer((s) => ({
...s,
visible: false,
}));
......@@ -236,6 +236,7 @@ function Role(props) {
valueType: 'option',
width: 150,
render: (text, row, _, action) => [
authority(text, row, _, action),
edit(text, row, _, action),
remove(text, row, _, action),
detailPerson(text, row, _, action),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment